Muonroi.Modular.Template 1.7.6

There is a newer version of this package available.
See the version list below for details.
dotnet new install Muonroi.Modular.Template::1.7.6
                    
This package contains a .NET Template Package you can call from the shell/command line.

Muonroi Modular Monolith Template

M?u gi?i ph�p ki?n tr�c Modular Monolith s? d?ng thu vi?n Muonroi Building Block. Ph� h?p cho c�c h? th?ng doanh nghi?p c� d? ph?c t?p trung b�nh, mu?n s? t�ch bi?t gi?a c�c module nhung v?n gi? s? don gi?n trong tri?n khai.

??? C?u tr�c d? �n

  • src/Host: D? �n Web API ch�nh, d�ng vai tr� Bootstrapper d? kh?i ch?y v� c?u h�nh to�n h? th?ng.
  • src/Modules: Ch?a c�c module nghi?p v? (v� d?: Identity, Catalog). M?i module l� m?t Class Library d?c l?p.
  • src/Shared:
    • Shared: Ch?a c�c Contracts, DTOs, v� Interfaces d�ng chung gi?a c�c module.
    • Kernel: Ch?a c�c base implementation v? Data Access v� DbContext.

?? C�ch ch?y d? �n

  1. M? terminal t?i thu m?c root.
  2. Ch?y script h? tr?: powershell ./scripts/run-all.ps1
    • Ho?c d�ng l?nh: dotnet run --project src/Host/Muonroi.Modular.Host/Muonroi.Modular.Host.csproj

?? T�nh nang n?i b?t

  • Multi-Assembly Scanning: T? d?ng qu�t v� dang k� Service/Repository t? t?t c? c�c module.
  • Auto-CRUD: T? d?ng sinh API cho c�c Entity trong Module n?u k? th?a MEntity.
  • In-Process Communication: C�c module giao ti?p qua MediatR (Internal Events).

??? Qu?n l� Database

S? d?ng script trong thu m?c scripts/ef.cmd d? t?o Migration cho module tuong ?ng.

  • net9.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.9.3 99 2/8/2026
1.9.2 99 2/8/2026
1.8.1 109 1/25/2026
1.8.0 108 1/25/2026
1.7.6 106 1/24/2026
1.7.5 106 1/24/2026
1.7.4 110 1/24/2026
1.7.3 110 1/24/2026