Conqueror.CQS 0.1.0-beta.18

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.18                
NuGet\Install-Package Conqueror.CQS -Version 0.1.0-beta.18                
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.18" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Conqueror.CQS --version 0.1.0-beta.18                
#r "nuget: Conqueror.CQS, 0.1.0-beta.18"                
#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.
// Install Conqueror.CQS as a Cake Addin
#addin nuget:?package=Conqueror.CQS&version=0.1.0-beta.18&prerelease

// Install Conqueror.CQS as a Cake Tool
#tool nuget:?package=Conqueror.CQS&version=0.1.0-beta.18&prerelease                

Conqueror

A set of libraries to powercharge your .NET development.

Open points

Breaking changes

  • make event publisher middleware pipeline configurable

Enhancements

  • add new packages for streaming

    • in streaming support both "interactive" and "reactive" streams
  • add ASP core extension package for streaming

    • allow choosing transport (initially only websockets are supported)
    • for interactive streaming allow setting prefetch options (e.g. buffer size, prefetch batch size)
    • rename HttpInteractiveStreamAttribute to HttpInteractiveStreamingRequestAttribute
  • expose contexts directly on middleware contexts

  • pass through custom interface extra methods to backing instance

  • add trace IDs to commands and query contexts

    • integrate trace ID from ASP Core if using HTTP package
  • allow attaching middlewares to http clients (via the configuration action)

  • allow registering all custom interfaces in assembly as HTTP clients with AddConquerorHttpClientsFromAssembly(Assembly assembly, Func<IServiceProvider, HttpClient> httpClientFactory)

  • allow path to be set for http commands and queries

  • for .NET 6 add analyzer that ensures the ConfigurePipeline method is present on all handlers with pipeline configuration interface (including code fix)

  • eventing

    • 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
  • http client edge cases (i.e. write 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
  • for some features provide code snippets in documentation instead of library (e.g. common middlewares etc.)

Bugfixes

  • use .ConfigureAwait(false) everywhere
  • add null checks to public API methods to support users that do not use nullable reference types
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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

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

Package Downloads
Conqueror

Collection package that provides a simple entry point to all basic Conqueror packages. Please note that this package does not contain any analyzer or transport packages. Those packages must be explicitly added.

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).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.6.0-beta.2 77 8/25/2024
0.6.0-beta.1 71 8/13/2024
0.5.0-beta.4 186 11/19/2023
0.5.0-beta.3 115 7/18/2023
0.5.0-beta.2 99 7/15/2023
0.5.0-beta.1 86 4/22/2023
0.4.0-beta.2 100 2/26/2023
0.4.0-beta.1 97 2/25/2023
0.3.0-beta.3 98 2/12/2023
0.3.0-beta.2 132 1/9/2023
0.3.0-beta.1 118 1/7/2023
0.2.0-beta.3 117 1/1/2023
0.2.0-beta.2 172 11/9/2022
0.2.0-beta.1 122 11/6/2022
0.1.0-beta.21 108 10/29/2022
0.1.0-beta.20 107 10/28/2022
0.1.0-beta.19 139 10/20/2022
0.1.0-beta.18 102 10/16/2022
0.1.0-beta.17 102 10/16/2022
0.1.0-beta.16 103 10/16/2022
0.1.0-beta.15 102 10/15/2022
0.1.0-beta.14 137 7/31/2022
0.1.0-beta.13 134 7/31/2022
0.1.0-beta.12 121 7/30/2022
0.1.0-beta.11 119 7/30/2022
0.1.0-beta.10 113 7/30/2022
0.1.0-beta.9 120 7/30/2022
0.1.0-beta.8 125 7/16/2022
0.1.0-beta.7 139 7/3/2022
0.1.0-beta.6 137 4/19/2022
0.1.0-beta.5 133 4/17/2022
0.1.0-beta.4 131 4/17/2022
0.1.0-beta.3 132 4/17/2022
0.1.0-beta.2 132 4/17/2022
0.1.0-beta.1 142 4/17/2022