01 2009 档案

摘要:无聊时候写了一个 下图是没有存储viewstate到数据库时 下图是存储到数据库时候,大家可以比较一下性能。 至于页面大小也就不说了,大家都知道如果用一些诸如gridview控件的时候viewstate会相当大的。 web.config里面有两个键值,可以设置来决定是否要存储到数据库或者压缩。 压缩方面还是用的SharpZipLib,一开始用里面的BZip,但是解压用Compres... 阅读全文
posted @ 2009-01-07 15:22 helloworld22 阅读(832) 评论(3) 推荐(0)
摘要:When a request enter the pipeline, it's handled by an instance of the HttpApplication class. One of the first things HttpApplication does is create an instance of HttpContext and populate it. This con... 阅读全文
posted @ 2009-01-05 14:16 helloworld22 阅读(213) 评论(0) 推荐(0)