Seth Archer Brown
Seth Archer Brown

Reputation: 1191

Build a simple web server that I can run as a windows service

I'm a web developer so all my experience is with ruby, python, or PHP. However, I'm gonna do a little windows programming.

I want to build a light weight web server that can handle incoming requests and pass them on to a COM port. I want to be able to distribute it as an exe that will install the server as a windows service.

What do you think would be the best language to do this in? What IDE would be best for said language?

Thanks, Seth

Upvotes: 3

Views: 1464

Answers (3)

Kris van der Mast
Kris van der Mast

Reputation: 16613

Please take a look at the source code of Cassini. It's actually the built in server over Visual Studio. It might give you some good ideas to get started with: Link.

Grz, Kris.

Upvotes: 1

Brian Agnew
Brian Agnew

Reputation: 272257

C# and Visual Studio should be fine for this. C# can be compiled/linked into a .exe, and you can make this into a service very simply.

Upvotes: 2

ChaosPandion
ChaosPandion

Reputation: 78262

To be honest you will probably have the most fun doing this in C#. The learning curve will be smaller and the language and most of its features are your friend. The fact that you can set up a windows service in 2 minutes is also a plus.

Upvotes: 4

Related Questions