ActionFilterAttribute in MVC 5

The ActionFilterAttribute is the base class for all the attribute filters. It provides the

following methods to execute a specific logic after and before controller action's execution:

1. OnActionExecuting: Just before the action method is called.

2. OnActionExecuted: After the action method is called and before the result is executed

(before view render).

3. OnResultExecuting: Just before the result is executed (before view render).

4. OnResultExecuted: After the result is executed (after the view is rendered).

Comments

Popular posts from this blog

Uploading Image to Sql Server Image Datatype in asp.net using fileupload Control

Get Running Sum of Query SQL Query