Google-Apps
Hauptmenü

Post a Comment On: the urban canuk, eh

"Running Multiple .NET Services within a Single Process"

4 Comments -

1 – 4 of 4
Anonymous Anonymous said...

Services should be independent. For something like this it's more appropriate to create a service that creates worker threads to do the work of the "sub" processes.

5:42 PM

Blogger Shrini said...

Thanks for the clariffication. I was breaking my head why only one instance of the service is starting even though both services were starting even though both were installed.

This worked out nicely and I was able to capture the service specifics from external file during installation.

Shrini Viswanathan

10:44 AM

Blogger Jean-marc Lai said...

sometimes from a design perspective, having multiple services is preferable to a multi-threaded app. its less coupled and a lot more less complicated.

6:03 PM

Blogger aMoL said...

This is good solution, previously I tried with this :
1. Created individual ProjectInstaller.cs file for each services
2. Used ProjectInstaller.cs's AddRange method to add ProjectInstaller's instance
But above tactic failed to start both services.

9:15 AM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.
Please prove you're not a robot