Skip to main content
Table of Contents

Namespace Microsoft.Extensions.Hosting

Classes

AspCoreIdentityHostBuilderExtensions

Host-builder extensions that wire up the ASP.NET Core Identity stack with Stratara conventions (password policy, lockout, optional passkey domain) and the channel-agnostic IStrataraSignInManager implementation. Channel-specific IStrataraAuthenticationStateProvider wiring (Blazor Server, MAUI, etc.) is the consumer's responsibility — Stratara only ships the ASP.NET Core-generic SignInManager wrapper.

AspNetCoreOpenTelemetryExtensions

ASP.NET-specific extensions to the base OpenTelemetry pipeline from Stratara.ServiceDefaults. Adds request instrumentation and excludes the health-check endpoints from traces.

HealthCheckExtensions

Health-check wiring for Stratara ASP.NET Core hosts: registers a default self check + maps the /health and /alive endpoints.

OpenTelemetryExtensions

OpenTelemetry wiring used by every Stratara host. Configures logging + metrics + tracing with HTTP, EF Core, RabbitMQ, and runtime instrumentation, and registers an OTLP exporter automatically when the OTEL_EXPORTER_OTLP_ENDPOINT configuration value is non-empty.

SerilogExtensions

Serilog wiring used by every Stratara host. Configures structured logging with destructuring attributes, async console sink, OTLP sink (when OTEL_EXPORTER_OTLP_ENDPOINT is set), and dev-mode log-file cleanup at {Path.GetTempPath()}/stratara-logs/{service-name}.log.

WorkerDefaultsHostBuilderExtensions

Worker-defaults composites that wire the Stratara event-sourced stack into a host with a single call. Each method chains together the per-concern DI extensions (mediator, write store, event sourcing, outbox, projections, sagas, identity, session, messaging, resilience) appropriate for one host shape.