您好我已经坚持使用C#关闭了底层连接的问题。我配置了我的webconfig超时但只是我不知道我犯了什么错误。我发布了我的webconfig文件。请纠正我的错误。值来自列表的db上下文实体。
** Web配置:**
<basicHttpBinding>
<binding name="BasicHttpBinding_ICommonGateway" closeTimeout="00:40:00"
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:40:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647"
maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>