How to host WCF Data Service (OData) in IIS7?

前端 未结 2 1079
猫巷女王i
猫巷女王i 2021-01-20 16:10

Does anyone know how to host a WCF Data Service (or OData) inside IIS7? I\'m seeing lots of articles about hosting WCF, but none specific to WCF Data Service.

Thank

2条回答
  •  心在旅途
    2021-01-20 16:39

    Hosting a WCF Data Service in IIS is actually the default option.

    Its a pretty easy 3 step process:

    1. Create a new WebApplication project (or re-use an existing one)
    2. Add a WCF Data Service to the project
    3. Deploy to your IIS server

    Step 3 is just the standard process for deploying a WebApplication to IIS.

提交回复
热议问题