ducmeit1 / Cqrswithmediatr
CQRS implementation in .NET Core with MediaTR tutorial
Stars: ✭ 71
Projects that are alternatives of or similar to Cqrswithmediatr
Revo
Event Sourcing, CQRS and DDD framework for C#/.NET Core.
Stars: ✭ 162 (+128.17%)
Mutual labels: aspnetcore, netcore, cqrs, domain-driven-design
EcommerceDDD
Experimental full-stack application using Domain-Driven Design, CQRS, and Event Sourcing.
Stars: ✭ 178 (+150.7%)
Mutual labels: cqrs, domain-driven-design, netcore
MonolithicArchitecture
This repository presents an approach on how to build an application using Monolithic architecture, ASP.NET Core, EntityFrameworkCore, Identity Server, CQRS, DDD
Stars: ✭ 18 (-74.65%)
Mutual labels: cqrs, aspnetcore, domain-driven-design
Neventlite
NEventLite - An extensible lightweight library for .NET that manages the Aggregate lifecycle in an Event Sourced system. Supports Event and Snapshot storage providers like EventStore/Redis or SQL Server. Built with dependency injection in mind and seamlessly integrates with AspNetCore.
Stars: ✭ 117 (+64.79%)
Mutual labels: aspnetcore, netcore, domain-driven-design
ddd-net-ef-core
Self study: DDD, .net core, entity framework core
Stars: ✭ 41 (-42.25%)
Mutual labels: cqrs, domain-driven-design, netcore
Practical.cleanarchitecture
Asp.Net Core 5 Clean Architecture (Microservices, Modular Monolith, Monolith) samples (+Blazor, Angular 11, React 17, Vue 2.6), Domain-Driven Design, CQRS, Event Sourcing, SOLID, Asp.Net Core Identity Custom Storage, Identity Server 4 Admin UI, Entity Framework Core, Selenium E2E Testing, SignalR Notification, Hangfire Tasks Scheduling, Health Checks, Security Headers, ...
Stars: ✭ 639 (+800%)
Mutual labels: cqrs, domain-driven-design
Pitstop
This repo contains a sample application based on a Garage Management System for Pitstop - a fictitious garage. The primary goal of this sample is to demonstrate several software-architecture concepts like: Microservices, CQRS, Event Sourcing, Domain Driven Design (DDD), Eventual Consistency.
Stars: ✭ 708 (+897.18%)
Mutual labels: netcore, cqrs
Bing.netcore
Bing是基于 .net core 2.0 的框架,旨在提升团队的开发输出能力,由常用公共操作类(工具类、帮助类)、分层架构基类,第三方组件封装,第三方业务接口封装等组成。
Stars: ✭ 758 (+967.61%)
Mutual labels: aspnetcore, netcore
Rails event store
A Ruby implementation of an Event Store based on Active Record
Stars: ✭ 947 (+1233.8%)
Mutual labels: cqrs, domain-driven-design
All Things Cqrs
Comprehensive guide to a couple of possible ways of synchronizing two states with Spring tools. Synchronization is shown by separating command and queries in a simple CQRS application.
Stars: ✭ 474 (+567.61%)
Mutual labels: cqrs, domain-driven-design
Eventsourcing.netcore
Examples and Tutorials of Event Sourcing in .NET Core
Stars: ✭ 760 (+970.42%)
Mutual labels: netcore, cqrs
Practical Clean Ddd
A simplified and effortless approach to get started with Domain-driven Design, Clean Architecture, CQRS, and Microservices patterns
Stars: ✭ 28 (-60.56%)
Mutual labels: aspnetcore, cqrs
Modular Monolith With Ddd
Full Modular Monolith application with Domain-Driven Design approach.
Stars: ✭ 6,210 (+8646.48%)
Mutual labels: cqrs, domain-driven-design
Equinoxproject
Full ASP.NET Core 5 application with DDD, CQRS and Event Sourcing concepts
Stars: ✭ 5,120 (+7111.27%)
Mutual labels: aspnetcore, cqrs
Netcorebbs
ASP.NET Core Light forum NETCoreBBS
Stars: ✭ 483 (+580.28%)
Mutual labels: aspnetcore, netcore
Eventsourcing
A library for event sourcing in Python.
Stars: ✭ 760 (+970.42%)
Mutual labels: cqrs, domain-driven-design
Foxoffice
Sample application demonstrating how to build a distributed cloud .NET Core application based on CQRS and Event Sourcing.
Stars: ✭ 33 (-53.52%)
Mutual labels: cqrs, domain-driven-design
Factory
The missing, complete example of Domain-Driven Design enterprise application backed by Spring stack
Stars: ✭ 967 (+1261.97%)
Mutual labels: cqrs, domain-driven-design
Jdonframework
Domain-Driven-Design Pub/Sub Domain-Events framework
Stars: ✭ 978 (+1277.46%)
Mutual labels: cqrs, domain-driven-design
CQRS With MediaTR
Read my tutorial at:
Example working CQRS and Sub/Pub with MediatR
Requirements:
- Have experienced with Entity Framework Core - Code First.
- Have experienced with ASP.NET Core and Rest API
- Optional: Have experienced with Docker
Instructions:
- Setup a MS SQL Server for running database
- Start up project with Customer.API project
Structures:
- Customer.API: API Layer
- Customer.Data: Data Layer
- Customer.Domain: Models Layer
- Customer.Service: Application Layer
Run MSSQL Docker:
docker run -e 'ACCEPT_EULA=Y' -e '[email protected]' -p 1433:1433 -d mcr.microsoft.com/mssql/server:2017-latest
Run DB Migrations:
dotnet ef database update
Run application and test with Swagger:
dotnet run
- Access to: localhost:5000 or localhost:5001 with path: /swagger
Run with docker-compose
- Requirement:
- Installed docker and docker-compose
docker-compose build
docker-compose up
Turn off auto migrate
- Please comment this line in
Startup.cs
app.UseAutoMigrateDatabase<CustomerDbContext>();
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].