adds razor runtime page recompilation to startup

This commit is contained in:
2020-02-08 00:44:26 +01:00
parent ce4043254c
commit d7939fbaac
2 changed files with 2 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ namespace Tv7Playlist
ConfigureParser(services, appConfig);
ConfigureDatabase(services, appConfig);
services.AddRazorPages();
services.AddMvc().AddRazorRuntimeCompilation();
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.