Files
db-subclass-to-dto/src/Web/Web.csproj
T
2026-09-17 18:54:53 +01:00

17 lines
506 B
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<!-- Deliberately NO reference to Db: the Web layer consumes DTOs
only, so it cannot reach the persistence layer — the leak the
exercise illustrates is now enforced by the compiler. -->
<ProjectReference Include="..\Domain\Domain.csproj" />
</ItemGroup>
</Project>