ПИбд-21, Лёвушкина Анна, лаб7 простая #18

Closed
AnnaLioness wants to merge 5 commits from лаб7 into лаб6
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 0ab5783559 - Show all commits

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);