Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Implement web service using Asynchronous Programming with Delegate.I wrote one web services. It takes time to run 8 seconds.i need to run 2 or 3 sec.How is it Possible.In that web method i am calling 3 methods also.

I need to Implement very fast and effectively.Implement web service using Asynchronous Programming.Is there any way to reduce time.
Implement web service using Asynchronous Programming with Delegate.I wrote one web services. It takes time to run 8 seconds.i need to run 2 or 3 sec.How is it Possible.In that web method i am calling 3 methods also.


CODE:

[WebMethod]
public XmlDocument Getrate(string Month, string Year, string type)
{
XmlDocument xml=new XmlDocument();
Getrate(Month);
Gettype(type);
return XMl;
}
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900