I am looking for any insight or prior experiences with creating multiple
windows services within one process. The static main for the process
would be something like:
ServicesToRun = new ServiceBase[] {new Service1(), new Service2(), new
Service3(), ..., new Service20()};
System.ServiceProcess.ServiceBase.Run(ServicesToRun);
The installer class will create 1 ProcessInstaller and 20 ServiceInstaller
instances with matching service names for the above example.
Are there any issues relating to the number of services installed within a
single process as the number climbs to say 20, 30 or 40 (besides seeing 40
additional services listed in the SCM :-)? Are there any other drawbacks
to this approach besides the fact that an unexpected termination of the
windows process causes all services to no longer be running? I have done
preliminary testing and have found no issues yet.
Chad
===================================
This list is hosted by DevelopMentor� http://www.develop.com
Some .NET courses you may be interested in:
NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls
View archives and manage your subscription(s) at http://discuss.develop.com