Remove Razor view runtime compilation
This commit is contained in:
parent
eb06bf1562
commit
03d64364a8
@ -10,10 +10,6 @@
|
||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.0-rc.*" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Groceries.Data\Groceries.Data.csproj" />
|
||||
</ItemGroup>
|
||||
|
@ -47,11 +47,6 @@ var mvc = builder.Services
|
||||
})
|
||||
.AddSessionStateTempDataProvider();
|
||||
|
||||
if (env.IsDevelopment())
|
||||
{
|
||||
mvc.AddRazorRuntimeCompilation();
|
||||
}
|
||||
|
||||
builder.Services.AddDistributedMemoryCache();
|
||||
builder.Services.AddSession();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user