Why .NET Core MVC Page Not Refreshing?
Why .NET Core MVC Page Not Refreshing?
589
06-Jul-2023
Updated on 07-Jul-2023
Aryan Kumar
07-Jul-2023There 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.