Why .NET Core MVC Page Not Refreshing?
Why .NET Core MVC Page Not Refreshing?
Student
I am Utpal Vishwas from Uttar Pradesh. Have completed my B. Tech. course from MNNIT campus Prayagraj in 2022. I have good knowledge of computer networking.
There are a few reasons why a .NET Core MVC page might not refresh.
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilationNuGet package to your project and then add the following code to your Startup.cs file:C#
OutputCachedirective, can prevent pages from refreshing even if the underlying code or data has changed. If you are using a caching mechanism, you will need to disable it for the page you are trying to refresh.If you have checked all of the above and your page is still not refreshing, you can try the following:
If you have tried all of the above and you are still having problems, you can ask for help on a forum or from a developer community.