2007年4月3日
摘要: 1.default 关键字 class TestDefault { public T foo() { return default(T); } }之所以会用到default关键字,是因为需要在不知道类型参数为值类型还是引用类型的情况下,为对象实例赋初值。2.用辅助对象代替约束 System.Action(Of T... 阅读全文
posted @ 2007-04-03 10:53 随风 阅读(329) 评论(0) 推荐(0) 编辑
  2007年3月20日
摘要: 原文:http://aspnet.4guysfromrolla.com/articles/031407-1.aspxAn Overview of Health MonitoringThe ASP.NET 2.0 Health Monitoring system is designed to monitor the health of a running ASP.NET application in... 阅读全文
posted @ 2007-03-20 13:00 随风 阅读(783) 评论(0) 推荐(0) 编辑
  2007年3月2日
摘要: 文章来源:http://www.ibm.com/developerworks/cn/web/wa-lo-webcompress/index.html#major2 利用压缩网页来提升网站浏览速度 ... 阅读全文
posted @ 2007-03-02 11:45 随风 阅读(546) 评论(0) 推荐(0) 编辑
  2007年2月28日
摘要: 保存:string secretData = "secret";DateTime dt = DateTime.Now;FormsAuthenticationTicket newTicket = new FormsAuthenticationTicket(1, "ticketName", dt, dt.AddDays(7), true, secretData); HttpCookie ... 阅读全文
posted @ 2007-02-28 16:50 随风 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.microsoft.com/china/msdn/library/webservices/asp.net/TraceMonitor.mspx?mfr=true show toc 欢迎来到 MSDN > Web/服务 MyTracer 监视... 阅读全文
posted @ 2007-02-28 11:01 随风 阅读(691) 评论(0) 推荐(0) 编辑