Giter VIP home page Giter VIP logo

dddframework.solution's Introduction

DDDFramework

DDDFramework is an application framework for C# applications built with DDD

Features

This solution provides a framework for building DDD applications. Includes building blocks for implementing aggregates, entities, value objects, repositories and domain events. The framework also includes the support for handling multi-tenancy and support for eventual consistency using the Outbox pattern.

Example

The framework includes an example using all parts of the building blocks. Multi-tenancy and the eventual consistency between two bounded contexts. The example uses an in memory event bus. This won't work as an event bus if both contexts runs in seperate processes.

This example uses a Blazor application that will set up both contexts and running them in one process instead of two. Both contexts can be setup as running in seperate processes but then another implementation of the event bus must be present.

Example features

  • Aggregates, Multi tenant aggregates
  • Entities
  • Value objects
  • Domain services
  • Domain Events
  • Repositories, Multi tenant repositories
  • Domain event handling (within same bounded context)
  • Domain notification handling (external communication outside bounded context using eventual consistency)
  • Integration event handling

How to run sample

Before running the sample you need to publish the databases. These can be found under /FirstContext/Database and /SecondContext/Database. Right click these and select publish and point out the database server where you want to publish these.

After this is done the appsettings.json/appsettings.Development.json needs to be updated with connection string to the databases.

Run SampleApplication.Web

dddframework.solution's People

Contributors

thepexorcist avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.