ZMA.Medium.Template 1.0.2

dotnet new install ZMA.Medium.Template@1.0.2
                    
This package contains a .NET Template Package you can call from the shell/command line.

ZMA Medium Template

ZMA (Zohaib Modular Architecture) — Medium Tier

A modular monolith with module-per-feature separation using separate DbContexts.

What's Included

  • Domain: Entities, Value Objects, Enums
  • Application: CatalogModule + OrdersModule with their own Interfaces, Services, DTOs
  • Infrastructure: Separate CatalogDbContext and OrdersDbContext, Repositories per module
  • Presentation: ASP.NET Core Web API controllers grouped by module
  • Module isolation while still in a single deployable unit
  • Ready to split into microservices when you scale

Usage

# Install the template
dotnet new install ZMA.Medium.Template

# Scaffold a project
dotnet new zma-med -n MyApp

# Run it
cd MyApp
dotnet run --project MyApp.Presentation

Architecture

Application/CatalogModule    Interfaces, Services, DTOs for Catalog
Application/OrdersModule     Interfaces, Services, DTOs for Orders
Domain/                      Entities, ValueObjects, Enums
Infrastructure/Persistence   CatalogDbContext, OrdersDbContext
Presentation/Controllers     Grouped by module

Learn More

  • net8.0

    • 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
1.0.2 142 5/26/2026
1.0.1 112 5/26/2026
1.0.0 189 8/15/2025