Cqrs 2.3.1579.804

A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

There is a newer version of this package available.
See the version list below for details.
Install-Package Cqrs -Version 2.3.1579.804
dotnet add package Cqrs --version 2.3.1579.804
<PackageReference Include="Cqrs" Version="2.3.1579.804" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cqrs --version 2.3.1579.804
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Cqrs, 2.3.1579.804"
#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 Cqrs as a Cake Addin
#addin nuget:?package=Cqrs&version=2.3.1579.804

// Install Cqrs as a Cake Tool
#tool nuget:?package=Cqrs&version=2.3.1579.804
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Version 2.3

* Added ApplyChanges to AggregateRoot and Saga for more optimal handling of multiple events.
* Added IEventWithIdentity and ICommandWithIdentity to provide better event and command traceability versus aggregate and saga identification.
* Added better command sending abilities into Sagas.
* Added the ability to specify (via configuration) separate table for the EventStore when using SQL.
* Added configurable support for using the private bus.
* Added a SampleRuntime class. This is a sample runtime to use in proof of concept projects to get something running very quickly. Doesn't save anything. All data is lost when recycled and may cause terrible memory usage.
* Added GetToVersion To the EventStore, UnitOfWork and AggregateRepository so you can get up to a set version
* Added GetToDate To the EventStore, UnitOfWork and AggregateRepository so you can get up to a specific date

Version 2.2

* Added configuration transformations to required app.config and web.config settings are more obvious and set by default.
* Refactored CqrsHttpApplication from the Cqrs.WebApi package here without a requirement on SignalR.
* Added several base level Hosts for WebAPI, WCF WebJobs and console to base themselves off.
* Relocated InProcessEventStore here.
* Added new Exceptions.
* ReplicatedSqlEventStore was relocated from the Cqrs.Sql package into this package.
* Moved MultipleCommandHandlersRegisteredException to Cqrs.Exceptions
* Moved MultipleHandlersRegisteredException to Cqrs.Exceptions
* Moved NoCommandHandlerRegisteredException to Cqrs.Exceptions
* Moved NoEventHandlerRegisteredException to Cqrs.Exceptions
* Moved NoHandlerRegisteredException to Cqrs.Exceptions
* Moved NoHandlersRegisteredException to Cqrs.Exceptions

Version 2.1

* Renamed and deprecated Cqrs.Domain.IRepository to Cqrs.Domain.IAggregateRepository.
* Renamed and deprecated Cqrs.Domain.Repository to Cqrs.Domain.AggregateRepository.
* #11. Added Saga/Process Manager via a new Cqrs.Domain.Saga class. This is an event handler with access to the Command Bus for sending command and uses an EventStore for state management.
* #17. Added an authentication helper based on integers and Guids, see DefaultAuthenticationTokenHelper.
* #18. Added IPublishAndWaitCommandPublisher to replace the deprecated ISendAndWaitCommandSender.
* #18. Added IPublishAndWaitCommandPublisher to InProcessBus.
* #19. Added support for multiple write and read connection strings for simplified SQL data store.

Version 2.0

* Added built-in Linq To SQL data store and event store modules to speed up time to market. This enables the use of just the one CQRS package to get to market. This adds a new configuration property "SqlDataStoreDbFileOrServerOrConnection" to the appSettings.
* Added Sql script for creating an event store table on SqlServer. Look in the Tool folder of the nuget package folder.
* An example for using the new Sql modules for data persistence and event sourcing can be found at our GitHub repository. Look for the 'Samples\CqrsWeb' Project.
* Added a repository builder and data-store builder to entities in UML.
* Added code generation for the base Host class.
* Added an event store service class so event can be queried by CorrelationId for external services that don't have access to the bus network.
* Added new stereo type on relationships to visually model aggregate to event EventHandlers.
* Added new stereo type on relationships to visually model event to command converter EventHandlers.
* Added new stereo type on relationships to visually model command to aggregate CommandHandlers.
* Added a new companion package Cqrs.WebApi that provides the base for ASP.NET Web API usage with CQRS.NET.
* Added configurable setting to enable certain events and commands to not be required to be handled by the service bus (useful when you want an instance of the system to just run a subset of all possible events that might be received by a poorly configured bus). Currently only AzureService bus support this.
* Added configurable setting to change the default behaviour of the "certain events and commands are required or not" settings into a white-list or black-list.
* Added a tokens "TokenWithUserRsn", "TokenWithCompanyRsn" and "TokenWithUserRsnAndCompanyRsn".
* Added MemoryCacheEventStore.
* Added SendAndWait to command senders.
* Added the EventStoreRetentionLevel Attribute to allow custom event publishers to use a standardised metric to decide hot, warm and cold storage of events.
* Added public/private event attributes.
* Added public/private notification attributes.
* Added telemetry data collection on repositories and event-stores.
* Added ability to send a collection of commands and events.
* Deprecated the ICommandSender and replaced it with the ICommandPublisher.
* Allowed the JsonSettings in draw default from DefaultJsonSerializerSettings so that custom contract resolvers and converters added without needing to inherit and implement a customise classes.

NuGet packages (33)

Showing the top 5 NuGet packages that depend on Cqrs:

Package Downloads
Package Description
Use Greg Young's event store as the Event Store in CQRS.NET
Use MongoDB as the read store and data store in CQRS.NET
Use Ninject as your IoC container of choice with Greg Young's Event Store for CQRS.NET
Use Azure Cosmos DB (DocumentDB) as an event store, read store and data store in CQRS.NET

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Cqrs:

Repository Stars
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

Version History

Version Downloads Last updated
4.2.1736.932 276 4/11/2021
4.2.1734.929 175 4/11/2021
4.2.1733.928 226 4/11/2021
4.2.1729.923 3,404 9/17/2020
4.2.1728.922 479 9/17/2020
4.2.1724.919 2,356 12/27/2019
4.2.1723.918 646 12/27/2019
4.2.1721.916 771 12/26/2019
4.2.1720.915 617 12/26/2019
4.2.1719.914 658 12/26/2019
4.2.1717.912 584 12/26/2019
4.2.1715.911 661 12/26/2019
4.2.1713.909 663 12/26/2019
4.2.1711.907 650 12/26/2019
4.2.1710.906 667 12/26/2019
4.1.1706.902 963 11/25/2019
4.1.1699.898 609 11/25/2019
4.1.1695.893 645 11/25/2019
4.1.1694.892 666 11/24/2019
4.1.1694.889 389 11/24/2019
4.0.1687.883 554 11/23/2019
4.0.1670.873 542 11/23/2019
4.0.1663.868 429 11/22/2019
4.0.1659.865 424 11/22/2019
4.0.1659.864 440 11/22/2019
2.4.1639.856 4,592 8/17/2018
2.4.1622.842 4,566 6/29/2018
2.4.1621.841 3,729 6/24/2018
2.4.1619.839 3,796 6/24/2018
2.3.1595.820 3,857 3/29/2018
2.3.1584.809 3,783 3/20/2018
2.3.1583.808 3,764 3/20/2018
2.3.1581.806 3,796 3/15/2018
2.3.1580.805 3,751 3/8/2018
2.3.1579.804 3,770 3/8/2018
2.3.1572.797 3,863 2/19/2018
2.2.1466.702 3,991 9/18/2017
2.2.1440.678 3,916 8/1/2017
2.2.1428.666 3,765 7/25/2017
2.2.1410.652 3,774 7/23/2017
2.2.1405.647 4,324 7/21/2017
2.1.1347.590 4,161 6/23/2017
2.0.1317.561 3,586 6/6/2017
1.601.1108.447 3,959 11/5/2016
1.601.1007 3,691 5/24/2016
1.601.954 3,525 5/2/2016
1.601.790 3,689 2/23/2016
1.601.787 3,485 11/2/2015
1.500.403.298 4,525 11/15/2014
1.500.395.288 3,372 11/7/2014
1.500.393.286 3,638 11/5/2014
1.500.368.263 3,525 11/3/2014
Show less