CommandQuery 1.0.0

Command Query Separation for .NET Framework and .NET Standard ⚙️

✔️ Build services that separate the responsibility of commands and queries
✔️ Focus on implementing the handlers for commands and queries
✔️ Create APIs with less boilerplate code
📄 https://hlaueriksson.me/CommandQuery/

Install-Package CommandQuery -Version 1.0.0
dotnet add package CommandQuery --version 1.0.0
<PackageReference Include="CommandQuery" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CommandQuery --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

☑️ Removed the dependency on Newtonsoft.Json
☑️ Moved methods with JSON parameters from CommandProcessor and QueryProcessor to extension methods in CommandQuery.Extensions
☑️ Renamed CommandValidationException to CommandException
☑️ Renamed QueryValidationException to QueryException
☑️ Inherit from CommandException and QueryException to create custom exceptions with special properties that can be thrown from handlers
☑️ Moved Error to CommandQuery.Abstractions

NuGet packages (6)

Showing the top 5 NuGet packages that depend on CommandQuery:

Package Downloads
CommandQuery.AspNetCore
Command Query Separation for ASP.NET Core 🌐 ✔️ Provides generic actions for handling the execution of commands and queries ✔️ Enables APIs based on HTTP POST and GET 📄 https://hlaueriksson.me/CommandQuery.AspNetCore/
CommandQuery.AzureFunctions
Command Query Separation for Azure Functions ⚡ ✔️ Provides generic function support for commands and queries with HTTPTriggers ✔️ Enables APIs based on HTTP POST and GET 📄 https://hlaueriksson.me/CommandQuery.AzureFunctions/
CommandQuery.DependencyInjection
Dependency Injection for CommandQuery
CommandQuery.AWSLambda
Command Query Separation for AWS Lambda ⚡ ✔️ Provides generic function support for commands and queries with Amazon API Gateway ✔️ Enables APIs based on HTTP POST and GET 📄 https://hlaueriksson.me/CommandQuery.AWSLambda/
CommandQuery.AspNet.WebApi
Command Query Separation for ASP.NET Web API 2 🌐 ✔️ Provides generic actions for handling the execution of commands and queries ✔️ Enables APIs based on HTTP POST and GET 📄 https://hlaueriksson.me/CommandQuery.AspNet.WebApi/

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 2,026 2/2/2020
0.9.0 1,435 11/20/2019
0.8.0 3,739 2/16/2019
0.7.0 525 9/22/2018
0.6.0 436 9/15/2018
0.5.0 493 7/6/2018
0.4.0 520 5/16/2018
0.3.2 546 5/1/2018
0.3.1 559 1/6/2018
0.3.0 550 1/3/2018
0.2.0 614 4/25/2017
0.1.1 783 8/29/2016
0.1.0 639 8/28/2016