Disable proxy for entire application?

后端 未结 2 1099
梦如初夏
梦如初夏 2021-01-07 09:41

Ever since upgrading to Visual Studio 2010, I\'m running into an issue where the first web request of any type (WebRequest, WebClient, etc.) hangs for about 20 seconds befor

2条回答
  •  不思量自难忘°
    2021-01-07 10:23

    Brent - that's the correct solution : adding a defaultProxy element to your application's configuration file.

    So for a website, it's the web.config. For an .exe application, it's .config.

    And those settings are also correct :-

    
    
        
            
                
                
                
            
        
    
    

提交回复
热议问题