Skip to content

Search EricksonLopez.* Ecosystem

Type a library name, NuGet package ID, .NET type, or architectural concept to search across the portal.

Configuration & Integrations — DapperExtensions

Configure DI lifetimes, keyed resilience pipelines, observability, health probes, and type handlers across all published 2.0.0 packages.

  • AddDapperExtensions(Action<DapperExtensionsOptions>?): Enables RegisterStandardTypeHandlers (DateOnly, TimeOnly) and RegisterTransientErrorDetectors (SqlServer, PostgreSql, MySql, Sqlite, Oracle singletons + IEnumerable<ISqlTransientErrorDetector>).
  • AddDapperTypeHandlers(): Invokes DapperTypeHandlerRegistrar.RegisterStandardHandlers().
  • AddDapperResiliencePipelines(): Registers keyed EricksonLopez.Resilience.IResiliencePipeline singletons for "postgresql", "sqlserver", "mysql", "sqlite", and "oracle".
  • EricksonLopez.DapperExtensions.OpenTelemetry: Call services.AddDapperOpenTelemetry(opts => { opts.CaptureSqlStatements = false; }) to instrument spans under ActivitySource "EricksonLopez.DapperExtensions". SQL text capture is opt-in (CaptureSqlStatements defaults to false).
  • EricksonLopez.DapperExtensions.HealthChecks: Register database liveness checks with IHealthChecksBuilder.AddDapperHealthCheck(name, connectionFactory, ...) or dialect helpers (AddPostgreSqlDapperHealthCheck, AddSqlServerDapperHealthCheck, AddMySqlDapperHealthCheck, AddOracleDapperHealthCheck, AddSqliteDapperHealthCheck).
  • String Enum & JSONB Handlers: Use DapperTypeHandlerRegistrar.RegisterStringEnumHandler<TEnum>() and NpgsqlTypeHandlerRegistrar / JsonbTypeHandler in EricksonLopez.DapperExtensions.PostgreSql.TypeHandlers.
  • Cross-Library Integrations: Integrates with EricksonLopez.SqlBuilder.Abstractions (ISqlQuery in MultiMapBuilder), EricksonLopez.Pagination, and EricksonLopez.Resilience.