нюанс

This commit is contained in:
AnnaLioness 2024-05-05 21:18:36 +04:00
parent 111d1eee56
commit 0ab5783559
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="6.0.26" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>

View File

@ -3,7 +3,7 @@ using AbstractLawFirmClientApp;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllersWithViews();
builder.Services.AddControllersWithViews().AddRazorRuntimeCompilation();
var app = builder.Build();
APIClient.Connect(builder.Configuration);