-
May 4th, 2010, 09:25 PM
#1
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?
-
May 5th, 2010, 01:47 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|