深入探索WCF:交互、集成与安全实践
1. 配置与访问oData服务
首先,我们需要进行必要的配置。以下是相关的配置代码:
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" />
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="tr
超级会员免费看
订阅专栏 解锁全文

被折叠的 条评论
为什么被折叠?



