Udemyallen

.NET Microservices: CQRS & Event Sourcing with Kafka

Build scalable microservices with C#, .NET, Kafka, and CQRS/Event Sourcing. Master modern architecture for robust applications.

Related:Service Mesh
4.5(1,609)
10,045students
8h 30m
Certificate
Sean Campbell
Sean CampbellPassionate Software Engineer

Course Content

.NET Microservices: CQRS & Event Sourcing with Kafka is an all-levels Udemy course taught by Sean Campbell. It runs 8h 30m, is taught in English, and includes a certificate of completion. Learners rate it 4.5 out of 5 from 1,609 reviews, with 10,045 students enrolled. It is a paid course, last updated September 2025.

Learn to build highly scalable and decoupled .NET microservices using the powerful CQRS (Command Query Responsibility Segregation) and Event Sourcing patterns. This course takes a unique approach: you'll master the underlying principles by building your own custom CQRS framework and Event Sourcing infrastructure from the ground up, using C# and Apache Kafka.

Don't worry if this sounds challenging! We provide a carefully guided, step-by-step learning experience to build your expertise and confidence.

By the end of this course, you will be able to:

  • Handle commands and emit events: Understand how to manage actions and trigger state changes.
  • Implement command and query dispatchers using the Mediator pattern for efficient data routing.
  • Manage aggregate state with event messages: Learn how to update and evolve the state of your application entities through events.
  • Build an event store/write database using MongoDB for persistent event storage.
  • Create a read database using MS SQL optimized for querying.
  • Implement event versioning to ensure data integrity and compatibility.
  • Apply optimistic concurrency control to prevent data conflicts.
  • Publish events to Apache Kafka for asynchronous communication and event streaming.
  • Consume events from Apache Kafka to update and populate your read database.
  • Replay the event store to reconstruct aggregate state from historical events.
  • Separate read and write concerns for improved performance and scalability.
  • Structure your code using Domain-Driven Design (DDD) best practices for maintainability and clarity.
  • Replay the event store to recreate the entire read database.
  • Replay the event store to migrate the entire read database to a different database type, such as PostgreSQL.

This course provides a deep dive into CQRS and Event Sourcing, empowering you to develop microservices that are exceptionally decoupled, highly scalable, and resilient. Master the art of building robust, event-driven architectures with .NET and Kafka.

$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.

pluralsight
pluralsight
5.0
2h 22m
intermediate
pluralsight
5.0
2h 34m
intermediate
pluralsight
5.0
2h 7m
intermediate
pluralsight
5.0
2h
intermediate
pluralsight