I am writing an application in ASP.NET MVC. Basically, I have several pages that require user authentication. After logging in, I save the user string in the session. Therefore, in my controller, I can access user.ID without additional requests.
When the project is in debug mode, I can only change things in the views. Not in the controller.
If I am not debugging, I can build a solution and see the changes that I made without starting the project (with F5). BUT , it loses all the session variables that I have.
So, in principle, for everyone it doesn’t matter how small changes are in the controller, I have to log out, log in to see my changes.
Is this normal behavior?
source
share