- Add Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation NuGet package to the project
- Add the following in
Startup.cs
:services.AddControllersWithViews().AddRazorRuntimeCompilation();
Here’s the full explanation for the curious…
Startup.cs
:services.AddControllersWithViews().AddRazorRuntimeCompilation();Here’s the full explanation for the curious…