string handlerUrl = String.Format(Request.Url.Scheme+"://" +Request.Url.Authority+"{0}","/Handler.ashx");
string response = (new WebClient()).DownloadString(handlerUrl);
https://stackoverflow.com/questions/11535754/how-to-call-httphandler-from-cs-file-asp-net
No comments:
Post a Comment