Ben Foster 10/12/2011

AutoMapper StructureMap Profile

Read Original

This technical article provides a detailed tutorial on configuring AutoMapper 2.0 with the StructureMap IoC container. It shows how to create a StructureMap registry to wire up AutoMapper's components for dependency injection, allowing the IMappingEngine to be injected into services instead of using static Mapper calls. The post includes code examples for the registry, a bootstrapper class, and a sample profile.

AutoMapper StructureMap Profile

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser