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. Windows service communication`

Windows service communication`

Scheduled Pinned Locked Moved C#
tutorial
7 Posts 6 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.
  • M Offline
    M Offline
    M J Jaya Chitra
    wrote on last edited by
    #1

    Hai everybody, Can u give me a hint how to make two windows service to communicate.

    Best Regards, M. J. Jaya Chitra

    G W K 3 Replies Last reply
    0
    • M M J Jaya Chitra

      Hai everybody, Can u give me a hint how to make two windows service to communicate.

      Best Regards, M. J. Jaya Chitra

      G Offline
      G Offline
      ganti r
      wrote on last edited by
      #2

      Hi Jaya, One way is to use Remoting. You can also use MSMQ. There might be more ways of doing this. The best way needs to be figured out based on your application requirements.

      i Think, i Wait, i Fast
      rAm

      1 Reply Last reply
      0
      • M M J Jaya Chitra

        Hai everybody, Can u give me a hint how to make two windows service to communicate.

        Best Regards, M. J. Jaya Chitra

        W Offline
        W Offline
        WillemM
        wrote on last edited by
        #3

        As ganti pointed out, there are more ways to let the service communicate with eachother. Another option is using a memory pipe to communicate. But I personally think remoting might be a better solution.

        WM. What about weapons of mass-construction? "What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson

        M 1 Reply Last reply
        0
        • W WillemM

          As ganti pointed out, there are more ways to let the service communicate with eachother. Another option is using a memory pipe to communicate. But I personally think remoting might be a better solution.

          WM. What about weapons of mass-construction? "What? Its an Apple MacBook Pro. They are sexy!" - Paul Watson

          M Offline
          M Offline
          M J Jaya Chitra
          wrote on last edited by
          #4

          What do you mean my remoting can you give me a reference site for it.

          Best Regards, M. J. Jaya Chitra

          N P 2 Replies Last reply
          0
          • M M J Jaya Chitra

            What do you mean my remoting can you give me a reference site for it.

            Best Regards, M. J. Jaya Chitra

            N Offline
            N Offline
            Not Active
            wrote on last edited by
            #5

            http://msdn2.microsoft.com/en-us/library/kwdt6w2k(VS.71).aspx[^]


            only two letters away from being an asset

            1 Reply Last reply
            0
            • M M J Jaya Chitra

              What do you mean my remoting can you give me a reference site for it.

              Best Regards, M. J. Jaya Chitra

              P Offline
              P Offline
              PavanPareta
              wrote on last edited by
              #6

              Yes. you have to define URL with IP Address in Remoting.

              Pavan Pareta

              1 Reply Last reply
              0
              • M M J Jaya Chitra

                Hai everybody, Can u give me a hint how to make two windows service to communicate.

                Best Regards, M. J. Jaya Chitra

                K Offline
                K Offline
                kubben
                wrote on last edited by
                #7

                We use MSMQ. That way the second windows service can just wait till the first Windows service puts something on the queue before it tries to do anything. Ben

                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