How to implement Self-host WCF data serivces (http://localhost:1234/myDataService.svc/...)

Posted by warmcold on Stack Overflow See other posts from Stack Overflow or by warmcold
Published on 2010-06-15T04:40:17Z Indexed on 2010/06/15 4:42 UTC
Read the original article Hit count: 250

Filed under:
|
|
|
|

I have a project that needs to implement WCF data services (OData) to retrieve data from a control system (.NET Framework Application). The WCF data service needs to be hosted by the .NET application (No ASP.NET and NO IIS).

I have seen many WCF Data Service examples recently; they are all hosted by ASP.NET application. I also see the self-host (console application) examples, but it is for WCF Service (not WCF Data Service).

Here is my question: It is possible to have a standalone .NET Applications to host WCF Data Services ((http://localhost:1234/mydataservice.svc/...). If yes, can someone provide an example?

Thanks.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about data