Last post Feb 25, 2014 05:56 AM by rstrahl
Feb 24, 2014 08:27 AM|Nila123|LINK
I have 2 projects and both are hosted seperatly. HttpHandler in the Project 1 say HLDR1 and in the Project 2 say HLRD2.How can I call HLRD2 from ProcessRequest() method of HLRD1.
Thanks in Advance
Feb 25, 2014 05:56 AM|rstrahl|LINK
Not sure what you mean exactly, but if they are hosted seperately (ie. not in the same application) the only way that you can 'call' another handler is by issuing an HTTP request and capturing the Http output...
You can use HttpClient, WebClient or HttpWebRequest to make the Http call from within your original handler.
+++ Rick ---