• Stars
    star
    176
  • Rank 215,982 (Top 5 %)
  • Language
    C#
  • Created over 6 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Hands-on DDD with C# book code

Code for the Hands-on Domain-Driven Design with .NET Core book

In this repository you find the code for the Hands-on Domain-Driven Design book.

The book is available at Packt and Amazon.

First four chapters of the book have no code.

Table of content

  1. Why Domain-Driven Design?
  2. Language and Context
  3. EventStorming
  4. Designing the Model
  5. Implementing the Model
  6. Acting with Commands
  7. Consistency Boundary
  8. Aggregate Persistence
  9. CQRS - The Read Side
  10. Event Sourcing
  11. Projections and Queries
  12. Bounded Context
  13. Splitting the System

Running the infrastructure

For some chapters, you need to have the necessary infrastructure components, like database, running locally. The suggested way of doing this is using Docker and Docker Compose.

Each chapter has the Technical Requirelements section, please follow the guidelines carefully to ensure you run what is needed for each chapter before starting the application.

Contributions

If you find issues with the code or have problems running it, please open an issue in this repository and provide the following:

  • Comprehensive description of the issue
  • Environment specification (.NET Core SDK version, platform, IDE, etc)
  • Stack trace, if applicable

More Repositories

1

MassTransit.EventStoreIntegration

EventStore persistence for MassTransit
C#
47
star
2

auth0-vue3-ts

Vue 3 implementation of Auth0 API call demo using TypeScript
Vue
37
star
3

RxUI6WithAutofac

Sample usage of Autofac with ReactiveUI 6
C#
21
star
4

ddd-actors-talk

DDD, EventSourcing and Actors talk
C#
20
star
5

EventStore.Reactive

Reactive subscriptions for EventStore (geteventstore)
C#
17
star
6

dotnext

Live coding result from the DotNext Moscow 2020 conference, Hands-on Event Sourcing sessions.
C#
10
star
7

MassTransit.Gateway

Gateway between legacy and messaging
C#
9
star
8

dddeu-es-workshop

Materials for the DDD EU event sourcing workshop
C#
9
star
9

MassTransit.Prometheus

Collect the necessary MassTransit metrics for Prometheus
C#
7
star
10

docgen

Generate .NET API documentation in markdown using Roslyn code analysis
C#
6
star
11

eventstore-webinar

C#
5
star
12

Proto.Persistence.EventStore

C#
5
star
13

PrepareForEventSourcingWithCsharp

Preparation guidelines for the Practical EventSourcing with C# hands-on session
4
star
14

CsharpPatternMatching

C#
4
star
15

ReactiveUI.Autofac

Autofac adapter for ReactiveUI
C#
4
star
16

ndc-2020-talk-tracetrace

Code for the NDC 2020 talk about metrics and traces
C#
3
star
17

eventuous

3
star
18

hetzner-pulumi-k8s

Kubernetes deployment in Hetzner Cloud with Pulumi
TypeScript
2
star
19

RestSharpUpload

C#
1
star
20

xpirit-group1

C#
1
star
21

es-shell

C#
1
star
22

ServiceStack.Extras.Serilog

Serilog logging adapter for ServiceStack
C#
1
star
23

pulumi-eventstorecloud

WIP
Python
1
star
24

ToDoApp

Simple and well-organised todo app with .NET Core and Carter
C#
1
star
25

docker-dotnet-sonar-msbuild

Dockerfile for SonarQube MSBuild scanner using .NET Core
1
star
26

docker-limits

Example of detecting Docker container limits using C#
C#
1
star