标签:
asp.net webapi Action过滤器实现这个:
#region 程序集 System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 //
~~\trunk\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll
#endregion
System.Web.Http.Filters.ActionFilterAttribute : FilterAttribute, IActionFilter, IFilter
asp.net mvc Action过滤器实现这个:
#region 程序集 System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 //
~\trunk\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll
#endregion
namespace System.Web.Mvc.ActionFilterAttribute : FilterAttribute, IActionFilter, IResultFilter
mvc 5 的过滤器和webapi 过滤器 对应实现的action过滤器区别
标签:
原文地址:http://www.cnblogs.com/sword85/p/5505853.html