How do I design a .NET (C#) for a program that needs to run as a Windows service but also have a web

Posted by hjoelr on Stack Overflow See other posts from Stack Overflow or by hjoelr
Published on 2010-03-18T23:59:29Z Indexed on 2010/03/19 0:01 UTC
Read the original article Hit count: 232

Filed under:
|
|
|

I am designing a piece of software that needs to operate different pieces of hardware based mainly on a schedule but it also needs to have a web interface for configuring settings, configuring the schedule, and possibly even manually controlling the hardware. I'm not sure how to design the architecture of software like this.

One thought that I have had was to create a Windows service that does the communication with the hardware as well as "publishing" web services through WCF and then having an ASP.NET application that then controls the Windows service through WCF. This approach seems to be a lot of work for what I'm trying to accomplish.

Could someone please give me some direction whether or not this is a good approach, and even give me a better way to do it if one exists?

Thanks! Joel

© Stack Overflow or respective owner

Related posts about windows-services

Related posts about wcf