Conqueror.CQS 0.1.0-beta.20

This is a prerelease version of Conqueror.CQS.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Conqueror.CQS --version 0.1.0-beta.20
                    
NuGet\Install-Package Conqueror.CQS -Version 0.1.0-beta.20
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Conqueror.CQS" Version="0.1.0-beta.20" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Conqueror.CQS" Version="0.1.0-beta.20" />
                    
Directory.Packages.props
<PackageReference Include="Conqueror.CQS" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Conqueror.CQS --version 0.1.0-beta.20
                    
#r "nuget: Conqueror.CQS, 0.1.0-beta.20"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Conqueror.CQS&version=0.1.0-beta.20&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Conqueror.CQS&version=0.1.0-beta.20&prerelease
                    
Install as a Cake Tool

Conqueror

A set of libraries to powercharge your .NET development.

Open points

  • for some features provide code snippets in documentation instead of library (e.g. common middlewares etc.)
  • use .ConfigureAwait(false) everywhere
  • add null checks to public API methods to support users that do not use nullable reference types

CQS

  • for .NET 6 add analyzer that ensures the ConfigurePipeline method is present on all handlers with pipeline configuration interface (including code fix)
  • rename CommandHandlerMetadata to CommandHandlerRegistration and make it public in the abstractions to allow external libraries to use it for server transports
    • same for queries
  • add tests for handlers that throw exceptions to assert contexts are properly cleared
  • expose command/query and conqueror context objects directly on middleware contexts
  • allow registering all custom interfaces in assembly as clients with AddConquerorCommandClientsFromAssembly(Assembly assembly, Action<ICommandPipelineBuilder> configurePipeline)
CQS middleware
  • create projects for common middlewares, e.g.
    • Conqueror.CQS.Middleware.Timeout
    • Conqueror.CQS.Middleware.Retry
CQS ASP Core
  • rename libraries to Conqueror.CQS.Transport.Http.Client and Conqueror.CQS.Transport.Http.Server.AspNetCore

  • delegate route path creation to service

    • in config for client middleware allow setting path convention
      • instruct users to place their route convention into their contracts module to allow both server and client to use the same convention
    • allow path to be set for http commands and queries via attribute
    • allow version to be set for http commands and queries via attribute
  • allow complex objects in GET queries by JSON-serializing them

  • allow registering commands and queries via DI extension instead of attribute

  • add missing tests

    • complex query objects for GET
    • custom serializer settings for read/write
    • null properties
    • null GET parameters
    • throw error on double http service registration
  • http server edge cases

    • throw error when duplicate command name is found

Eventing

  • make event publisher middleware pipeline configurable
  • make event publishing strategy customizable
    • ship two strategies out of the box (parallel and sequential)
      • make them available as service collection extension methods
    • sequential strategy as default
    • handle cancellation in strategy
  • add tests for service collection configuration
  • for .NET 6 add analyzer that ensures the ConfigurePipeline method is present on all handlers with pipeline configuration interface (including code fix)

Interactive streaming

  • implement middleware support
  • implement clients and transport infrastructure
  • for .NET 6 add analyzer that ensures the ConfigurePipeline method is present on all handlers with pipeline configuration interface (including code fix)
Interactive streaming ASP Core
  • refactor implementation to use transport client
  • ensure api description works
  • add tests for behavior when websocket connection is interrupted (i.e. disconnect without proper close handshake)
    • consider adding explicit message for signaling the end of the stream
  • propagate conqueror context
  • delegate route path creation to service
  • allow setting prefetch options (e.g. buffer size, prefetch batch size)

Reactive streaming

  • implement basic version
  • implement middleware support
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Conqueror.CQS:

Package Downloads
Conqueror.CQS.Transport.Http.Server.AspNetCore

Part of the Conqueror library set. Automatically generate HTTP endpoints for apps using ASP Core and the Conqueror command-query-separation (CQS) package.

Conqueror.CQS.Transport.Http.Client

Part of the Conqueror library set. Create HTTP clients for servers using the Conqueror command-query-separation (CQS) package.

Conqueror.CQS.Middleware.Logging

Part of the Conqueror library set. Logging middlewares for command-query-separation (CQS).

Conqueror.CQS.Middleware.DataAnnotationValidation

Part of the Conqueror library set. Data annotation validation middlewares for command-query-separation (CQS).

Conqueror.CQS.Middleware.Polly

Part of the Conqueror library set. Polly middlewares for command-query-separation (CQS).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.0-deprecated.4 357 4/17/2025
0.7.0-deprecated.3 157 4/17/2025
0.7.0-deprecated.2 180 4/16/2025
0.7.0-beta.1 282 3/10/2025
0.6.0-beta.2 92 8/25/2024
0.6.0-beta.1 86 8/13/2024
0.5.0-beta.4 198 11/19/2023
0.5.0-beta.3 137 7/18/2023
0.5.0-beta.2 118 7/15/2023
0.5.0-beta.1 113 4/22/2023
0.4.0-beta.2 131 2/26/2023
0.4.0-beta.1 121 2/25/2023
0.3.0-beta.3 127 2/12/2023
0.3.0-beta.2 160 1/9/2023
0.3.0-beta.1 144 1/7/2023
0.2.0-beta.3 147 1/1/2023
0.2.0-beta.2 202 11/9/2022
0.2.0-beta.1 148 11/6/2022
0.1.0-beta.21 140 10/29/2022
0.1.0-beta.20 139 10/28/2022
0.1.0-beta.19 166 10/20/2022
0.1.0-beta.18 130 10/16/2022
0.1.0-beta.17 132 10/16/2022
0.1.0-beta.16 133 10/16/2022
0.1.0-beta.15 134 10/15/2022
0.1.0-beta.14 171 7/31/2022
0.1.0-beta.13 167 7/31/2022
0.1.0-beta.12 155 7/30/2022
0.1.0-beta.11 156 7/30/2022
0.1.0-beta.10 148 7/30/2022
0.1.0-beta.9 155 7/30/2022
0.1.0-beta.8 157 7/16/2022
0.1.0-beta.7 176 7/3/2022
0.1.0-beta.6 176 4/19/2022
0.1.0-beta.5 172 4/17/2022
0.1.0-beta.4 170 4/17/2022
0.1.0-beta.3 174 4/17/2022
0.1.0-beta.2 173 4/17/2022
0.1.0-beta.1 184 4/17/2022