Overview
Welcome to Scaffolder.net, a powerful code generation tool that helps you rapidly build .NET solutions following Clean Architecture and Domain-Driven Design principles. It generates a complete, enterprise-grade, production-ready solution structure from your domain model definition.
What is Scaffolder.net ?
Scaffolder.net is a code generation platform that produces entire .NET solutions from a simple configuration interface. Instead of manually creating projects, folders, and boilerplate code, you define your domain model — Solutions, Bounded Contexts, Entities and their Properties — and Scaffolder.net generates the complete solution structure with all layers of Clean Architecture.
The generated code is not just scaffolding, it is fully functional, compilable code that includes domain entities with validation, CQRS command / query handlers, Entity Framework Core persistence, and Blazor Server / Blazor WebAssembly / Minimal API presentation layers.
What Scaffolder.net generates ?
- A Solution file, build and packages configuration, common Git files
- A Domain project per bounded context, with entities, validators, errors, services, optional domain events, repository interfaces
- An Application project per bounded context, with CQRS commands and queries, handlers, DTOs, validators, errors, services, pipeline behaviors
- An Infrastructure.Persistence project per bounded context, with EF Core DbContext and configurations, repositories
- Optional Presentation projects per bounded context : Blazor Server, Blazor WebAssembly, Minimal API with full Create, Read, Update, Delete capabilities
- Shared projects that are common to every bounded context of the solution
- Resource files for multi-languages management
How it works ?
You model your system through four nested concepts : Solution, Bounded contexts, Entities and Entity Properties. For each entity Scaffolder.net generates all necessary code for a fully functional solution.
The generated code is yours : there is no runtime dependency on Scaffolder.net. You can download the produced files as a ZIP archive, extract them anywhere and open the solution in Visual Studio or your favorite IDE.
The generated code does not use Artificial Intelligence. No token, no hallucination, no error, no waiting, just pure deterministic code generation based on your model.
Who should use Scaffolder.net ?
- Development Teams : Accelerate project kickoff by generating consistent project structures
- Enterprise Architects : Enforce architectural standards across multiple projects
- Rapid Prototyping : Create POCs and MVPs with production-ready architecture
- Consultants : Deliver solutions faster while maintaining best practices
- Learning & Education : Understand proper .NET solution structure, clean architecture, design patterns, and many other best practices
Technology Stack
- .NET 10
- C# 14
- Entity Framework Core for data access
- Blazor Server and Blazor WebAssembly for the web interface with MudBlazor components
- Minimal API for the web API with Scalar interface
- Fluent Validation for input validation
- Serilog for strctured logging
Design Patterns
- Respect of Microsoft naming conventions
- Clean Architecture principles with Vertical Slices Features
- Domain Driven Design (DDD) principles
- Command Query Responsibility Segregation (CQRS) pattern
- Custom Mediator pattern implementation for command and query handling
- Custom Result pattern implementation for operation outcomes handling
- Custom REPR pattern implementation for request and response handling
- Custom Repository pattern implementation for data access abstraction
- Custom Unit of Work pattern implementation for transaction management