Click here to Skip to main content
15,749,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
we know OnActionExecuting Method which is Called before the action method is invoked.

I just want to know can we implement same thing for web application .net framework 4.5 ?

I mean ,is there any before event fire technique ?where I do some thing before every event fire.

1 solution

Kuntal - I would say, the best consideration would be creating a custom HTTP Module as below.[^]

Also please note that since you are using ASP.NET Pages, all page life cycles events will be fired in each post backs.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900