Hello,
I am trying to asynchronously execute a web service from my ASP.NET web application. This particular web service (.asmx) belongs to the same project as my web application. I have noticed that when I reference the web service from another web application, I can call the web service asynchronously using the following code:
TestService service = new TestService();
service.TestMethod();
However, if I reference the web service via a separate web application, I notice that I have the option to execute it asynchronously using the following code:
ServiceProxy.TestService service = new ServiceProxy.TestService();
service.TestMethodAsync();
The trick is, I want to asynchronously execute the web service from a web page that is in the same application as my web service. Is this possible? If so, how?
Is it possible to do this without putting my web service in a separate project?
Thank you,