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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Suthish NairPosted May 19, 2011, 5:48 AM
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.
Sreenath GPosted May 19, 2011, 5:37 AM
Posted May 19, 2011, 5:27 AM
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.