Skip to content

loresoft/MediatR.CommandQuery

Repository files navigation

MediatR.CommandQuery

CQRS framework using MediatR, AutoMapper and FluentValidation

Package Version Description
MediatR.CommandQuery MediatR.CommandQuery Base package for Commands, Queries and Behaviours
MediatR.CommandQuery.EntityFrameworkCore MediatR.CommandQuery.EntityFrameworkCore Entity Framework Core handlers for the base Commands and Queries
MediatR.CommandQuery.MongoDB MediatR.CommandQuery.MongoDB Mongo DB handlers for the base Commands and Queries
MediatR.CommandQuery.Endpoints MediatR.CommandQuery.Endpoints Minimal API endpoints for base Commands and Queries
MediatR.CommandQuery.Mvc 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

Install-Package MediatR.CommandQuery.EntityFrameworkCore

OR

dotnet add package MediatR.CommandQuery.EntityFrameworkCore