Packt
Mastering Microservices Design with CQRS, DDD, and Marten

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

Packt

Mastering Microservices Design with CQRS, DDD, and Marten

Included with Coursera Plus

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

Recommended experience

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

Recommended experience

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

What you'll learn

  • How to design microservices using CQRS, DDD, and Marten in a .NET environment.

  • How to implement gRPC for high-performance communication between microservices.

  • Best practices for handling cross-cutting concerns, like logging and exception handling, in microservices.

  • How to optimize microservices performance using Redis caching and Docker containers.

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

January 2026

Assessments

9 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

Build your subject-matter expertise

This course is part of the .NET 8 Microservices – DDD, CQRS & Clean Architecture Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 7 modules in this course

In this module, we will focus on developing the foundational components for Catalog.API, including infrastructure, handlers, and endpoints for CRUD operations. We'll use Marten as a transactional document database and integrate PostgreSQL using Docker for seamless data management. By the end of this section, you will be able to create and test CRUD operations for your Catalog API.

What's included

26 videos2 readings1 assignment

In this module, we will address various cross-cutting concerns in Catalog.API, including validation, exception handling, and logging. We will introduce MediatR and Fluent Validation for automatic request validation and demonstrate how to handle global exceptions. By the end of this section, you'll have a robust, maintainable Catalog API with improved reliability and error management.

What's included

21 videos1 assignment

In this module, we will explore how to design Basket microservices with Vertical Slice Architecture and implement CQRS using MediatR. We will focus on building and testing features like GetBasket, StoreBasket, and DeleteBasket, while utilizing Marten for data management. You will also learn how to containerize and orchestrate Basket microservices using Docker and Docker-Compose for seamless deployment.

What's included

25 videos1 assignment

In this module, we will enhance the performance of Basket microservices by integrating Redis for distributed caching. You will learn how to implement the cache-aside pattern and use Docker-Compose to orchestrate both PostgreSQL and Redis for a scalable microservices architecture. By the end of this section, you will have a high-performing, fault-tolerant Basket microservice.

What's included

15 videos1 assignment

In this module, we will focus on synchronous communication in microservices using gRPC. You will learn about the benefits of gRPC, how it works, and its role in enabling efficient communication between services. By the end of this section, you will be able to leverage gRPC for high-performance, real-time interactions between microservices.

What's included

5 videos1 assignment

In this module, we will design and develop Discount.Grpc microservices, exposing CRUD operations for managing discounts via gRPC. You will also learn how to generate service classes from the discount.proto file and configure the service in your microservices solution. By the end of this section, you'll be able to implement and test gRPC communication for discount management.

What's included

20 videos1 assignment

In this module, we will focus on consuming the Discount gRPC service from the Basket microservice when adding items to the cart. You will learn how to configure and test this integration in a Docker environment, ensuring that discounts are correctly applied during checkout. By the end of this section, you'll be able to integrate and verify gRPC communication between Basket and Discount microservices.

What's included

8 videos1 reading3 assignments

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

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