Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gautema/CQRSlite
A lightweight framework to help creating CQRS and Eventsourcing applications in C#
https://github.com/gautema/CQRSlite
c-sharp cqrs cqrs-framework dotnet dotnet-core eventsourcing
Last synced: 3 months ago
JSON representation
A lightweight framework to help creating CQRS and Eventsourcing applications in C#
- Host: GitHub
- URL: https://github.com/gautema/CQRSlite
- Owner: gautema
- License: other
- Created: 2010-10-01T21:13:32.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2024-07-25T17:09:42.000Z (6 months ago)
- Last Synced: 2024-10-22T22:20:13.524Z (3 months ago)
- Topics: c-sharp, cqrs, cqrs-framework, dotnet, dotnet-core, eventsourcing
- Language: C#
- Homepage:
- Size: 4.57 MB
- Stars: 1,099
- Watchers: 91
- Forks: 266
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: license.md
Awesome Lists containing this project
- awesome-dotnet-core - CQRSlite - Lightweight framework for helping writing CQRS and Eventsourcing applications in C#. (Frameworks, Libraries and Tools / Application Frameworks)
- awesome-dotnet-core - CQRSlite - 用于帮助在C#中编写CQRS和Eventsourcing应用程序的轻量级框架。 (框架, 库和工具 / 应用程序框架)
- fucking-awesome-dotnet-core - CQRSlite - Lightweight framework for helping writing CQRS and Eventsourcing applications in C#. (Frameworks, Libraries and Tools / Application Frameworks)
- awesome-dotnet-core - CQRSlite - Lightweight framework for helping writing CQRS and Eventsourcing applications in C#. (Frameworks, Libraries and Tools / Application Frameworks)
README
# CQRSlite
[![Build Status](https://ci.appveyor.com/api/projects/status/github/gautema/CQRSLite?branch=master&svg=true)](https://ci.appveyor.com/project/gautema/CQRSLite)
[![NuGet](https://img.shields.io/nuget/vpre/cqrslite.svg)](https://www.nuget.org/packages/cqrslite)## The framework
CQRSlite is a small CQRS and Eventsourcing Framework. It is written in C# and targets .NET 4.5.2 and .NET Core. CQRSlite originated as a CQRS sample project Greg Young and I did in the autumn of 2010.
This code is located at http://github.com/gregoryyoung/m-rCQRSlite has been made with pluggability in mind. So every standard implementation should be interchangeable with a custom one if needed.
## Getting started
A sample project is located with the code, this shows a common usage scenario of the framework. There are some features of CQRSlite, such as snapshotting that the sample does not show. These features are only documented through the tests.Great introductions to CQRS and CQRSlite have been written by others. Here are two recommended:
*
*## Features
* Command sending and event publishing
* Unit of work through session with aggregate tracking
* Repository for getting and saving aggregates
* Optimistic concurrency checking
* Message router with auto registration of handlers
* Snapshotting
* Caching with concurrency checks and updating to latest version## Installation
To install CQRSlite, it you could either download the files and copy whats needed into your project, you can clone this project and reference it, or you can download releases from nuget. You will have to implement your own eventstore or use an exsiting eventstore with an adapter to fit the IEventStore interface.## License
Copyright 2020 Gaute MagnussenLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.