![]() |
VOOZH | about |
dotnet add package RCommon.Core --version 2.4.1
NuGet\Install-Package RCommon.Core -Version 2.4.1
<PackageReference Include="RCommon.Core" Version="2.4.1" />
<PackageVersion Include="RCommon.Core" Version="2.4.1" />Directory.Packages.props
<PackageReference Include="RCommon.Core" />Project file
paket add RCommon.Core --version 2.4.1
#r "nuget: RCommon.Core, 2.4.1"
#:package RCommon.Core@2.4.1
#addin nuget:?package=RCommon.Core&version=2.4.1Install as a Cake Addin
#tool nuget:?package=RCommon.Core&version=2.4.1Install as a Cake Tool
The foundation package for the RCommon framework, providing the fluent builder for dependency injection configuration, an in-memory event bus with transactional event routing, guard clauses, GUID generation, system time abstraction, and a rich set of extension methods.
AddRCommon() builder pattern for configuring framework services via Microsoft DIIEventBus) with publish/subscribe support and polymorphic event dispatchIEventRouter) that stores events and dispatches them to the correct IEventProducer instances based on subscription configurationEventSubscriptionManager for isolating event subscriptions so each producer only receives its registered eventsGuard class with validation methods for nulls, empty strings, ranges, types, collections, email, and moreIGuidGenerator) optimized for database-friendly orderingISystemTime abstraction for testable, time zone-aware date/time handlingICommonFactory<T> for DI-aware factory pattern with customization supportObjectGraphWalker for traversing object graphs and ReflectionHelper for generic type inspection and compiled method invocationdotnet add package RCommon.Core
using RCommon;
using RCommon.EventHandling;
// Bootstrap RCommon in your DI configuration
services.AddRCommon(builder =>
{
builder
.WithSequentialGuidGenerator(options =>
options.DefaultSequentialGuidType = SequentialGuidType.SequentialAsString)
.WithDateTimeSystem(options =>
options.Kind = DateTimeKind.Utc)
.WithEventHandling<InMemoryEventBusBuilder>(eventHandling =>
{
eventHandling.AddSubscriber<OrderCreatedEvent, OrderCreatedEventHandler>();
});
});
| Type | Description |
|---|---|
IRCommonBuilder |
Fluent builder interface for configuring RCommon framework services |
IEventBus |
In-process event bus for publishing events and subscribing handlers |
ISubscriber<TEvent> |
Strongly-typed event subscriber that handles a specific event type |
IEventRouter |
Routes stored transactional events to the appropriate IEventProducer instances |
IEventProducer |
Dispatches serializable events to a destination (bus, broker, etc.) |
EventSubscriptionManager |
Tracks event-to-producer subscriptions for isolated event routing |
Guard |
Utility class with guard clause methods for parameter validation |
IGuidGenerator |
Abstraction for GUID generation (sequential or simple) |
ISystemTime |
Abstracts the system clock for testable time-dependent code |
ICommonFactory<T> |
DI-aware factory pattern for creating service instances |
ObjectGraphWalker |
Recursively traverses an object graph searching for instances of a specified type |
ReflectionHelper |
Utilities for generic type inspection, attribute retrieval, and compiled method invocation |
For full documentation, visit rcommon.com.
Licensed under the Apache License, Version 2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 5 NuGet packages that depend on RCommon.Core:
| Package | Downloads |
|---|---|
|
RCommon.Persistence
A cohesive set of infrastructure libraries for dotnet that utilizes abstractions for event handling, persistence, unit of work, mediator, distributed messaging, event bus, CQRS, email, and more |
|
|
RCommon.DataServices
A cohesive set of .NET 7 infrastructure libraries that utilizes abstractions for persistence, unit of work/transactions, distributed events, distributed transactions, and more. |
|
|
RCommon.BusinessEntities
A cohesive set of .NET 7 infrastructure libraries that utilizes abstractions for persistence, unit of work/transactions, distributed events, distributed transactions, and more. |
|
|
RCommon.ExceptionHandling
A cohesive set of .NET 7 infrastructure libraries that utilizes abstractions for persistence, unit of work/transactions, distributed events, distributed transactions, and more. |
|
|
RCommon.Validation
A cohesive set of .NET 7 infrastructure libraries that utilizes abstractions for persistence, unit of work/transactions, distributed events, distributed transactions, and more. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.1.0-alpha.3 | 201 | 5/18/2026 |
| 2.4.2-alpha.0.10 | 118 | 4/5/2026 |
| 2.4.2-alpha.0.9 | 100 | 3/26/2026 |
| 2.4.2-alpha.0.8 | 74 | 3/26/2026 |
| 2.4.2-alpha.0.7 | 87 | 3/26/2026 |
| 2.4.2-alpha.0.6 | 87 | 3/25/2026 |
| 2.4.2-alpha.0.5 | 77 | 3/24/2026 |
| 2.4.2-alpha.0.1 | 94 | 3/24/2026 |
| 2.4.1 | 583 | 2/18/2026 |
| 2.3.2-alpha.0.3 | 93 | 2/18/2026 |
| 2.3.2-alpha.0.2 | 92 | 2/18/2026 |
| 2.3.2-alpha.0.1 | 107 | 2/9/2026 |
| 2.3.1 | 599 | 2/5/2026 |
| 2.3.0 | 509 | 2/3/2026 |
| 2.2.2-alpha.0.1 | 418 | 12/11/2025 |
| 2.2.1-alpha.0.2 | 159 | 10/24/2025 |
| 2.2.1-alpha.0.1 | 182 | 10/24/2025 |
| 2.1.11-alpha.0.2 | 149 | 10/24/2025 |
| 2.1.11-alpha.0.1 | 127 | 7/18/2025 |
| 2.1.10 | 723 | 7/17/2025 |