相关文章推荐
酷酷的海豚  ·  如何禁用 Firefox ...·  2 年前    · 
愉快的柿子  ·  javascript - ...·  2 年前    · 
深沉的手套  ·  C# Socket的TCP通讯 - ...·  2 年前    · 

Repository files navigation

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:

  • DDD in EF Core - Part 1
  • DDD in EF Core - Part 2
  • DDD in EF Core - Part 3
  •