Project Description
Creating a common library with ASP.NET MVC Action Filters.
An action filter is an attribute you can slap on an action method in order to run some code before and after the action method executes. Typically, an action filter represents a cross-cutting concern to your action method. Output caching is a good example of a cross-cutting concern.
On the web you'll be able to find dozen of ASP.NET MVC Action Filters. Most of them are outdated and developed for pre-builds of ASP.NET MVC. Therefore you find here an actual library of action filters which are partly developed and partly take over from the web (each one which is taken will be referenced in the documentation).
Actually it's still under development and researches of action filters. I intend to support MVC Action Filters for following scenarios:
Planned Action Filters
- Action filter for creating easy REST API with JSON and XML
- Action filter for logging scenarios
- Action filter for microsoft health monitoring
- Action filter for client caching
- Action filter for client compression
- Action filter for server caching
- Action filter for controller execution time measurement
Sources
some links to sources i started to takeover available action filters:1) http://aleembawany.com/2009/03/27/aspnet-mvc-create-easy-rest-api-with-json-and-xml/
2) http://weblogs.asp.net/omarzabir/archive/2008/10/03/create-rest-api-using-asp-net-mvc-that-speaks-both-json-and-plain-xml.aspx
3) http://www.alexthissen.nl/blogs/main/archive/2008/07/01/health-monitoring-action-filter-for-asp-net-mvc.aspx
4) http://www.codeproject.com/KB/web-cache/mvcresultcache.aspx
5) http://www.singingeels.com/Articles/Logging_with_ASPNET_MVC_Action_Filters.aspx
6) http://kigg.codeplex.com
7) http://www.iansuttle.com/blog/post/ASPNET-MVC-Action-Filter-for-Localized-Sites.aspx