asp.net mvc 4过滤器

四种基本过滤器

authorize

action

result

exception

 

执行顺序 authorize -> action.onexcuting->action.excuted->result.onexcuting->result.excuted

任何阶段发生 异常 都会执行 exception 过滤器

 

posted @ 2016-08-03 00:28  blueker_li  阅读(115)  评论(0编辑  收藏  举报