posts - 256, comments - 1319, trackbacks - 41, articles - 8
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

Lovely DotNet

     摘要: 对于一个Web应用程序来说,出错是在所难免的,因此我们应该未雨绸缪,为可能出现的错误提供恰当的处理。事实上,良好的错误处理机制正是衡量Web应用程序好坏的一个重要标准。试想一下,当用户不小心在浏览器输入了错误的URL或者当用户提供了一些信息导致程序出错的时候,如果我们没有对这些情况进行处理,而是任由404或是500的错误页面甚至出错的堆栈信息呈现在用户面前,这无疑会把一些用户给吓跑。所以,在我们开发Web应用程序的时候,应该对错误处理机制有充分的了解。

让我们回到ASP.NET上来,先提两个问题让大家思考一下:ASP.NET为我们提供了几种错误处理机制呢?如果同时采用了几种错误处理机制,它们之间是否存在一定的优先级呢?  阅读全文

posted @ 2006-08-02 01:38 FantasySoft 阅读(2912) | 评论 (18)  编辑 |

posted @ 2006-07-03 15:57 FantasySoft 阅读(3184) | 评论 (14)  编辑 |

posted @ 2005-09-09 18:15 FantasySoft 阅读(2571) | 评论 (12)  编辑 |

     摘要: 在拜读了idior兄的Transaction in ADO.net 2.0之后,对J2EE与ADO.net下Tranaction Scope的定义及控制进行了比较。请点击这里阅读全文。  阅读全文

posted @ 2005-08-17 15:03 FantasySoft 阅读(2302) | 评论 (4)  编辑 |

posted @ 2004-10-30 18:16 FantasySoft 阅读(4797) | 评论 (2)  编辑 |

posted @ 2004-10-17 12:13 FantasySoft 阅读(1094) | 评论 (4)  编辑 |

posted @ 2004-10-16 12:53 FantasySoft 阅读(1122) | 评论 (0)  编辑 |

posted @ 2004-09-21 17:51 FantasySoft 阅读(5258) | 评论 (7)  编辑 |

posted @ 2004-07-28 15:07 FantasySoft 阅读(767) | 评论 (0)  编辑 |

posted @ 2004-07-28 13:56 FantasySoft 阅读(1114) | 评论 (2)  编辑 |

posted @ 2004-07-14 02:33 FantasySoft 阅读(2535) | 评论 (5)  编辑 |

posted @ 2004-05-25 20:30 FantasySoft 阅读(1442) | 评论 (4)  编辑 |