By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,836 Members | 2,011 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,836 IT Pros & Developers. It's quick & easy.

Developing multiple instance Windows Service

P: n/a
Has anyone got any links to sites, articles etc or can help with how to
write a Windows service that supports multiple instances in the way that MS
SQL does?

(I have an existing service and just need to make it support multiple
instances)

TIA
Nov 22 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi Nigel,

You might use your service to spawn mutliple threads that will serve clients
requests.

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com

"Nigel" <NO************@hotmail.SPAMFREE.COM> wrote in message
news:eH**************@TK2MSFTNGP12.phx.gbl...
Has anyone got any links to sites, articles etc or can help with how to
write a Windows service that supports multiple instances in the way that MS SQL does?

(I have an existing service and just need to make it support multiple
instances)

TIA

Nov 22 '05 #2

P: n/a
Thanks for your reply - however....

.... it really needs to be totally autonomous in the way of stop/start etc as
its going to be used as a subscription service for a hosting application.
FYI the back end is a IIS/SQL server and it already has threads for handling
operations - so I'm not not trying to avoid threading ;-)

"Miha Markic" <miha at rthand com> wrote in message
news:O$**************@TK2MSFTNGP10.phx.gbl...
Hi Nigel,

You might use your service to spawn mutliple threads that will serve clients requests.

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com

"Nigel" <NO************@hotmail.SPAMFREE.COM> wrote in message
news:eH**************@TK2MSFTNGP12.phx.gbl...
Has anyone got any links to sites, articles etc or can help with how to
write a Windows service that supports multiple instances in the way that

MS
SQL does?

(I have an existing service and just need to make it support multiple
instances)

TIA


Nov 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.