Table of Contents

Class AsiBackboneAspNetCoreServiceCollectionExtensions

Namespace
AsiBackbone.AspNetCore.DependencyInjection
Assembly
AsiBackbone.AspNetCore.dll

Provides dependency injection registration helpers for ASP.NET Core host integration.

public static class AsiBackboneAspNetCoreServiceCollectionExtensions
Inheritance
AsiBackboneAspNetCoreServiceCollectionExtensions
Inherited Members

Methods

AddAsiBackboneAspNetCore(IServiceCollection)

Adds ASP.NET Core integration services for AsiBackbone using default options.

public static IServiceCollection AddAsiBackboneAspNetCore(this IServiceCollection services)

Parameters

services IServiceCollection

The service collection to add services to.

Returns

IServiceCollection

The same service collection so calls can be chained.

AddAsiBackboneAspNetCore(IServiceCollection, Action<AsiBackboneAspNetCoreOptions>)

Adds ASP.NET Core integration services for AsiBackbone using configured options.

public static IServiceCollection AddAsiBackboneAspNetCore(this IServiceCollection services, Action<AsiBackboneAspNetCoreOptions> configure)

Parameters

services IServiceCollection

The service collection to add services to.

configure Action<AsiBackboneAspNetCoreOptions>

The options configuration callback.

Returns

IServiceCollection

The same service collection so calls can be chained.

Exceptions

ArgumentNullException

Thrown when services or configure is null.

AddAsiBackboneGovernanceOutboxDrainWorker(IServiceCollection)

Adds the host-owned governance outbox drain worker using default scheduling options.

public static IServiceCollection AddAsiBackboneGovernanceOutboxDrainWorker(this IServiceCollection services)

Parameters

services IServiceCollection

The service collection to add services to.

Returns

IServiceCollection

The same service collection so calls can be chained.

AddAsiBackboneGovernanceOutboxDrainWorker(IServiceCollection, Action<AsiBackboneGovernanceOutboxDrainWorkerOptions>)

Adds the host-owned governance outbox drain worker using configured scheduling options.

public static IServiceCollection AddAsiBackboneGovernanceOutboxDrainWorker(this IServiceCollection services, Action<AsiBackboneGovernanceOutboxDrainWorkerOptions> configure)

Parameters

services IServiceCollection

The service collection to add services to.

configure Action<AsiBackboneGovernanceOutboxDrainWorkerOptions>

The worker options configuration callback.

Returns

IServiceCollection

The same service collection so calls can be chained.

Exceptions

ArgumentNullException

Thrown when services or configure is null.