WCF 接收、发送数据的大小及时间的设置

时间:2023-12-15 11:48:44
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_IPublicFontForMongodbService" maxBufferPoolSize="" receiveTimeout="00:10:00" openTimeout="00:10:00" sendTimeout="00:10:00" closeTimeout="00:10:00" maxReceivedMessageSize="" maxBufferSize=""/>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:8733/MongodbService.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IPublicFontForMongodbService"
contract="PublicFontForMongodbService.IPublicFontForMongodbService"
name="BasicHttpBinding_IPublicFontForMongodbService" />
</client>
</system.serviceModel>