G
Girish
Im looking for information on how to build a windows service (not web
service) on a .net enabled platform.
Now, ive had some experience building services using vc++ 6.0 - and I can
tell you its not straightforward. Now, I tried to examine the code that was
auto generated when you create a new windows service project in vs.net 2003
(C#). I could not see any code for
1) Installing, uninstalling services. How can this be done in the .net way?
2) Messages that need to be passed to the Service Control Manager at regular
intervals eg SERVICE_STOP_PENDING, SERVICE_RUNNING, etc. What happened to
those messages? Dont they need to be passed to the SCM anymore?
Id like to know the gutts of how windows services are implemented in the
..net way so I can relate them to my experience with building them in vc++
6.0. Any articles or code samples for this?
Any help would be greatly appreciated.
Thanks,
Girish
service) on a .net enabled platform.
Now, ive had some experience building services using vc++ 6.0 - and I can
tell you its not straightforward. Now, I tried to examine the code that was
auto generated when you create a new windows service project in vs.net 2003
(C#). I could not see any code for
1) Installing, uninstalling services. How can this be done in the .net way?
2) Messages that need to be passed to the Service Control Manager at regular
intervals eg SERVICE_STOP_PENDING, SERVICE_RUNNING, etc. What happened to
those messages? Dont they need to be passed to the SCM anymore?
Id like to know the gutts of how windows services are implemented in the
..net way so I can relate them to my experience with building them in vc++
6.0. Any articles or code samples for this?
Any help would be greatly appreciated.
Thanks,
Girish