摘要: ASP.NET2.0配置,详解如下: 1.ASP.NET IIS映射(IIS->默认网站->属性->主文档->配置->映射->添加): 扩展名.do ----> C:"WINDOWS"Microsoft.NET"Framework"v2.0.50727"aspnet_isapi.dll 限于:GET,HEAD,POST,DEBUG 2.修改web.conf... 阅读全文
posted @ 2009-09-17 20:57 空紫竹 阅读(247) 评论(0) 推荐(0) 编辑
摘要: Uri uri = new Uri("网址"); WebRequest req = WebRequest.Create(uri); WebResponse resp = req.GetResponse(); Stream str = resp.GetResponseStream(); StreamReader sr = new StreamReader(str,System.Text.En... 阅读全文
posted @ 2009-09-17 20:44 空紫竹 阅读(232) 评论(0) 推荐(0) 编辑