NowAround.SharedKernel.Events.Infrastructure 0.1.1-ci.214

NowAround.SharedKernel.Events.Infrastructure

Infrastructure services for NowAround domain event dispatching and outbox-based integration event publishing.

This package provides default implementations for domain event queueing, EF Core outbox persistence, integration event registration, serialization, and background outbox dispatch.

Queued domain events capture the current X-Correlation-Id scope when they are enqueued and restore it when the background dispatcher invokes MediatR handlers. Outbox messages persist that correlation ID together with optional W3C trace context so integration events can propagate the same application correlation across services.

Included

  • AddNowAroundDomainEventHandling for queued domain event dispatch with MediatR.
  • AddNowAroundOutboxIntegrationEvents<TDbContext> for outbox services backed by EF Core.
  • AddNowAroundInfrastructureEventsWithOutbox<TDbContext> for registering both domain and integration event infrastructure.
  • ApplyNowAroundOutbox for adding the outbox_messages entity mapping to a ModelBuilder.

Usage

builder.Services.AddNowAroundInfrastructureEventsWithOutbox<AppDbContext>(
    builder.Configuration,
    typeof(SomeIntegrationEvent).Assembly);

Apply the outbox mapping from your DbContext:

protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    modelBuilder.ApplyNowAroundOutbox();
}

Configure optional settings under the Outbox section:

{
  "Outbox": {
    "PollIntervalSeconds": 1,
    "BatchSize": 100,
    "MaxRetryCount": 3
  }
}

Showing the top 20 packages that depend on NowAround.SharedKernel.Events.Infrastructure.

Packages Downloads
NowAround.SharedKernel.Events.Infrastructure.MassTransit
MassTransit and RabbitMQ integration for NowAround shared integration event publishing.
25
NowAround.SharedKernel.Events.Infrastructure.MassTransit
MassTransit and RabbitMQ integration for NowAround shared integration event publishing.
11
NowAround.SharedKernel.Events.Infrastructure.MassTransit
MassTransit and RabbitMQ integration for NowAround shared integration event publishing.
10
NowAround.SharedKernel.Events.Infrastructure.MassTransit
MassTransit and RabbitMQ integration for NowAround shared integration event publishing.
7
NowAround.SharedKernel.Events.Infrastructure.MassTransit
MassTransit and RabbitMQ integration for NowAround shared integration event publishing.
5
NowAround.SharedKernel.Events.Infrastructure.MassTransit
MassTransit and RabbitMQ integration for NowAround shared integration event publishing.
3
NowAround.SharedKernel.Events.Infrastructure.MassTransit
MassTransit and RabbitMQ integration for NowAround shared integration event publishing.
2

Version Downloads Last updated
0.3.0 24 06/03/2026
0.2.1-ci.254 3 06/01/2026
0.2.0 11 06/01/2026
0.2.0-ci.235 5 05/30/2026
0.2.0-ci.218 7 05/26/2026
0.1.1-ci.214 2 05/23/2026
0.1.0 10 05/19/2026