Skip to content

Microservice + DDD + CQRS + MongoDB + FluentValidation + AutoMapper + MassTransit for event handling with RabbitMQ

Notifications You must be signed in to change notification settings

Mohammadali-Ghods/CleanMicroserviceWithDDD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a Clean Microservices-based Application with .NET Core, MongoDB, and DDD

I have built a microservices-based application using .NET Core and C#. My focus was on creating a clean codebase, which has allowed me to develop each service independently and to use MongoDB as the main database (although you can easily switch to SQL Server).

To organize my codebase around the business domain, I implemented Domain-Driven Design (DDD). This approach helped to align my codebase with the business needs, rather than just focusing on technical implementation details.

To separate the responsibility for handling commands and queries, I used the Command Query Responsibility Segregation (CQRS) pattern. This allows me to optimize the two responsibilities independently, improving the overall performance and scalability of my application.

I also used Docker to package and deploy my microservices. This approach makes it easy for me to deploy and run my application on different environments.

Overall, I believe that my application is well-architected and built on modern technologies and patterns. This should make it scalable and maintainable over time.

About

Microservice + DDD + CQRS + MongoDB + FluentValidation + AutoMapper + MassTransit for event handling with RabbitMQ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published