Coreplex.API.Template 2.0.0

dotnet new install Coreplex.API.Template::2.0.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

and can be installed using dotnet new.


🚀 Features

  • ✔ Clean Architecture (Core, Infrastructure, Presentation)
  • ✔ EF Core DbContext configured
  • ✔ Repository Pattern ready
  • ✔ DTO / Models clean separation
  • ✔ Swagger UI enabled
  • ✔ Fully ready for SQL Server
  • ✔ Production-ready folder structure
  • ✔ No unnecessary files (bin/obj removed)
  • ✔ Perfect to scale any enterprise API

📦 Install Template

If you installed from NuGet:

dotnet new -i Coreplex.API.Template

Create a new API Project

dotnet new coreplexapi -n MyProject
cd MyProject

Folder Strucre

src/
├── Core
│   ├── Interfaces
│   ├── Models
│   └── Services
│
├── Infrastructure
│   ├── Data
│   │   └── AppDbContext.cs
│   └── Repositories
│
└── Presentation (API)
    ├── Controllers
    ├── Program.cs
    └── appsettings.json

🧠 Architecture (High Level) 🔷 Core Layer

Contains all business logic, models, and interfaces.

No external dependencies

No EF Core

No controllers

🔷 Infrastructure Layer

Contains:

EF Core DbContext (AppDbContext)

Repository Implementations

Database access logic

🔷 Presentation Layer (API)

Contains:

Controllers

Dependency Injection

Program.cs startup

nuget pack Coreplex.API.Template.nuspec -OutputDirectory ./nupkg

dotnet new -i .\nupkg\Coreplex.API.Template.1.0.0.nupkg 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

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 102 4/22/2026
1.0.0 290 11/14/2025

Initial release of the Coreplex Clean Architecture API Template.
     Includes Core, Infrastructure & Presentation layers, EF Core setup,
     DbContext, Repository Pattern, Dependency Injection, and project structure.