这可是广大MS程序员的福音呀。只是还有好多还没有翻译过来。。期待中!贺MSDN中文站开通测试!

http://www.microsoft.com/china/msdn/countdown.htm

在System.Net中为 WebRequest 使用 HTTP代理:

   if(bool.Parse(CommonClass.GetConfigItem("QueryKeywordUseProxy")))
   {
    System.Net.WebProxy proxy =  new System.Net.WebProxy(CommonClass.GetConfigItem("AddressProxy"),true,null,null);
    System.Net.GlobalProxySelection.Select = proxy;
   }

 <WuyinHostingSettings>
  <add key="QueryKeywordUseProxy" value="true" />
  <add key="AddressProxy" value="http://localhost:8080" />
 </WuyinHostingSettings>

因为我的服务器没有开80端口,而是使用ISA Server 2000 的8080端口作为代理,所以顺便用了这个。:)

顺便请大家检查http://vhost.5inet.net/ 错误。贺MSDN中文站开通测试!

相关文章:

  • 2021-09-04
  • 2022-12-23
  • 2021-08-04
  • 2021-09-30
  • 2021-06-26
  • 2021-11-26
  • 2021-06-25
  • 2021-12-06
猜你喜欢
  • 2022-12-23
  • 2022-01-29
  • 2022-02-21
  • 2021-10-21
  • 2022-02-23
  • 2021-09-16
  • 2021-08-10
相关资源
相似解决方案