explain filters

Total Post:8


 2805  View(s)
Rate this:
please explain me How to use the filters in Mvc and how to work these filters in mvc2
  1. Re: explain filters


    Filtering in ASP.Net MVC:
    In ASP.NET MVC, controllers define action methods that usually have a one-to-one relationship with possible user interactions, such as clicking a link or submitting a form. For example, when the user clicks a link, a request is routed to the designated controller, and the corresponding action method is called.

    Sometimes you want to perform logic either before an action method is called or after an action method runs. To support this, ASP.NET MVC provides filters. Filters are custom classes that provide both a declarative and programmatic means to add pre-action and post-action behavior to controller action methods.

    For more details you can refer this link:



Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.