<system.serviceModel>
<extensions>
<behaviorExtensions>
<add name="WSDLFlatteningExtension" type="Thinktecture.ServiceModel.Extensions.Description,Thinktecture.ServiceModel.Extensions.Description,Version=1.0.0.0,Culture=Neutral,PublicKeyToken=f0de9a190a6d23d1"/>
</behaviorExtensions>
</extensions>
<behaviors>
<endpointBehaviors>
<behavior name="WSDLFlatteningBehavior">
<WSDLFlatteningExtension />
</behavior>
</endpointBehaviors>
</behaviors>
</system.serviceModel>
<WSDLFlatteningExtension />
上面的行無法在我的web.config中識別。在運行時引發錯誤。我已經將C:\ windows \ Assembly中的dll和C:\ Program Files \ Microsoft Visual Studio 9.0 \ Common7 \ IDE中的dll刪除了,但似乎沒有任何工作。無法將WCF行爲擴展添加到端點行爲
它會拋出什麼確切的錯誤? – archil 2011-03-31 20:01:32