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.
#r "nuget: CommandQuery, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CommandQuery as a Cake Addin
#addin nuget:?package=CommandQuery&version=1.0.0

// Install CommandQuery as a Cake Tool
#tool nuget:?package=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.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/
CommandQuery.DependencyInjection
Dependency Injection for CommandQuery

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 2,593 2/2/2020
0.9.0 1,685 11/20/2019
0.8.0 4,077 2/16/2019
0.7.0 864 9/22/2018
0.6.0 757 9/15/2018
0.5.0 814 7/6/2018
0.4.0 797 5/16/2018
0.3.2 817 5/1/2018
0.3.1 863 1/6/2018
0.3.0 834 1/3/2018
0.2.0 937 4/25/2017
0.1.1 1,011 8/29/2016
0.1.0 840 8/28/2016