Skip to content

mallickhruday/Revo

 
 

Repository files navigation

Revo framework

Build status NuGet package version Docs GitHub issues Contributions License

Revo Framework

Revo is an application framework for modern server C#/.NET applications built with event sourcing, CQRS and DDD.

Table of contents

Features

The framework combines the concepts of event sourcing, CQRS and DDD to provide support for building applications that are scalable, maintainable, can work in distributed environments and are easy to integrate with outside world. As such, it takes some rather opinionated approaches on the design of certain parts of its architecture. Revo also offers other common features and infrastructure that is often necessary for building complete applications – for example, authorizations, validations, messaging, integrations, multi-tenancy or testing. Furthermore, its extensions implement other useful features like entity history change-tracking, auditing or user notifications.

Domain-Driven Design
Building blocks for rich DDD-style domain models (aggregates, entities, value objects, domain events, repositories...).

Event Sourcing
Implementing event-sourced entity persistence with support for multiple event store backends (PostgreSQL, MSSQL...).

CQRS
Segregating command and query responsibilities with:

A/synchronous event processing
Support for both synchronous and asynchronous event processing, guaranteed at-least-once delivery, event queues with strict sequence ordering (optionally), event source catch-ups, optional pseudo-synchronous event dispatch for listeners (projectors, for example).

Data access
Abstraction layer for Entity Framework 6, RavenDB, testable in-memory database or other data providers.

Projections
Support for read-model projections with various backends (e.g. Entity Framework Core (PostgreSQL, MSSQL...), Entity Framework 6, RavenDB...), automatic idempotency- and concurrency-handling, etc.

SOA and integration
Scale and integrate by publishing and receiving events, commands and queries using common messaging patterns,
e.g. with RabbitMQ message queue and/or uses Rebus service bus.

Sagas
Coordinating long-running processes or inter-aggregate cooperation with sagas that react to events
(a.k.a. process managers).

Authorization
Basic permission/role-based ACL for commands and queries, fine-grained row filtering.

Other minor features:

Getting started

(TODO)

Binaries are up for grabs in form of NuGet packages:

Core
Revo.Core NuGet package version
Revo.DataAccess NuGet package version
Revo.Domain NuGet package version
Revo.Infrastructure NuGet package version
Revo.Testing NuGet package version
Data access
Revo.EFCore NuGet package version
Revo.EFCore.AspNetCoreOData NuGet package version
Revo.EF6 NuGet package version
Revo.EF6.AspNetOData NuGet package version
Revo.RavenDB NuGet package version
Revo.RavenDB.AspNetOData NuGet package version
Platforms
Revo.AspNetCore NuGet package version
Revo.AspNet NuGet package version
Revo.Hangfire NuGet package version
Other integrations & extensions
Revo.Extensions.AspNet.Interop NuGet package version
Revo.Extensions.History NuGet package version
Revo.Extensions.Notifications NuGet package version
Revo.Rebus NuGet package version

Most applications will require at least Revo.Core, Revo.DataAccess, Revo.Domain, Revo.Infrastructure packages to get started with and then typically a platform package like Revo.Platforms.AspNetCore (ASP.NET Core platform implementation) and a data-access package like Revo.EFCore (for Entity Framework Core support).

Examples

(TODO)

For now, see the sample Hello World application in the examples folder (Examples/Revo.Examples.HelloAspNet.Bootstrap) and the reference guide.

Requirements

The framework is written in C# 7.1 and targets the .NET Standard 2.0 specification; some of its modules currently also use .NET Core 2.1 (ASP.NET Core) or .NET Framework 4.7.1 where needed (e.g. Entity Framework 6 support). Revo also makes a heavy use of the C# async/await pattern and uses the TAP (Task Asynchronous Pattern) throughout its entire codebase (i.e. async all the way).

License

MIT License

Copyright (c) 2017-2018 Martin Zima
Copyright (c) 2017-2018 ASP a.s.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH > THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Event Sourcing, CQRS and DDD framework for C#/.NET.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.3%
  • Other 0.7%