CQRS
Dosaic.Plugins.Handlers.Cqrs is a plugin
that provides CQRS implementation for basic resource operations, automatically registering handlers and validators for CRUD operations.
Installation
To install the nuget package follow these steps:
Appsettings.yml
No specific configuration in appsettings.yml is required for this plugin.
Configuration in your plugin host
No specific configuration available.
Features
Automatic registration of default CRUD handlers:
Create (
ICreateHandler<>
)Update (
IUpdateHandler<>
)Delete (
IDeleteHandler<>
)Get (
IGetHandler<>
)GetList (
IGetListHandler<>
)
Auto-discovery and registration of custom handlers implementing
IHandler
Auto-discovery and registration of custom validators implementing
IBaseValidator
Example Usage
Example service using the create handler, all handlers are to be used in the same way
Last updated