issue in refresh in .net core project
Budget: $10 – $20 USD
I am working on a .net core application that requires the user to log in with their username and password. After the login, the application loads the user profile from the api and stores it in an interface object. However, I have a problem: whenever I refresh the page, the interface object becomes null and loses all the data related to the user profile. As a result, the application redirects me to the login page again. This issue does not occur when I navigate to different pages within the application, only when I refresh the page.