RAJESH GUPTA
What is use of beforeFilter() and afterFilter() in MVC
By RAJESH GUPTA in .NET on May 20 2022
  • Vishal Yelve
    Jul, 2022 8

    beforeFilter(): beforeFilter function run before every action in the controller. It’s the right place to check for an active session or inspect user permissions.afterFilter(): afterFilter function called after every controller action but after rendering is done. It is the last controller method to run.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS