【发布时间】:2011-06-16 07:23:35
【问题描述】:
我已经创建了一个这样的 EndpointAddress
EndpointAddress address = new EndpointAddress("http://example.com/services/OrderService.svc");
但我无法以编程方式将行为添加到此端点。
行为如下:
<behaviors>
<endpointBehaviors>
<behavior name="NewBehavior">
<dataContractSerializer maxItemsInObjectGraph="6553600" />
</behavior>
</endpointBehaviors>
</behaviors>
【问题讨论】:
标签: c# .net wcf wcf-configuration wcf-endpoint