ArchiForge 1.0.1
dotnet tool install --global ArchiForge --version 1.0.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local ArchiForge --version 1.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ArchiForge&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package ArchiForge --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
🚀 ArchiForge – API Generator
ArchiForge is a .NET CLI tool that automatically generates a Clean Architecture / DDD skeleton in .NET 8.
It includes all the layers (Domain, Application, Infrastructure, API) and a working example with Postgres + EF Core + Swagger.
📦 Installation
dotnet tool install --global ArchiForge
📂 Structure du projet
forged/
└─ MyForgedApi/
├─ MyForgedApi.sln
├─ MyForgedApi.Domain/ # Entities, ValueObjects, Domain Services, Events
├─ MyForgedApi.Application/ # CQRS (Commands, Queries, Handlers), DTOs, Interfaces
├─ MyForgedApi.Infrastructure/ # DbContext, Repositories, Impl. Services, Outbox, EventBus
├─ MyForgedApi.Api/ # Controllers, Middlewares, Configurations, Filters
└─ docker-compose.yml # Postgres + pgAdmin
⚡ Features
✅ Clean Architecture / DDD structure (Domain, Application, Infrastructure, API)
✅ CQRS-ready with MediatR + AutoMapper
✅ EF Core (Postgres/SQL Server/…) with a configured DbContext
✅ Example Todo Entity + Repository + CRUD Controller
✅ Swagger enabled for API documentation
✅ Global error-handling middleware
✅ Docker Compose (Postgres + pgAdmin preconfigured)
🔧 Requirements
- .NET 8 SDK
- Docker Desktop
- PowerShell 7+ (Windows ou cross-platform)
🚀 Usage
archiforge new MyForgedApi
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.1 | 234 | 9/23/2025 |