Hi,
I want to start my ASP.Net Web service whenever IIS starts and want to keep it running. I don't want to manually start my Web service. How can I achieve this?
Not about Windows service please.
Any ideas please.
Thanks
Sreenath
Hi,
I want to start my ASP.Net Web service whenever IIS starts and want to keep it running. I don't want to manually start my Web service. How can I achieve this?
Not about Windows service please.
Any ideas please.
Thanks
Sreenath
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Posted May 19, 2011, 1:27 AM EDT
Windows Service
Microsoft Windows services, formerly known as NT services, enable you to create long-running executable applications that run in their own Windows sessions. These services can be automatically started when the computer boots, can be paused and restarted, and do not show any user interface. These features make services ideal for use on a server or whenever you need long-running functionality that does not interfere with other users who are working on the same computer. You can also run services in the security context of a specific user account that is different from the logged-on user or the default computer account.
http://msdn.microsoft.com/en-us/library/d56de412%28v=vs.80%29.aspx
http://www.codeproject.com/KB/dotnet/simplewindowsservice.aspx
Hope this helps you.
Sreenath GRank #8,268 · 225 reputationPosted May 19, 2011, 1:37 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted May 19, 2011, 1:48 AM EDT
Web services are components on a Web server that a client application can call by making HTTP requests across the Web.
Yes, you need to call the methods programatically from other programs (projects), and also you can schedule those projects. So your web service will get run through schedule task.
You need to be more specific when asking question. Members like me sometimes get confused and will not post a reply.