摘要:
1. 尽量少的抛出异常 throw new System.Exception(.); 抛出异常是严重影响性能的。 (a) 对于ASP.NET, Response.Redirect(...) 会抛出 ThreadAbort 的异常, 而且,该用法会在 Client 和 Server间返回两次,应尽量采用Client 端的方式或 Server.Transfer方式来代替。 2. 对于函... 阅读全文
posted @ 2007-11-25 22:08
redfox
阅读(152)
评论(0)
推荐(0)

浙公网安备 33010602011771号