ProjectHelm
Home / Documentation / Clean .NET 10 & C# MVC Architecture
Architecture

Clean .NET 10 & C# MVC Architecture

A deep dive into the code generated by ProjectHelm. Standard, idiomatic, and maintainable C# without proprietary runtimes.

Updated September 2026 • 5 min read • .NET 10 & C#

ProjectHelm outputs standard ASP.NET Core MVC solution structures. Once you download the codebase or push to Git, there is zero dependency on ProjectHelm.

Solution Structure (.slnx)

Standard Multi-Project Layout Solution Tree
YourApp.slnx
├── src/
│   ├── YourApp.Core.Models/       # POCO entities, DTOs, Enums, Custom Permissions
│   │   ├── Entities/
│   │   ├── Dto/
│   │   └── Enums/
│   ├── YourApp.Core.Data/         # EF Core AppDbContext, Database Migrations
│   │   ├── AppDbContext.cs
│   │   └── Migrations/
│   └── YourApp.UI.Web/            # ASP.NET Core MVC Controllers, Razor Views, Auth
│       ├── Controllers/
│       ├── Views/
│       ├── Services/
│       └── Program.cs
└── docker/
    └── Dockerfile                 # Multi-stage optimized Alpine container

Engineering Guarantees

  • No Runtime Lock-In: Open in Visual Studio 2026, Rider, or VS Code with dotnet build.
  • Strict Entity Separation: Clear separation between domain models and DTOs to prevent over-posting vulnerabilities.
  • Enterprise Security: Anti-forgery tokens (CSRF) on all POST actions, encrypted cookies, role policy attributes, and SQL injection prevention via EF Core parameterization.