16、ASP.NET MVC入门到精通——MVC过滤器

时间:2020-12-02 01:11:14

本系列目录:ASP.NET MVC4入门到精通系列目录汇总

在ASP.NET MVC中有四种过滤器类型

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAABGIAAAEtCAIAAADMZ1HWAAAgAElEQVR4nO2du24cO7hm61HOE0xgQIJeY4IJnEhCP8HBCQdwZnsAZXOSHSmaxFLUuQE/gCFFgkI5VLS3diaHnqBuvPy8VjW72FzECuxWdxWL/Hj5eKvuD4FAIBAIBAKBQCAQlNAdOwIEAoFAIBAIBAKBsK0w2KS/Hh8ADgHqgkpButAC6BwAwAabBCVAXVApSBdaAJ0DANhgk6AEqAsqBelCC6BzAAAbbBKUAHVBpSBdaAF0DgBgg02CEqAuqBSkCy2AzgEAbLBJUALUBZWCdKEF0DkAgA02CUqAuqBSkC60ADoHALDBJkEJUBdUCtKFFkDnAAA22CQoAeqCSkG60ALoHADABpsEJUBdUClIF1oAnQMA2GCToASoCyoF6UILoHMAABtsEpQAdUGlIF1oAXQOAGCDTYISoC6oFKQLLYDOAQBssElQAtQFlYJ0oQXQOQCADTYJSoC6oFKQLrQAOgcAsMEmQQlQF1QK0oUWQOcAADZbsknPr29/3r5HfPPu9fefIdjff374/efll/8u/U9fSj7d9zfzjt/fxmd4fTafbqW4TbfwJUgRjq+uTfPyMmTU74dn6Qu/xoz8/Xp3/Ni2BdI1mKtfdzV19/rbqNbkK8RV+BpTBZ73c3CAzmE9xhbNbLCmlm4qufYnxvcdbeLjw1/uThTAimzEJj0/zO1m2CG4W9mpyLmLjdbKWmG6u+9rfbmd72VfxSjw39+EP4klfP6mlg5K+sRE3roaNmnbBGySop/jZ2VrtCHdcA0zCU+3Sc8Pv43KNlyZL7JJKxWH775mYAq+LtqJ0YbOoQwr2KS5lnAPDpqdqOfXN0YSYW16jR3dJqkNZ3hgwNnKPj/f/VKHGqVG+hg2yfhy37RbNsnoqagXibZJ4+P318QmVYJlk35FdeL+/FGbEI8gw9JhVN5FG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kKAHqgkpButAC6BwAwAabBCVAXVApSBdaAJ0DANhgk6AEqAsqBelCC6BzAAAbbBKUAHVBpSBdaAF0DgBgg02CEqAuqBSkCy2AzgEAbLBJUALUBZWCdKEF0DkAgI1mkwgEAoFAIBAIBAKB0AdsEoFAIBAIBAKBQCBoAZtEIBAIBAKBQCAQCFr4/0Pg3mNIJDFaAAAAAElFTkSuQmCC" alt="" />

Action

1、在ASP.NET MVC项目中,新建文件夹Filter,然后新建类MyCustormFilter,继承自ActionFilterAttribute类,我们来看下ActionFilterAttribute类有如下四个方法,从命名我应该就可以看出他们的执行时机。

16、ASP.NET MVC入门到精通——MVC过滤器

  public class MyCustormFilter:ActionFilterAttribute
{
public override void OnActionExecuting(ActionExecutingContext filterContext)
{
filterContext.HttpContext.Response.Write("Action执行前");
base.OnActionExecuting(filterContext);
}
public override void OnActionExecuted(ActionExecutedContext filterContext)
{
filterContext.HttpContext.Response.Write("Action执行后");
base.OnActionExecuted(filterContext);
}
}

2、对于过滤器,我们可以把它们加在三个地方,一个是控制器上面(控制器下面的所有Action),一个是Action上面(指定标识的Action),另一个就是全局位置(所有控制器中的Action)。这里我只演示在Action上面加

       [MyCustormFilter]
        public ActionResult Index()
        {
            return View();
        }
       public ActionResult Index1()
       {
           return View();
}   

3、build然后运行

16、ASP.NET MVC入门到精通——MVC过滤器16、ASP.NET MVC入门到精通——MVC过滤器

Result

1、新建类TestResultFilter,继承ActionFilterAttribute

  public class TestResultFilter:ActionFilterAttribute
{
/// <summary>
/// 加载 "视图" 前执行
/// </summary>
/// <param name="filterContext"></param>
public override void OnResultExecuting(System.Web.Mvc.ResultExecutingContext filterContext)
{
filterContext.HttpContext.Response.Write("加载视图前执行 OnResultExecuting <br/>");
base.OnResultExecuting(filterContext);
} /// <summary>
/// 加载"视图" 后执行
/// </summary>
/// <param name="filterContext"></param>
public override void OnResultExecuted(System.Web.Mvc.ResultExecutedContext filterContext)
{
filterContext.HttpContext.Response.Write("加载视图后执行 OnResultExecuted <br/>");
base.OnResultExecuted(filterContext);
}
}

2、这里我把TestResultFilter过滤器加在控制器上面

  [TestResultFilter]
public class FilterTestController : Controller
{
[MyCustormFilter]
public ActionResult Index()
{
return View();
}
public ActionResult Index1()
{
return View();
}
}

3、运行看下结果

16、ASP.NET MVC入门到精通——MVC过滤器16、ASP.NET MVC入门到精通——MVC过滤器

注意:Result过滤器,无论Action的返回类型为什么(甚至void)都将执行。

RouteData中保存了当前请求匹配的路由信息和路由对象

修改MyCustormFilter.cs

 public override void OnActionExecuting(ActionExecutingContext filterContext)
{
//1.获取获取请求的类名和方法名
string strController = filterContext.RouteData.Values["controller"].ToString();
string strAction = filterContext.RouteData.Values["action"].ToString();//2.另一种方式 获取请求的类名和方法名
string strAction2 = filterContext.ActionDescriptor.ActionName;
string strController2 = filterContext.ActionDescriptor.ControllerDescriptor.ControllerName; filterContext.HttpContext.Response.Write("Action执行前</br>");
filterContext.HttpContext.Response.Write("控制器:" + strController + "</br>");
filterContext.HttpContext.Response.Write("控制器:" + strController2+"</br>");
filterContext.HttpContext.Response.Write("Action:" + strAction + "</br>");
filterContext.HttpContext.Response.Write("Action:" + strAction2 + "</br>");
base.OnActionExecuting(filterContext);
}

16、ASP.NET MVC入门到精通——MVC过滤器

AuthorizeAttribute

1、  新建TestAuthorizeAttribute

    /// <summary>
/// 授权过滤器 --在Action过滤器前执行
/// </summary>
public class TestAuthorizeAttribute:AuthorizeAttribute
{
public override void OnAuthorization(AuthorizationContext filterContext)
{
filterContext.HttpContext.Response.Write("<br/>OnAuthorization<br/>");
//注释掉父类方法,因为父类里的 OnAuthorization 方法会调用asp.net的授权验证机制!
//base.OnAuthorization(filterContext);
}
}

2、在控制器FilterTest中的Index上添加TestAuthorize标记

       [MyCustormFilter]
[TestAuthorize]
public ActionResult Index()
{
return View();
}

运行看下结果:

16、ASP.NET MVC入门到精通——MVC过滤器

Exception

1、新建TestHandleError.cs

    /// <summary>
/// 异常处理 过滤器
/// </summary>
public class TestHandleError : HandleErrorAttribute
{
public override void OnException(ExceptionContext filterContext)
{
//1.获取异常对象
Exception ex = filterContext.Exception;
//2.记录异常日志
//3.重定向友好页面
filterContext.Result = new RedirectResult("~/error.html");
//4.标记异常已经处理完毕
filterContext.ExceptionHandled = true; base.OnException(filterContext);
}
}

2、在Action上面加TestHandleError

  [TestHandleError]
public ActionResult GetErr()
{
int a = ;
int b = / a;
return View();
}

注意:通常这样的异常处理我们是放在全局过滤器上面的。

   public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
//filters.Add(new HandleErrorAttribute());
//添加全局过滤器
filters.Add(new TestHandleError());
}
}

16、ASP.NET MVC入门到精通——MVC过滤器的更多相关文章

  1. 13、ASP&period;NET MVC入门到精通——MVC请求管道

    本系列目录:ASP.NET MVC4入门到精通系列目录汇总 ASP.NET MVC的请求管道和ASP.NET请求管道基本上一模一样,如果你对ASP.NET请求管道十分熟悉的话,你只要关注一下不同点.看 ...

  2. ASP&period;NET MVC入门到精通——MVC请求管道

    https://www.cnblogs.com/jiekzou/p/4896315.html 本系列目录:ASP.NET MVC4入门到精通系列目录汇总 ASP.NET MVC的请求管道和ASP.NE ...

  3. ASP&period;NET MVC4入门到精通系列目录汇总

    序言 最近公司在招.NET程序员,我发现好多来公司面试的.NET程序员居然都没有 ASP.NET MVC项目经验,其中包括一些工作4.5年了,甚至8年10年的,许多人给我的感觉是:工作了4.5年,We ...

  4. ASP&period;NET MVC4入门到精通系列目录汇总&lpar;转&rpar;

    序言 最近公司在招.NET程序员,我发现好多来公司面试的.NET程序员居然都没有 ASP.NET MVC项目经验,其中包括一些工作4.5年了,甚至8年10年的,许多人给我的感觉是:工作了4.5年,We ...

  5. 1、ASP&period;NET MVC入门到精通——新语法

    本系列目录:ASP.NET MVC4入门到精通系列目录汇总 在学习ASP.NET MVC之前,有必要先了解一下C#3.0所带来的新的语法特性,这一点尤为重要,因为在MVC项目中我们利用C#3.0的新特 ...

  6. 15、ASP&period;NET MVC入门到精通——MVC-路由

    本系列目录:ASP.NET MVC4入门到精通系列目录汇总 Routing(路由) – URL url 作为广泛使用的Web用户接口,需要被重视 好的Url应该满足如下条件: URL应为获取某种资源提 ...

  7. 20、ASP&period;NET MVC入门到精通——WebAPI

    本系列目录:ASP.NET MVC4入门到精通系列目录汇总 微软有了Webservice和WCF,为什么还要有WebAPI? 用过WCF的人应该都清楚,面对那一大堆复杂的配置文件,有时候一出问题,真的 ...

  8. 24、ASP&period;NET MVC入门到精通——数据库仓储

    本系列目录:ASP.NET MVC4入门到精通系列目录汇总 业务层调用数据层对象,我不想每次都new一个数据层对象,而是在数据层创建一个仓储,统一管理所有的对象调用. 1.在IDAL项目中,新建IDB ...

  9. 5、ASP&period;NET MVC入门到精通——NHibernate代码映射

    本系列目录:ASP.NET MVC4入门到精通系列目录汇总 上一篇NHibernate学习笔记—使用 NHibernate构建一个ASP.NET MVC应用程序 使用的是xml进行orm映射,那么这一 ...

随机推荐

  1. 先说IEnumerable,我们每天用的foreach你真的懂它吗?

    我们先思考几个问题: 为什么在foreach中不能修改item的值? 要实现foreach需要满足什么条件? 为什么Linq to Object中要返回IEnumerable? 接下来,先开始我们的正 ...

  2. 每天一个linux命令(45):free 命令

    free命令可以显示Linux系统中空闲的.已用的物理内存及swap内存,及被内核使用的buffer.在Linux系统监控的工具中,free命令是最经常使用的命令之一. 1.命令格式: free [参 ...

  3. 关于vue&period;js中表单控件绑定练习

    html: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8 ...

  4. jQuery 常用的代码片段

    1.  官网下载链接: http://jquery.com/download/ 2.  引入jquery 文件方式: (1) <script src="http://libs.baid ...

  5. 【转】仿QQ5&period;0侧滑菜单ResideMenu

    本文由孙国威 原创.如需转载,请注明出处! 原文:http://blog.csdn.net/manoel/article/details/39013095 为了后续对这个项目进行优化,比如透明度动画. ...

  6. 基于Spring Boot的RESTful API实践&lpar;一&rpar;

    1. RESTful简述    REST是一种设计风格,是一组约束条件及原则,而遵循REST风格的架构就称为RESTful架构,资源是RESTful的核心,一个好的RESTful架构,通过URL就能很 ...

  7. objective-c如何在linux下进入Modern模式

    自从apple的obj-c进入2.0后,出现了相对于Legacy模式的Modern模式:Modern模式中出现了一些高级功能(比如ARC),并且出现了一些新的字面语法,新旧模式的差别可以参考apple ...

  8. 如何将他人的SOPC工程转换为自己可以使用的工程

    上篇文章的程序源码在:http://download.csdn.net/detail/noticeable/9921952 源码错误现象: 在下载源码文件解压后,打开系统工程,可以看到quartus ...

  9. Linux内核分析— —扒开系统调用的三层皮(上)

    实验部分 根据系统调用表,选取一个系统调用.我选得是mkdir这个系统调用,其系统调用号为39,即0x27 由于mkdir函数的原型为int mkdir (const char *filename, ...

  10. Netty 实现HTTP文件服务器

    一,需求 文件服务器使用HTTP协议对外提供服务.用户通过浏览器访问文件服务器,首先对URL进行检查,若失败返回403错误:若通过校验,以链接的方式打开当前目录,每个目录或文件都以超链接的形式展现,可 ...