By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,418 Members | 1,439 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,418 IT Pros & Developers. It's quick & easy.

Embedded HTTP Server?

P: n/a
Does the .NET framework provide any type of HTTP server class that I can
embed in my application?

Thanks!
Jul 14 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Jon Berry wrote:
Does the .NET framework provide any type of HTTP server class that I can
embed in my application?
More or less, in the form of HttpListener, which leverages the Windows
kernel-mode drive for HTTP (introduced with Windows 2003 and also supported
on Windows XP SP2).

HttpListener is rather low-level. If you want to offer service endpoints to
clients (or you can package your services as such), using WCF's ServiceHost
is much more convenient.

--
J.
Jul 14 '08 #2

P: n/a
"Jon Berry" <no***@jose.blahwrote in message
news:eN**************@TK2MSFTNGP04.phx.gbl...
Does the .NET framework provide any type of HTTP server class that I can
embed in my application?
Not the framework itself, but if you search for "Cassini" you will find a
server that is very similar to the one that Visual Studio starts internally
when you run a web project on the file system. Free download from Microsoft,
source code included (if I remember correctly).
http://www.asp.net/downloads/archived/cassini/
http://msdn.microsoft.com/en-us/magazine/cc188791.aspx

Jul 14 '08 #3

P: n/a
Jon Berry wrote:
Does the .NET framework provide any type of HTTP server class that I can
embed in my application?
I don't think the .NET framework has a HTTP server class but Cassini,
http://www.asp.net/downloads/archived/cassini/, is a small web server
implementation.
--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Jul 14 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.