异常处理,只是针对没有被try catch 的异常
错误处理在webForm 时代,有两种方式1、Application_errror () 在里面添加log
2、在web config 中配置错误页面
MVC时代的增加了异常过滤器(之前有这两种过滤器actionfilter ,result filter):出现异常时执行
静态构造函数说明: https://www.cnblogs.com/jiagoushi/p/3775046.html
写到日志中
异常处理,只是针对没有被try catch 的异常
错误处理在webForm 时代,有两种方式1、Application_errror () 在里面添加log
2、在web config 中配置错误页面
MVC时代的增加了异常过滤器(之前有这两种过滤器actionfilter ,result filter):出现异常时执行
静态构造函数说明: https://www.cnblogs.com/jiagoushi/p/3775046.html
写到日志中