欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

wcf configuration

程序员文章站 2022-03-06 21:07:01

<system.servicemodel>
<bindings>
<basichttpbinding>
<binding name="basichttpbinding_igetdatatable" messageencoding="text" maxreceivedmessagesize="2147483647" />
</basichttpbinding>
</bindings>
<client>
<endpoint address="http://localhost:5793/getdatatable.svc" binding="basichttpbinding"
bindingconfiguration="basichttpbinding_igetdatatable" contract="serverdatatableservice.igetdatatable"
name="basichttpbinding_igetdatatable" />
</client>
</system.servicemodel>