'How to enable runtime compilation for razor pages?
Iv created a blazor web app and when i make changes to the razor pages i have to stop executing my script and then and re-execute to see changes. Iv tried the below but it doesn't show changes on refresh of the browser.
services.AddControllersWithViews().AddRazorRuntimeCompilation();
And this -
services.AddRazorPages().AddRazorRuntimeCompilation();
Please can someone let me know how to enable runtime compilation?
Thanks,
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
