Code Generator for Clean Architecture

A Visual Studio extension that helps you quickly scaffold complete CRUD features for projects following the Clean Architecture pattern.
⚡️ This tool is specially designed for use with the CleanArchitectureWithBlazorServer template and automates the creation of application-layer code in a consistent and maintainable structure.
What It Does
This extension dramatically speeds up backend development by automatically generating:
- Application-layer commands (
Create
,Update
,Delete
,Import
,AddEdit
) - Validators for each command
- DTOs
- Query handlers (
GetAll
,Export
,Pagination
) - Domain event handlers (
Created
,Updated
,Deleted
) - All files are placed under a consistent folder and namespace structure
How to Use
- Right-click on a folder in Solution Explorer
- Choose “Add New Feature (Clean Architecture)” or press
Shift+F2
- Enter the Entity Name (e.g.,
Product
) - Files are automatically created based on the selected domain
License
This project is licensed under the MIT License, which is a permissive open-source license. You are free to use, modify, and distribute the code for both personal and commercial purposes, as long as the original license and copyright notice are included.