Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how to create multiple instance of windows service .Net

how to create multiple instance of windows service .Net

Scheduled Pinned Locked Moved C#
csharpsysadmintutorialworkspace
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sundar156
    wrote on last edited by
    #1

    how to create multiple instance of a windows service in the same server.I have to run 5 instance of a single windows service in the same server .Environment is .Net and c#

    people laugh at me because they say im different and I laugh at them because they are all the same.

    L 1 Reply Last reply
    0
    • S sundar156

      how to create multiple instance of a windows service in the same server.I have to run 5 instance of a single windows service in the same server .Environment is .Net and c#

      people laugh at me because they say im different and I laugh at them because they are all the same.

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      I am not sure this is possible. Cant you organize a single service in such a way that it can serve multiple clients at once ? Can you explain a bit what functionality you want to achieve ? This is likely to yield more and better answers... :)

      Luc Pattyn

      P S 2 Replies Last reply
      0
      • L Luc Pattyn

        I am not sure this is possible. Cant you organize a single service in such a way that it can serve multiple clients at once ? Can you explain a bit what functionality you want to achieve ? This is likely to yield more and better answers... :)

        Luc Pattyn

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        Right. Other than that they each need a unique name. It can be done, but there is likely a better way.

        1 Reply Last reply
        0
        • L Luc Pattyn

          I am not sure this is possible. Cant you organize a single service in such a way that it can serve multiple clients at once ? Can you explain a bit what functionality you want to achieve ? This is likely to yield more and better answers... :)

          Luc Pattyn

          S Offline
          S Offline
          sundar156
          wrote on last edited by
          #4

          i got the answer.The situation is like we have to monitor multiple server from the single service for perfomance reasons we are using a single service .

          people laugh at me because they say im different and I laugh at them because they are all the same.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups