This course covers the implementation of CQRS (Command Query Responsibility Segregation) patterns and API development using MediatR for modular communication in .NET-based applications. You’ll learn how to structure applications using CQRS, focusing on the separation of read and write operations, and explore the integration of MediatR for handling commands and queries. With real-world examples, you will see how these patterns improve scalability and modularity in your applications.



CQRS, API Development, and Module Communication
Ce cours fait partie de Spécialisation .NET 8 Backend Bootcamp – Modulith, DDD & CQRS

Instructeur : Packt - Course Instructors
Inclus avec
Expérience recommandée
Ce que vous apprendrez
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
Compétences que vous acquerrez
- Catégorie : Redis
- Catégorie : Restful API
- Catégorie : Database Development
- Catégorie : Maintainability
- Catégorie : Software Design Patterns
- Catégorie : Scalability
- Catégorie : PostgreSQL
- Catégorie : .NET Framework
- Catégorie : Debugging
- Catégorie : Software Architecture
- Catégorie : Application Programming Interface (API)
- Catégorie : Data Validation
- Catégorie : Middleware
Détails à connaître

Ajouter à votre profil LinkedIn
mai 2025
11 devoirs
Découvrez comment les employés des entreprises prestigieuses maîtrisent des compétences recherchées

Élaborez votre expertise du sujet
- Apprenez de nouveaux concepts auprès d'experts du secteur
- Acquérez une compréhension de base d'un sujet ou d'un outil
- Développez des compétences professionnelles avec des projets pratiques
- Obtenez un certificat professionnel partageable


Obtenez un certificat professionnel
Ajoutez cette qualification à votre profil LinkedIn ou à votre CV
Partagez-le sur les réseaux sociaux et dans votre évaluation de performance

Il y a 10 modules dans ce cours
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.
Inclus
7 vidéos2 lectures1 devoir
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.
Inclus
15 vidéos1 devoir
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.
Inclus
18 vidéos1 devoir
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.
Inclus
18 vidéos1 devoir
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.
Inclus
5 vidéos1 devoir
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.
Inclus
13 vidéos1 devoir
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.
Inclus
9 vidéos1 devoir
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.
Inclus
14 vidéos1 devoir
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.
Inclus
21 vidéos1 devoir
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.
Inclus
13 vidéos1 lecture2 devoirs
Instructeur

Offert par
En savoir plus sur Software Development
Pour quelles raisons les étudiants sur Coursera nous choisissent-ils pour leur carrière ?





Ouvrez de nouvelles portes avec Coursera Plus
Accès illimité à 10,000+ cours de niveau international, projets pratiques et programmes de certification prêts à l'emploi - tous inclus dans votre abonnement.
Faites progresser votre carrière avec un diplôme en ligne
Obtenez un diplôme auprès d’universités de renommée mondiale - 100 % en ligne
Rejoignez plus de 3 400 entreprises mondiales qui ont choisi Coursera pour les affaires
Améliorez les compétences de vos employés pour exceller dans l’économie numérique
Foire Aux Questions
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
Plus de questions
Aide financière disponible,