run-aspnetcore-microservices
Microservices on .NET platforms used ASP.NET Web API, Docker, RabbitMQ, MassTransit, Grpc, Yarp API Gateway, PostgreSQL, Redis, SQLite, SqlServer, Marten, Entity Framework Core, CQRS, MediatR, DDD, Vertical and Clean Architecture implementation with using latest features of .NET 8 and C# 12
RepoPi no longer tracks this repository daily. Stats below were last updated on 2026-06-11. See current data on GitHub.
💡 Why It Matters
This repository provides a full-stack example of building microservices on the .NET 8 platform using ASP.NET Core Minimal APIs, combining Domain-Driven Design, CQRS with MediatR, and event-driven communication via RabbitMQ and MassTransit. It integrates multiple database technologies, including PostgreSQL with Marten for document storage, Redis for distributed caching, SQLite, and SQL Server, showcasing a vertical slice architecture that organises features by domain. The inclusion of a Yarp API Gateway for routing and gRPC for synchronous inter-service calls reflects a comprehensive approach to microservices communication patterns. Teams focused on adopting .NET 8 microservices with a strong emphasis on clean architecture and modern C# features will find this especially relevant. However, with just over 3,200 stars, a last commit in March 2026, and no notable growth signal, it appears more educational or reference-oriented than widely adopted. Avoid this if you need a mature, widely supported microservices framework or are looking for a solution with extensive community plugins like Steeltoe or Dapr.
🎯 When to Use
Use this repository when building a .NET 8 microservices system where you want to combine vertical slice architecture, event-driven messaging with RabbitMQ, and gRPC for inter-service communication, especially in e-commerce domains. If you require broader cloud-native features or multi-language support, consider alternatives like Dapr or Steeltoe for more established microservices frameworks.
👥 Team Fit & Use Cases
This setup is typical for engineering teams developing modular e-commerce platforms with separate services for catalog, basket, discount, and ordering, utilising a mix of relational and NoSQL databases. It suits teams looking to implement CQRS and DDD patterns with .NET, leveraging RabbitMQ for asynchronous messaging and Yarp for API gateway routing.
🏷️ Topics & Ecosystem
📊 Activity
Latest commit: 2026-03-09. Activity data is based on daily RepoPi snapshots of the GitHub repository.