Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mini Web Server for .NET [closed]

I wrote a VB.NET windows service and I'd like to know if there is some library or something that will provide me with a very simple mini web server. If my service is running, I'd just like to be able to type, in my browser:

http://localhost:1234

And have a status page popup. It will only be one single page and very simple html. Anyone know an easy way to do this before I attempt it on my own and over-engineer? lol

like image 452
Icemanind Avatar asked May 12 '09 21:05

Icemanind


1 Answers

Look into the System.Net.HttpListener class. You can specify what port to listen to, and it's up and running pretty quickly.

like image 188
jean Avatar answered Sep 25 '22 11:09

jean