Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
4.33/5 (2 votes)
how to run a web service continuously at a regular interval of time without using windows service technique.
Posted

1 solution

You can write an application in C# which calls the service at a given interval and do whatever you want to do with the data.
Run the application once it is created. It will keep calling the service in the specified interval as long as the application is not closed.
 
Share this answer
 
Comments
Abhisar Garg 17-Jan-14 4:24am    
I tried that... but it is running for the first time only... next time it does not pass the data or dont know whether is been calling it again...
Ankur\m/ 17-Jan-14 4:27am    
How are you doing it? Are you using a timer to call it again after a specified time? Reduce the time and then put a debugger to see what's wrong.

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