摘要: 1.如果你想要学习.NET反射技术,园子里写的最好的入门文章是JimmyZhang的系列:http://www.cnblogs.com/Jax/archive/2009/10/16/1584527.html2.形象解释反射以及常用的反射技术http://blog.csdn.net/educast/archive/2008/09/07/2894892.aspx3.C#强化系列文章五:动态代码的使用(... 阅读全文
posted @ 2009-11-11 21:34 wispzone 阅读(223) 评论(1) 推荐(0) 编辑
摘要: appSettings的两大限制:1.不能很好的存储结构化的数据2.处理不同类型的数据灵活性较差比如你要在配置文件中存储如下信息是不行的:<orderService available="true" pollTimeout="00:01:00" location="tcp://OrderComputer:8010/OrderService"/> 为了突破这些限制,你可以这样扩展配置文件... 阅读全文
posted @ 2009-10-30 14:58 wispzone 阅读(376) 评论(3) 推荐(0) 编辑
摘要: public static string CreateMachineKey(int length){ // Create a byte array. byte[] random = new byte[length/2]; // Create a cryptographically strong random number generator. RNGCryptoServiceProvider rn... 阅读全文
posted @ 2009-10-30 13:13 wispzone 阅读(145) 评论(0) 推荐(0) 编辑
摘要: protected void Page_Load(object sender, System.EventArgs e){ // Perform the initialization only the first time the page is requested. // After that, this information is tracked in view state. if (!Pa... 阅读全文
posted @ 2009-10-30 10:19 wispzone 阅读(681) 评论(0) 推荐(0) 编辑
摘要: The Response object is an instance of the System.Web.HttpResponse class, and it represents the web server’s response to a client request. In classic ASP, the Response object was the only way to ... 阅读全文
posted @ 2009-10-29 16:38 wispzone 阅读(203) 评论(0) 推荐(0) 编辑