MVC 5 Application_Start() called multiple times

2.3k Views Asked by At

I am new to MVC 5 and beginner for Visual Studio. I am facing this weird problem. Every time i change some thing in Layout.cshtml or anywhere in controller or view and run it .The Application_Start() method is called multiple times and i lose all my session data. Previously i used to rebuild the solution after changing anything and it was working fine but now that is also now working. Can anyone please explain me why is this happening.

0

There are 0 best solutions below