Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,


I am trying implemnt thread concept in my application. because iam using webservices to access methods from different applications.so its take a long time to call all the methods one by one.here i am using multiple methods example like as follows


for(i=0;i<=n;i++)
{
sampleclass cls=new sampleclass();
cls.method1();
cls.method2();
cls.method3();
cls.method4();
cls.method5();

}

here i have release all the methods simantaneously here and recollect after 30 sec.could any one in that and please give an example.



Regards,
naveen
Posted

1 solution

Have a look at: The Magic of using Asynchronous Methods in ASP.NET 4.5 plus an important gotcha[^] by Scott Hanselman.

Best regards
Espen Harlinn
 
Share this answer
 

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