modify in razor view doesn't reflect during running code example
Example: razor can't refresh pages without restarting project
services.AddMvc().AddRazorOptions(options => options.AllowRecompilingViewsOnFileChange = true);
services.AddMvc().AddRazorOptions(options => options.AllowRecompilingViewsOnFileChange = true);