摘要: 1.Page request  The page request occurs before the page life cycle begins. when the page is requested by a user, Asp.net determines whether the page need to be parsed and compiled, or whether a cached... 阅读全文
posted @ 2010-02-02 10:43 C.fly 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Although this function is very sample , but l still always forget it . So l record it here.Ever wish that you didn't have to type out the same thing over and over again? Well you can save time by usin... 阅读全文
posted @ 2010-01-21 16:04 C.fly 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 前段时间对我们的系统进行Performance Tuning。做了一些item来解决前台的一些性能问题。(我们的系统前台用的技术是Asp.net 后台用的是Java。中间通过WebService进行交互。)一. Cache js ,Css ,ico 1.在iis manager 设置 js,css,ico 的expiration header 设置为'Never expired'. 2.在调用j... 阅读全文
posted @ 2010-01-21 15:45 C.fly 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 最近在网上流传着这样一封信,据说是一位香港电台主持人写给儿子的信,其中饱含着人生哲理,对传统观念是一个极大的挑战,值得我们一读。其主要内容如下: 一.对你不好的人,你不要太介怀,在你的一生中,没有人有义务要对你好,除了我和你妈妈。至于那些对你好的人,你除了要珍惜、感恩外,也请你多防备一点。因为,每个人做每件事,总有一个原因,他对你好,未必真的是因为喜欢你,请你必须搞清楚,而不必太快将对方看作真朋友... 阅读全文
posted @ 2010-01-21 10:52 C.fly 阅读(2146) 评论(10) 推荐(16) 编辑
摘要: Theserverside cotrolwhich in updatepanel when do the postback to change the textbox value which not inthe updatepanel in C#, the value value will not fill to the textbox unless you set the value in ja... 阅读全文
posted @ 2010-01-18 16:44 C.fly 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Yesterday, l try to deploy a WCF'siis host,meet two problem , By finding the material l resolved them.first:  my iiscan't execute .SVC file .(IIS5.1)   1.go to iis manager, 2.in virtual directory tab ... 阅读全文
posted @ 2010-01-15 09:32 C.fly 阅读(159) 评论(0) 推荐(0) 编辑
摘要: http://dotnet.cnblogs.com/page/50144/ 阅读全文
posted @ 2010-01-14 22:44 C.fly 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 1. Web Trigger point .(the time point when user click button) 1>If the click is ajax post backSys.WebForms.PageRequestManager.getInstance().add_beginRequest(BeginRequestHandler); function BeginRequ... 阅读全文
posted @ 2010-01-11 15:11 C.fly 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 1.Using nuit in website.<1>Using add reference function to add nunit dll.<2> Add the below section to web.config<configuration><configSections><sectionGroup name="system.web... 阅读全文
posted @ 2009-12-28 16:30 C.fly 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 1.(IDAL.ISupportingData)Assembly.Load("DAL").CreateInstance("DAL.Implement.SqlServer.SupportingData");The red color part ,you should write the the dll name of the project..not the namespace.(IDAL.ISup... 阅读全文
posted @ 2009-12-25 16:56 C.fly 阅读(193) 评论(0) 推荐(0) 编辑