Packt
Advanced Microservices with DDD, CQRS, and Event-Driven

Gain next-level skills with Coursera Plus for $199 (regularly $399). Save now.

Packt

Advanced Microservices with DDD, CQRS, and Event-Driven

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Advanced level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Advanced level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • How to design microservices using DDD, CQRS, and Clean Architecture for scalability.

  • How to implement event-driven architectures using RabbitMQ and MassTransit.

  • Best practices for asynchronous communication between microservices.

  • How to build and integrate a shopping web client with backend services via YARP.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

January 2026

Assessments

10 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 9 modules in this course

In this module, we will dive into the design and implementation of the Ordering microservice, applying Domain-Driven Design (DDD), CQRS, and Clean Architecture principles. You’ll explore how to structure your code using these patterns and integrate best practices such as SOLID and KISS. By the end of this section, you will have a robust foundation for your Ordering microservices, ensuring scalability and maintainability.

What's included

13 videos2 readings1 assignment

In this module, we will focus on implementing tactical DDD patterns in the Ordering domain layer. You will develop rich-domain model entities, including order-related value objects and aggregates, and explore the concept of domain events. This section will provide you with a deep understanding of DDD’s tactical patterns, ensuring a well-structured and maintainable domain layer.

What's included

12 videos1 assignment

In this module, we will develop the infrastructure layer for Ordering microservices using EF Core with the code-first approach. You will configure SQL Server and apply EF Core migrations, enabling seamless data storage. Additionally, we will explore EF Core interceptors for entity auditing and domain event dispatching. By the end of this section, you will have a fully functional and scalable infrastructure layer for your Ordering service.

What's included

25 videos1 assignment

In this module, we will dive into the Ordering.Application layer, where we will implement CQRS using MediatR for managing commands and queries. You will learn how to combine CQRS with Event Sourcing for robust state management and implement domain event handlers. By the end of this section, you will be able to handle complex business logic and data retrieval with ease using CQRS and MediatR.

What's included

22 videos1 assignment

In this module, we will build the Ordering.API layer by exposing Minimal REST APIs using Carter. We will implement CRUD operations for order management, including create, update, and delete functionalities. Additionally, you will apply the REPR pattern to standardize responses and handle errors efficiently. By the end of this section, your Ordering API will be ready to interact seamlessly with other services and clients.

What's included

17 videos1 assignment

In this module, we will explore the implementation of asynchronous communication between the Basket and Ordering microservices using RabbitMQ and MassTransit. You will learn how to use the Fan-Out Publish/Subscribe pattern to handle event-driven messaging and manage distributed transactions with the Saga pattern. This section will provide you with the tools to build scalable, resilient microservices that communicate effectively in an event-driven architecture.

What's included

35 videos1 assignment

In this module, we will focus on building an API Gateway using YARP, a powerful reverse proxy for routing traffic between microservices. You will learn how to apply the Gateway Routing pattern and configure YARP to forward requests efficiently. We will also cover rate limiting and exception handling to ensure a secure and optimized gateway. By the end of this section, you will have a fully functional API Gateway that streamlines access to your microservices.

What's included

19 videos1 assignment

In this module, we will build a Shopping Web Client application that communicates with the YARP API Gateway using Refit, an HTTP client library. You will learn how to develop a rich user interface using Razor Pages, where users can browse products, add items to their cart, and complete orders. By the end of this section, your Shopping Web application will be fully integrated with the microservices architecture, providing a seamless user experience.

What's included

31 videos1 assignment

In this final module, we take a moment to thank you for your dedication and participation throughout the course. This section will motivate you to continue applying the best practices you’ve acquired, ensuring your success in building scalable and efficient microservices. Best of luck as you apply these skills in your future projects!

What's included

1 video1 reading2 assignments

Instructor

Packt - Course Instructors
Packt
1,299 Courses334,545 learners

Offered by

Packt

Explore more from Software Development

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions