feat: add razor runtime compilation for development
Views are now recompiled on request without needing a full rebuild. This makes .cshtml changes take effect immediately during development. Ref: IT-628 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -13,7 +13,8 @@ var appSettings = builder.Configuration
|
||||
|
||||
builder.Services.AddSingleton(appSettings);
|
||||
builder.Services.AddOpenApi();
|
||||
builder.Services.AddControllersWithViews();
|
||||
builder.Services.AddControllersWithViews()
|
||||
.AddRazorRuntimeCompilation();
|
||||
builder.Services.AddNotificationDataAccess(appSettings.ConnectionString);
|
||||
builder.Services.AddNotificationServices();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user