Packt
CQRS, API Development, and Module Communication
Packt

CQRS, API Development, and Module Communication

Included with Coursera Plus

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

Recommended experience

15 hours to complete
3 weeks at 5 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

15 hours to complete
3 weeks at 5 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Implement CQRS and MediatR to efficiently manage commands and queries in modular applications.

  • Develop modular APIs using minimal APIs, Carter, and REPR design patterns for efficient communication

  • Handle cross-cutting concerns like validation, logging, and exception handling within the MediatR pipeline

  • Optimize application performance with distributed caching strategies using Redis in modular systems

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

May 2025

Assessments

11 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 Backend Bootcamp – Modulith, DDD & CQRS 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
Coursera Career Certificate

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Coursera Career Certificate

There are 10 modules in this course

In this module, we will dive into developing application use cases with CQRS and MediatR. You will learn how to structure commands and queries separately to streamline processing, implement MediatR for command and query handling, and create abstractions that enhance modularity and clarity in your workflows.

What's included

7 videos2 readings1 assignment

In this module, we will explore how to apply CQRS and MediatR for developing catalog module use cases. You will learn how to create and organize CQRS components, including handling commands and queries for product data, and using MediatR for efficient request processing in the catalog module.

What's included

15 videos1 assignment

In this module, we will focus on building lightweight and efficient catalog API endpoints using minimal APIs with Carter. You will learn how to expose essential product operations through RESTful APIs while adhering to CQRS patterns and utilizing the REPR design pattern for optimized request handling.

What's included

18 videos1 assignment

In this module, we will explore how to manage cross-cutting concerns such as validation, exception handling, and logging in modular applications. You will learn to integrate Fluent Validation, automate validation in MediatR pipelines, and implement structured logging and global exception handling to enhance the application's reliability and maintainability.

What's included

18 videos1 assignment

In this module, we will focus on developing the basket module using vertical slice architecture and CQRS. You will learn how to design domain models for the shopping cart, structure commands and queries efficiently, and implement CQRS patterns for handling operations related to the basket module.

What's included

5 videos1 assignment

In this module, we will explore the process of setting up EF Core with PostgreSQL for the basket module. You will learn how to apply the code-first approach to create the database schema, implement migrations, and configure EF Core mappings to persist domain models into PostgreSQL efficiently.

What's included

13 videos1 assignment

In this module, we will focus on developing use cases for the basket module using CQRS and MediatR. You will learn how to implement commands and queries for basket operations, structure the folder architecture for better organization, and leverage MediatR to handle requests effectively within the application.

What's included

9 videos1 assignment

In this module, we will develop minimal API endpoints for the basket module using Carter. You will learn how to expose essential basket operations through RESTful APIs, integrate CQRS and VSA patterns, and optimize API request processing for better performance and scalability.

What's included

14 videos1 assignment

In this module, we will explore how to implement Redis as a distributed cache in the basket module. You will learn how to optimize data retrieval using the cache-aside pattern, configure Redis within the application, and manage cache invalidation for better performance and consistency.

What's included

21 videos1 assignment

In this module, we will explore how to handle synchronous communication between modules using in-process public APIs. You will learn to set up shared contracts, implement communication patterns across modules, and test the synchronization of data between different components in your application.

What's included

13 videos1 reading2 assignments

Instructor

Packt - Course Instructors
Packt
717 Courses107,704 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."

New to Software Development? Start here.

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