473,586 Members | 2,566 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Developing multiple instance Windows Service

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
2 2089
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.SPAMFR EE.COM> wrote in message
news:eH******** ******@TK2MSFTN GP12.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
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$******** ******@TK2MSFTN GP10.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.SPAMFR EE.COM> wrote in message
news:eH******** ******@TK2MSFTN GP12.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
412
by: Nigel | last post by:
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
2
3574
by: paul | last post by:
I have developed an application for pocket pc that requires multiple forms to be open at any one time. The user is able to flick from one to the other, making changes to each as and when necessary The application uses a stacking system to hold instances of the forms, and an array to hold "previous navigation" information (information on this...
3
2595
by: MW | last post by:
Hi all, I have written a windows service application and setup project to install/deinstall my service. There is a requirement to run one more instance of the same service with different set of configurations and connecting to a different database. Both the services will run on the same box. Is it possible to do that? Someone suggested...
1
5979
by: Vlad | last post by:
Is there any way to install multiple instances of the same windows service designed with VS.NET 2003? I tried copying the binaries into a separate folder and then copying registry entries for the original service under a new name but the SCM complains that the executable does not have this service implemented. Please note that I need to have...
0
1369
by: Ricardo | last post by:
Hi. I've built a windows service and I need to make an installation program that creates multiple instances of this service. Being more specific, what I need is to run the installation, ask the instance name and create a new entry on the services list and Add/Remove Programs so that I can uninstall each instance separately, start and stop each...
6
4974
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing for long running reports. When the processing is complete it uses crystal reports to load a template file, populate it, and then export it to a...
10
4967
by: John | last post by:
I currently have a Windows Service that runs Transactions that are very Processor/Memory Intensive. I have a requirement to deploy multiple instances of the Web service on the Same server. Each Instance needs to run in its own process. My current approach to this is to put all the logic into a separate "Worker" assembly and install it into...
6
3977
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public string UID; public string PWD; }
1
1563
balabaster
by: balabaster | last post by:
Hi, I'm trying to figure out how to install multiple instances of a Windows Service on a single machine using the deployment Setup Project. We have a Windows Service that's configurable through the app.config file so that the service can be configured to do different things when it's fired up. We have a number of different configurations that...
1
2215
by: mikelujan | last post by:
Hi, Our application starts an external application using System.Diagnostics.Process class and the Start() method, as per code snippet below. This application run as a Windows service, and must start several instances of the same application, like multiple Windows Calculators for instance. We are experiencing difficulties starting...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8202
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3837
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.