Need direction with Client/Server architecture

So I've created a library that allows you to connect to multiple remote PCs and control their services using WMI.

The library works fine and everything, but so far I've only been consuming it via a console application.

The next step I need to do is to host an ASP site that can somehow send commands to the library such as "get all servers" which I can then display on a webpage with a list of the services underneath each. Then another command would be "start Service X" etc.

What would be the best approach to go about doing this? I've looked briefly into making a server and use Sockets to relay the information back and forth. I'm not sure that this is the simplest solution though as I think it will add a lot of complexity to the task!

Any advice on an approach would be much appreciated!

Cheers

by ForCritsAndGiggles via /r/csharp

Leave a Reply