标签: .net configuration
是否可以通过web.config覆盖WebClientProtocol.Timeout属性的默认值?
<httpRuntime executionTimeout="500" /> <!-- this doesn't help -->
答案 0 :(得分:2)
我想不出通过webconfig自动更改Timeout属性的方法。
手动配置值或使用DI为您读取值。
也可以在机器配置上全局更改值。