CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Location
    Harrisburg, PA
    Posts
    23

    Best way to talk to .NET service application with .NET

    Using .NET 3.5:
    I plan to build a .NET windows service application that will serve as a task scheduler that launches .NET assemblies. (yes there is a reason I am not using windows task scheduler for this).

    I also want to create a .NET GUI that will allow a user to manage the service. I need to have more control/flexibility than the System.ServiceProcess.ServiceController provides.

    For Example if my service has a method MakeANoise(param1, param2) I want to be able to invoke this from my GUI application.

    Both applications will be running on the same machine.

    My first thoughts were to use System.Net.Sockets and communicate to the service over TCP/IP, but I'm wandering if there are other better solutions for what I want to do. Would WCF be a good solution for this?

  2. #2
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Best way to talk to .NET service application with .NET

    I would definitely use WCF. It allows you to simply connect another client than your GUI, maybe from different platform.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured