tags:

views:

65

answers:

3

Similar to WCF SelfHosting.

is there to create a website that is "self-hosted" within a console app or dll?

probably the wrong way to ask this question, but what i'd like to do is use this website to spit out results that are web pages, without creating the website within IIS.

thanks

A: 

You can try Ultidev Cassini: http://ultidev.com/products/cassini/

Andreas Paulsson
A: 

If you have visual studio, here is an article I read a while back on how to basically snatch the VS built-in web server and use it for your own purposes:

http://www.codeproject.com/KB/aspnet/LightIIS.aspx

Mike Cheel
+2  A: 

A very basic HTTP server is implemented by the HttpListener Class in the .NET Framework.

If you need something more powerful, have a look at Microsoft Cassini, a simple HTTP server written in C# licensed under Ms-PL. It's basically a demo how to host the ASP.NET runtime.

dtb
Thanks! i'll have a look at this.
Beta033