In ASP.NET Core 3.0 your views do not compile at runtime, so if you can not see HTML changes inside razor pages or views before building the project again. we can solve this issue by adding View Compilation at run-time.
...
https://www.youtube.com/watch?v=CmgUZ-TYxjw