Skip to content

ASP.NET Core Integration

Required package: FluentMap.DependencyInjection

Compose mappings once at startup and inject an isolated runtime.

Use this capability when the column shape and .NET model should remain separated by explicit, reviewable configuration.

builder.Services.AddFluentMap(mapping =>
mapping.Configure(config => config.AddMap<CustomerMap>()));

FluentMap registers typed metadata and applies it through the matching materialization path. SQL, connections, parameters, and lifecycle remain responsibilities of the application and Dapper.