https://github.com/loresoft/mediatr.commandquery
CQRS framework based on MediatR
https://github.com/loresoft/mediatr.commandquery
cqrs entity-framework-core mediatr
Last synced: 6 months ago
JSON representation
CQRS framework based on MediatR
- Host: GitHub
- URL: https://github.com/loresoft/mediatr.commandquery
- Owner: loresoft
- License: mit
- Created: 2018-07-31T14:22:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-02T08:05:41.000Z (6 months ago)
- Last Synced: 2025-04-03T11:15:16.024Z (6 months ago)
- Topics: cqrs, entity-framework-core, mediatr
- Language: C#
- Homepage: http://loresoft.com/MediatR.CommandQuery/
- Size: 1.16 MB
- Stars: 26
- Watchers: 2
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# MediatR.CommandQuery
CQRS framework using MediatR, AutoMapper and FluentValidation
| Package | Version | Description |
| :------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------- |
| [MediatR.CommandQuery](https://www.nuget.org/packages/MediatR.CommandQuery/) | [](https://www.nuget.org/packages/MediatR.CommandQuery/) | Base package for Commands, Queries and Behaviours |
| [MediatR.CommandQuery.EntityFrameworkCore](https://www.nuget.org/packages/MediatR.CommandQuery.EntityFrameworkCore/) | [](https://www.nuget.org/packages/MediatR.CommandQuery.EntityFrameworkCore/) | Entity Framework Core handlers for the base Commands and Queries |
| [MediatR.CommandQuery.MongoDB](https://www.nuget.org/packages/MediatR.CommandQuery.MongoDB/) | [](https://www.nuget.org/packages/MediatR.CommandQuery.MongoDB/) | Mongo DB handlers for the base Commands and Queries |
| [MediatR.CommandQuery.Endpoints](https://www.nuget.org/packages/MediatR.CommandQuery.Endpoints/) | [](https://www.nuget.org/packages/MediatR.CommandQuery.Endpoints/) | Minimal API endpoints for base Commands and Queries |
| [MediatR.CommandQuery.Mvc](https://www.nuget.org/packages/MediatR.CommandQuery.Mvc/) | [](https://www.nuget.org/packages/MediatR.CommandQuery.Mvc/) | MVC Controller endpoints base Commands and Queries |## Features
- Base commands and queries for common CRUD operations
- Generics base handlers for implementing common CRUD operations
- Common behaviors for audit, caching, soft delete, multi-tenant and validation
- View modal to data modal mapping via AutoMapper
- Model validation via FluentValidation
- Entity Framework Core handlers for common CRUD operations
- MongoDB handlers for common CRUD operations## Installation
The MediatR.CommandQuery.EntityFrameworkCore library is available on nuget.org via package name `MediatR.CommandQuery.EntityFrameworkCore`.
To install MediatR.CommandQuery.EntityFrameworkCore, run the following command in the Package Manager Console
```powershell
Install-Package MediatR.CommandQuery.EntityFrameworkCore
```OR
```shell
dotnet add package MediatR.CommandQuery.EntityFrameworkCore
```