Ahm7dKhalifa / efcore-ddd-demo

A demonstration how to use EF Core in a DDD context.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Domain driven design with Entity Framework Core

Welcome to this repository. In this repository you'll find demo code that shows how to use Entity Framework Core with Domain Driven Design. Please be aware, it's pretty opinionated.

System requirements

  • Dotnet 6.0 SDK
  • Visual Studio Code or a similar IDE/Editor

Getting started

You can run this demo using a set of unit-tests that are included. Please follow these steps to run the tests on your machine:

  • git clone https://github.com/wmeints/efcore-ddd-demo
  • cd efcore-ddd-demo/src
  • dotnet test

No database is required, this code base uses the in-memory provider for this purpose.

Versions

There are multiple versions of this demo:

  • .NET 5 - Shown in the DotNetFlix videos
  • .NET 6 - The latest version

Learn more

I've created a couple of videos on the subject and wrote a series of blogposts. Please find them below:

About

A demonstration how to use EF Core in a DDD context.

License:MIT License


Languages

Language:C# 100.0%