Action Filters.
An action filter is an attribute that you can apply to a controller action — or an entire controller — that modifies the way in which the action is executed
- http://www.asp.net/mvc/overview/older-versions-1/controllers-and-routing/understanding-action-filters-cs
- http://www.asp.net/mvc/overview/older-versions/hands-on-labs/aspnet-mvc-4-custom-action-filters
- https://msdn.microsoft.com/es-es/library/dd381609(v=vs.100).aspx
Ej: CoieControladorBase
Qué hacer cuando intentamos comprobar el valor de algo en sesión y esta no existe.
http://stackoverflow.com/questions/759795/c-sharp-cannot-check-session-exists
Rendimiento: medir tiempo empleado
http://stackoverflow.com/questions/1047218/benchmarking-small-code-samples-in-c-can-this-implementation-be-improved
http://stackoverflow.com/questions/1622440/benchmarking-method-calls-in-c-sharp