Reputation: 1345
We need to embed an HTTP Web Server in a C# 4.0 application and were wondering if WCF is a suitable technology for this purpose?
Upvotes: 0
Views: 533
Reputation: 9494
There are some good suggestions for a .NET embedded web server here:
To answer your question, WCF can be setup as a web server, and there are examples out there of people doing it. WCF can listen for HTTP requests on port 80, and you can support REST using the WCF REST Starter Kit. However, you are sacrificing some of the capabilities of a more full-featured web server such as redundancy and fault tolerance.
When you say that this is "embedded" web server, in what context will this run?
Upvotes: 1