Windows Service Communications RRS feed

  • Question

  • Hi,Guys:
      I want to build one windows service which needs to communicate with my Apps,The service and The Apps are running on one machine.which way shold i select for communications,the WM_COPYDATA or Socket or other prop ways? Please give me some  suggestions,Some Examples will be very appreciated,Thank you!
    Wednesday, September 11, 2013 7:34 AM


  • Hi GreatWallBeiJing,

    If you are using .Net I would say WCF.
    In your case you can use NamedPipe.

    There are otherways are also available like SharedMemory(Memory Mapped files),sockets,etc

    • Proposed as answer by May Wang - MSFT Wednesday, September 11, 2013 9:48 AM
    • Marked as answer by May Wang - MSFT Wednesday, September 18, 2013 12:58 AM
    Wednesday, September 11, 2013 8:40 AM