Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Merge branch 'open-cqrs-6.5-net-6'
Browse files Browse the repository at this point in the history
  • Loading branch information
lucabriguglia committed Jan 18, 2022
2 parents 5f52a2d + 1f8595a commit 3cf179e
Show file tree
Hide file tree
Showing 478 changed files with 1,491 additions and 1,478 deletions.
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<PropertyGroup Label="ProjectSettings">
<Authors>Luca Briguglia</Authors>
<Copyright>Copyright Luca Briguglia</Copyright>
<Product>Kledex</Product>
<PackageProjectUrl>https://github.com/lucabriguglia/Kledex</PackageProjectUrl>
<Product>OpenCQRS</Product>
<PackageProjectUrl>https://github.com/lucabriguglia/OpenCQRS</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/lucabriguglia/Kledex</RepositoryUrl>
<RepositoryUrl>https://github.com/lucabriguglia/OpenCQRS</RepositoryUrl>
</PropertyGroup>

</Project>
48 changes: 23 additions & 25 deletions Kledex.sln → OpenCqrs.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.28803.202
# Visual Studio Version 17
VisualStudioVersion = 17.0.32014.148
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{A9692D21-8091-4A3F-8F7C-54B821EFDF97}"
ProjectSection(SolutionItems) = preProject
Expand All @@ -17,8 +17,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{54E87113-D
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{EEF09A92-D2CB-4107-A2D8-67FFC42DBC3E}"
ProjectSection(SolutionItems) = preProject
azure-pipelines-1.yml = azure-pipelines-1.yml
azure-pipelines.yml = azure-pipelines.yml
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
Directory.Build.props = Directory.Build.props
Directory.Build.targets = Directory.Build.targets
Expand All @@ -27,45 +25,45 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
README.md = README.md
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex", "src\Kledex\Kledex.csproj", "{E70FB190-16A9-4C74-86B0-766A135FE556}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs", "src\OpenCqrs\OpenCqrs.csproj", "{E70FB190-16A9-4C74-86B0-766A135FE556}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Store.EF", "src\Kledex.Store.EF\Kledex.Store.EF.csproj", "{1A11F0DD-BF65-4A0C-B61F-FD89646F2554}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Store.EF", "src\OpenCqrs.Store.EF\OpenCqrs.Store.EF.csproj", "{1A11F0DD-BF65-4A0C-B61F-FD89646F2554}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Store.EF.SqlServer", "src\Kledex.Store.EF.SqlServer\Kledex.Store.EF.SqlServer.csproj", "{62C4D2A3-C7D4-41AC-A1AD-2CC2E2F38AFB}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Store.EF.SqlServer", "src\OpenCqrs.Store.EF.SqlServer\OpenCqrs.Store.EF.SqlServer.csproj", "{62C4D2A3-C7D4-41AC-A1AD-2CC2E2F38AFB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Store.EF.MySql", "src\Kledex.Store.EF.MySql\Kledex.Store.EF.MySql.csproj", "{150521FC-AC83-409B-9D45-D9CA73E1DCA3}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Store.EF.MySql", "src\OpenCqrs.Store.EF.MySql\OpenCqrs.Store.EF.MySql.csproj", "{150521FC-AC83-409B-9D45-D9CA73E1DCA3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Store.EF.PostgreSql", "src\Kledex.Store.EF.PostgreSql\Kledex.Store.EF.PostgreSql.csproj", "{C5CADA65-356F-4FDA-A1F6-1C22786D42EF}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Store.EF.PostgreSql", "src\OpenCqrs.Store.EF.PostgreSql\OpenCqrs.Store.EF.PostgreSql.csproj", "{C5CADA65-356F-4FDA-A1F6-1C22786D42EF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Store.EF.Sqlite", "src\Kledex.Store.EF.Sqlite\Kledex.Store.EF.Sqlite.csproj", "{1A1F277E-F7B6-4CE8-BC00-0B92DCB4F977}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Store.EF.Sqlite", "src\OpenCqrs.Store.EF.Sqlite\OpenCqrs.Store.EF.Sqlite.csproj", "{1A1F277E-F7B6-4CE8-BC00-0B92DCB4F977}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Store.Cosmos.Sql", "src\Kledex.Store.Cosmos.Sql\Kledex.Store.Cosmos.Sql.csproj", "{C7FC8979-2A4B-419B-9D30-C125D45C1FC9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Store.Cosmos.Sql", "src\OpenCqrs.Store.Cosmos.Sql\OpenCqrs.Store.Cosmos.Sql.csproj", "{C7FC8979-2A4B-419B-9D30-C125D45C1FC9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Store.Cosmos.Mongo", "src\Kledex.Store.Cosmos.Mongo\Kledex.Store.Cosmos.Mongo.csproj", "{95CB07E0-A387-4ED6-AC91-4FDA7D83979D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Store.Cosmos.Mongo", "src\OpenCqrs.Store.Cosmos.Mongo\OpenCqrs.Store.Cosmos.Mongo.csproj", "{95CB07E0-A387-4ED6-AC91-4FDA7D83979D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Tests", "test\Kledex.Tests\Kledex.Tests.csproj", "{BA0FB58E-B8AA-4DC3-95FF-49540C00074D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Tests", "test\OpenCqrs.Tests\OpenCqrs.Tests.csproj", "{BA0FB58E-B8AA-4DC3-95FF-49540C00074D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Bus.ServiceBus", "src\Kledex.Bus.ServiceBus\Kledex.Bus.ServiceBus.csproj", "{C3467348-3A8B-4558-B954-6A124E187FC3}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Bus.ServiceBus", "src\OpenCqrs.Bus.ServiceBus\OpenCqrs.Bus.ServiceBus.csproj", "{C3467348-3A8B-4558-B954-6A124E187FC3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Store.EF.InMemory", "src\Kledex.Store.EF.InMemory\Kledex.Store.EF.InMemory.csproj", "{15940312-6446-4FD6-B886-49BAC6589D73}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Store.EF.InMemory", "src\OpenCqrs.Store.EF.InMemory\OpenCqrs.Store.EF.InMemory.csproj", "{15940312-6446-4FD6-B886-49BAC6589D73}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Bus.RabbitMQ", "src\Kledex.Bus.RabbitMQ\Kledex.Bus.RabbitMQ.csproj", "{BFF4E920-0653-41ED-AB20-4DB9EECD63A0}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Bus.RabbitMQ", "src\OpenCqrs.Bus.RabbitMQ\OpenCqrs.Bus.RabbitMQ.csproj", "{BFF4E920-0653-41ED-AB20-4DB9EECD63A0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Bus.ServiceBus.Tests", "test\Kledex.Bus.ServiceBus.Tests\Kledex.Bus.ServiceBus.Tests.csproj", "{781016AA-A751-440D-8F02-A73AA128281A}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Bus.ServiceBus.Tests", "test\OpenCqrs.Bus.ServiceBus.Tests\OpenCqrs.Bus.ServiceBus.Tests.csproj", "{781016AA-A751-440D-8F02-A73AA128281A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{FF129AB8-1B8D-4BAA-AB1F-39D2FA497397}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Sample.NoEventSourcing", "samples\Kledex.Sample.NoEventSourcing\Kledex.Sample.NoEventSourcing.csproj", "{7FC48BED-63CC-4BD0-8A90-27DD4AF7CDCB}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Sample.NoEventSourcing", "samples\OpenCqrs.Sample.NoEventSourcing\OpenCqrs.Sample.NoEventSourcing.csproj", "{7FC48BED-63CC-4BD0-8A90-27DD4AF7CDCB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Sample.EventSourcing", "samples\Kledex.Sample.EventSourcing\Kledex.Sample.EventSourcing.csproj", "{99E0EA26-E961-40A1-A580-BCB255B37838}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Sample.EventSourcing", "samples\OpenCqrs.Sample.EventSourcing\OpenCqrs.Sample.EventSourcing.csproj", "{99E0EA26-E961-40A1-A580-BCB255B37838}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.UI", "src\Kledex.UI\Kledex.UI.csproj", "{698A5F31-4E71-46EF-A93F-8B80AAA62F77}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.UI", "src\OpenCqrs.UI\OpenCqrs.UI.csproj", "{698A5F31-4E71-46EF-A93F-8B80AAA62F77}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Validation.FluentValidation", "src\Kledex.Validation.FluentValidation\Kledex.Validation.FluentValidation.csproj", "{EC89F18E-266A-4C33-8E70-9F3AB331BB6C}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Validation.FluentValidation", "src\OpenCqrs.Validation.FluentValidation\OpenCqrs.Validation.FluentValidation.csproj", "{EC89F18E-266A-4C33-8E70-9F3AB331BB6C}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Caching.Memory", "src\Kledex.Caching.Memory\Kledex.Caching.Memory.csproj", "{4AA061EE-6DBE-464B-B467-08BDA68D9F40}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Caching.Memory", "src\OpenCqrs.Caching.Memory\OpenCqrs.Caching.Memory.csproj", "{4AA061EE-6DBE-464B-B467-08BDA68D9F40}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Caching.Redis", "src\Kledex.Caching.Redis\Kledex.Caching.Redis.csproj", "{60755BA7-4F80-4AEC-8B0E-32414C1C6553}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Caching.Redis", "src\OpenCqrs.Caching.Redis\OpenCqrs.Caching.Redis.csproj", "{60755BA7-4F80-4AEC-8B0E-32414C1C6553}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{1282A8FB-D7A5-4562-8B9B-1C27B83EE580}"
ProjectSection(SolutionItems) = preProject
Expand Down Expand Up @@ -98,9 +96,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "img", "img", "{05D6EE8E-C35
docs\assets\img\SendCommandFlow.svg = docs\assets\img\SendCommandFlow.svg
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Sample.CommandSequence", "samples\Kledex.Sample.CommandSequence\Kledex.Sample.CommandSequence.csproj", "{6DB19E10-1942-44CC-B592-01A34CEE8C77}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Sample.CommandSequence", "samples\OpenCqrs.Sample.CommandSequence\OpenCqrs.Sample.CommandSequence.csproj", "{6DB19E10-1942-44CC-B592-01A34CEE8C77}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Kledex.Store.EF.Cosmos", "src\Kledex.Store.EF.Cosmos\Kledex.Store.EF.Cosmos.csproj", "{E11E8FAB-DE31-4702-8459-2ECCE463EE14}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenCqrs.Store.EF.Cosmos", "src\OpenCqrs.Store.EF.Cosmos\OpenCqrs.Store.EF.Cosmos.csproj", "{E11E8FAB-DE31-4702-8459-2ECCE463EE14}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
40 changes: 19 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# *** Soon to be re-re-named as OpenCQRS, Version set to 6.5 and upgraded to .NET 6 ***
# OpenCQRS

# Kledex

Kledex is a .NET Standard framework that can be used to create a simple and clean design by enforcing single responsibility and separation of concerns.
OpenCQRS is a .NET 6 framework that can be used to create a simple and clean design by enforcing single responsibility and separation of concerns.

Its advanced features are ideal for Domain Driven Design (DDD), Command Query Responsibilty Segragation (CQRS) and Event Sourcing.

With Kledex you can automatically dispatch events to a message bus (Service Bus or RabbitMQ), validate your commands before they are sent to the command handler (FluentValidation) and automatically cache the result of your queries (Memory or Redis).
With OpenCQRS you can automatically dispatch events to a message bus (Service Bus or RabbitMQ), validate your commands before they are sent to the command handler (FluentValidation) and automatically cache the result of your queries (Memory or Redis).

**Full Documentation**: [Kledex Wiki](https://lucabriguglia.github.io/Kledex).
**Full Documentation**: [OpenCQRS Wiki](https://lucabriguglia.github.io/OpenCQRS).

## Main Flow

Expand All @@ -20,43 +18,43 @@ With Kledex you can automatically dispatch events to a message bus (Service Bus

| Package | Latest Stable |
| --- | --- |
| [Kledex](https://www.nuget.org/packages/Kledex) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex) |
| [OpenCqrs](https://www.nuget.org/packages/OpenCqrs) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs) |

### Store Providers

| Package | Latest Stable |
| --- | --- |
| [Kledex.Store.Cosmos.Mongo](https://www.nuget.org/packages/Kledex.Store.Cosmos.Mongo) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.Store.Cosmos.Mongo) |
| [Kledex.Store.Cosmos.Sql](https://www.nuget.org/packages/Kledex.Store.Cosmos.Sql) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.Store.Cosmos.Sql) |
| [Kledex.Store.EF.MySql](https://www.nuget.org/packages/Kledex.Store.EF.MySql) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.Store.EF.MySql) |
| [Kledex.Store.EF.PostgreSql](https://www.nuget.org/packages/Kledex.Store.EF.PostgreSql) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.Store.EF.PostgreSql) |
| [Kledex.Store.EF.Sqlite](https://www.nuget.org/packages/Kledex.Store.EF.Sqlite) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.Store.EF.Sqlite) |
| [Kledex.Store.EF.SqlServer](https://www.nuget.org/packages/Kledex.Store.EF.SqlServer) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.Store.EF.SqlServer) |
| [Kledex.Store.EF.InMemory](https://www.nuget.org/packages/Kledex.Store.EF.InMemory) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.Store.EF.InMemory) |
| [Kledex.Store.EF.Cosmos](https://www.nuget.org/packages/Kledex.Store.EF.Cosmos) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.Store.EF.Cosmos) |
| [OpenCqrs.Store.Cosmos.Mongo](https://www.nuget.org/packages/OpenCqrs.Store.Cosmos.Mongo) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.Store.Cosmos.Mongo) |
| [OpenCqrs.Store.Cosmos.Sql](https://www.nuget.org/packages/OpenCqrs.Store.Cosmos.Sql) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.Store.Cosmos.Sql) |
| [OpenCqrs.Store.EF.MySql](https://www.nuget.org/packages/OpenCqrs.Store.EF.MySql) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.Store.EF.MySql) |
| [OpenCqrs.Store.EF.PostgreSql](https://www.nuget.org/packages/OpenCqrs.Store.EF.PostgreSql) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.Store.EF.PostgreSql) |
| [OpenCqrs.Store.EF.Sqlite](https://www.nuget.org/packages/OpenCqrs.Store.EF.Sqlite) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.Store.EF.Sqlite) |
| [OpenCqrs.Store.EF.SqlServer](https://www.nuget.org/packages/OpenCqrs.Store.EF.SqlServer) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.Store.EF.SqlServer) |
| [OpenCqrs.Store.EF.InMemory](https://www.nuget.org/packages/OpenCqrs.Store.EF.InMemory) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.Store.EF.InMemory) |
| [OpenCqrs.Store.EF.Cosmos](https://www.nuget.org/packages/OpenCqrs.Store.EF.Cosmos) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.Store.EF.Cosmos) |

### Bus Providers

| Package | Latest Stable |
| --- | --- |
| [Kledex.Bus.ServiceBus](https://www.nuget.org/packages/Kledex.Bus.ServiceBus) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.Bus.ServiceBus) |
| [Kledex.Bus.RabbitMQ](https://www.nuget.org/packages/Kledex.Bus.RabbitMQ) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.Bus.RabbitMQ) |
| [OpenCqrs.Bus.ServiceBus](https://www.nuget.org/packages/OpenCqrs.Bus.ServiceBus) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.Bus.ServiceBus) |
| [OpenCqrs.Bus.RabbitMQ](https://www.nuget.org/packages/OpenCqrs.Bus.RabbitMQ) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.Bus.RabbitMQ) |

### Validation Providers

| Package | Latest Stable |
| --- | --- |
| [Kledex.Validation.FluentValidation](https://www.nuget.org/packages/Kledex.Validation.FluentValidation) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.Validation.FluentValidation) |
| [OpenCqrs.Validation.FluentValidation](https://www.nuget.org/packages/OpenCqrs.Validation.FluentValidation) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.Validation.FluentValidation) |

### Caching Providers

| Package | Latest Stable |
| --- | --- |
| [Kledex.Caching.Memory](https://www.nuget.org/packages/Kledex.Caching.Memory) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.Caching.Memory) |
| [Kledex.Caching.Redis](https://www.nuget.org/packages/Kledex.Caching.Redis) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.Caching.Redis) |
| [OpenCqrs.Caching.Memory](https://www.nuget.org/packages/OpenCqrs.Caching.Memory) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.Caching.Memory) |
| [OpenCqrs.Caching.Redis](https://www.nuget.org/packages/OpenCqrs.Caching.Redis) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.Caching.Redis) |

### Misc

| Package | Latest Stable |
| --- | --- |
| [Kledex.UI](https://www.nuget.org/packages/Kledex.UI) | [![Nuget Package](https://img.shields.io/badge/nuget-2.5.1-blue.svg)](https://www.nuget.org/packages/Kledex.UI) |
| [OpenCqrs.UI](https://www.nuget.org/packages/OpenCqrs.UI) | [![Nuget Package](https://img.shields.io/badge/nuget-6.5.0-blue.svg)](https://www.nuget.org/packages/OpenCqrs.UI) |
2 changes: 1 addition & 1 deletion docs/Caching-Queries.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Caching Queries

With Kledex it is possible to automatically cache the result of a query using one of the available providers (Memory or Redis). First, you need to configure a cache provider as explained [here](Configuration#caching). Next, as per any normal queries, create the model for the result and the query. The only difference with a normal query is that it needs to inherit from the **CacheableQuery<>** abstract class (or implements the **ICacheableQuery<>** interface) in order to set the _Cache Key_ and the _Cache Time_:
With OpenCQRS it is possible to automatically cache the result of a query using one of the available providers (Memory or Redis). First, you need to configure a cache provider as explained [here](Configuration#caching). Next, as per any normal queries, create the model for the result and the query. The only difference with a normal query is that it needs to inherit from the **CacheableQuery<>** abstract class (or implements the **ICacheableQuery<>** interface) in order to set the _Cache Key_ and the _Cache Time_:

```C#
public class Something
Expand Down
Loading

0 comments on commit 3cf179e

Please sign in to comment.