Muonroi.Microservices.Template 1.7.4

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

Muonroi Microservices Template

M?u gi?i ph�p ki?n tr�c Microservices ph�n t�n s? d?ng thu vi?n Muonroi Building Block v� YARP Gateway. Ph� h?p cho h? th?ng l?n, c?n kh? nang m? r?ng d?c l?p.

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

  • src/Gateways: Ch?a API Gateway s? d?ng YARP (Yet Another Reverse Proxy).
  • src/Services: Danh s�ch c�c microservices (v� d?: CatalogService). M?i service c� Database v� Logic ri�ng.
  • docker-compose.yml: C?u h�nh kh?i ch?y to�n b? h? th?ng b?ng Docker.

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

C�ch 1: Ch?y tr?c ti?p (Local)

  1. M? terminal t?i thu m?c root.
  2. Ch?y script h? tr?: powershell ./scripts/run-all.ps1 (S? m? d?ng th?i Gateway v� c�c Services).

C�ch 2: S? d?ng Docker

  1. Ch?y l?nh: docker-compose up -d
  2. Truy c?p Gateway t?i: http://localhost:5000
  3. Truy c?p Consul (Service Discovery) t?i: http://localhost:8500

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

  • YARP Gateway: �i?u hu?ng request th�ng minh, h? tr? load balancing.
  • Service Discovery: T�ch h?p s?n v?i Consul.
  • Distributed Logging: Ghi log t?p trung ra file theo t?ng service.
  • Auto-CRUD: M?i microservice h? tr? t? d?ng t?o API cho Entity.
  • 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 112 2/8/2026
1.9.2 107 2/8/2026
1.8.1 125 1/25/2026
1.8.0 125 1/25/2026
1.7.6 125 1/24/2026
1.7.5 124 1/24/2026
1.7.4 124 1/24/2026
1.7.3 125 1/24/2026
1.0.0-alpha.2 29 3/8/2026
1.0.0-alpha.1 32 3/8/2026