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?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are some good suggestions for a .NET embedded web server here:
Embedded Web Server in .NET
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?