DDD, CQRS and Event Sourcing in .NET

Learn how to apply the principles of Domain Driven Design, CQRS and Event Sourcing to build better systems that can meet the demands of your business.

Course Details

What Will Developers Learn?

Instead of just covering concepts in theory, this course focuses on learning by doing. You’ll get hands-on experience through C# exercises that explore different ways to build software. Along the way, you’ll pick up architecture principles and practices that help you create better systems.

DDD, CQRS, and Event Sourcing are useful on their own, but together they offer a powerful way to design modern applications.

You’ll learn how to build software that:

  • Reflects your domain and business more clearly
  • Is easier to test and validate
  • Scales more easily
  • Adapts better to change
  • Is easier to understand

You don’t have to build a full CQRS, ES, or DDD system from scratch to benefit from this course. You’ll come away with practical ideas, patterns, and principles to improve your current projects.

We’ll use .NET 9 and Visual Studio 2022, and you’ll build up a full application step by step in the exercises.

Targeted Audience

This course is for experienced C# developers who want to improve how they design, structure, and evolve their software systems. If you’re building complex applications that need to scale, handle change, or reflect real business rules, this course will show you how to apply Domain-Driven Design, CQRS, and Event Sourcing in practical ways using .NET.

You’ll benefit the most if you already know your way around .NET and are comfortable writing C# code, and now want to explore better architecture patterns and techniques for building maintainable and testable systems.

What Are the Course's Prerequisites?

To get the most out of this training, participants should have at least one year of experience as a C# developer. A strong understanding of C#, including generics, lambdas, and LINQ, is crucial. Previous experience in parallel or async programming is not required. This course is up-to-date with .NET 9 and C#13.

How Long is the Course?

The course takes 3 days to complete. However, this course can also either be delivered over a full 3 days or 6 half days.

What frameworks are we using?

Many of the code examples in this course are based on the concepts and approach published on cqrs.nu, including the CQRS Starter Kit developed as part of my previous work. The site offers a tutorial and sample code that reflect how we model commands, events, and aggregates, and serves as a foundation for the hands-on exercises in the course.

DDD, CQRS & Event Sourcing in .NET Agenda

  • Architecture principles
    • Composition
    • Command pattern
    • Eventual Consistency
    • Immutability
    • Micro front-ends
  • Domain Driven Design
    • Aggregates
    • Bounded Contexts
    • Invariants
    • Ubiquitous language
    • Value Objects
  • Command and Query Responsibility Segregation (CQRS)
    • Separating reads from writes
    • Commands and events
    • Read and write side
    • Querying
  • Modeling
    • Event storming
    • Event modeling
  • Mediator pattern
  • Testing
    • Test-driven development (TDD)
    • Behavior-driven development (BDD)
  • Event Sourcing
    • Using the KurrentDB EventStore
    • Versioning
  • And much more…

DDD, CQRS and Event Sourcing in .NET

Article SKU
T201

Duration
3 days or 6 half days

Level
Intermediate

Language
English, Swedish

Price
Contact me for a price enquiry or to submit interest.

DDD, CQRS and Event Sourcing in .NET Training FAQs

Do you provide both on-site and remote training classes?

Yes, we provide both types of training.

Do you provide training in both Swedish and English?

Yes, both options are available. All our course materials are in English and we can teach the class in either Swedish or English.

Do you do half-day training?

When we run on-site, we usually do full-day classes. For remote training, we can provide options for both half and full days.

Do you do webinars and shorter talks?

Yes, please visit our Talks page for more details.

Do you provide customized courses?

Yes we do that. Contact me for more information.

Put Tore to the Test: Book A Free Workshop

The best workshops create an immersive experience. See the benefits that practical, attentive, and up-to-date training can offer today by putting me to the test!

I offer 30-45 minute workshops that can be customized to your team’s needs: 

  • Choose a topic that is key to you and your team. 
  • Pick a webinar or in-person workshop if you’re in Sweden or Denmark.
  • I will tailor the workshop to the challenges you’re actually facing. 
  • Chat with me before going ahead to make sure it’s the right fit for you.
 

Feel free to get in touch using the details below, submitting a form on the contact page, or connect with me on LinkedIn!