摘要: 细说ASP.NET Windows身份认证阅读目录开始认识ASP.NET Windows身份认证访问 Active Directory在ASP.NET中访问Active Directory使用Active Directory验证用户身份安全上下文与用户模拟在IIS中配置Windows身份认证关于浏览器的登录对话框问题在客户端代码中访问Windows身份认证的页面上篇博客我谈到了一些关于ASP.NET Forms身份认证方面的话题,这次的博客将主要介绍ASP.NET Windows身份认证。Forms身份认证虽然使用广泛,不过,如果是在 Windows Active Directory 的环境中 阅读全文
posted @ 2012-06-16 15:03 威少 阅读(341) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Text;using System.Threading.Tasks;using System.IO;namespaceWeather{classProgram {staticvoid Main(string[] args) {StringBuilder soap = newStringBuilder(); soap.Append("<?xml version=\"1.0\" 阅读全文
posted @ 2012-06-11 17:08 威少 阅读(789) 评论(1) 推荐(0) 编辑
摘要: 首先我找到了一个比较好用的查询IP地址归属地的公用的WebService,http://webservice.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx。 该WebService的说明如下:getCountryCityByIp通过输入IP地址查询国家、城市、所有者等信息。没有注明国家的为中国输入参数:IP地址(自动替换 " 。" 为 "."),返回数据: 一个一维字符串数组String(1),String(0) = IP地址;String(1) = 查询结果或提示信息getGeoIPC 阅读全文
posted @ 2012-06-08 16:20 威少 阅读(806) 评论(0) 推荐(0) 编辑