Skip to content

ASP.NET Core Example

Required package: FluentMap.DependencyInjection

Register an isolated mapping runtime in the application container.

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.