Mvc Screencast #10: AutoMapper
It’s time for another episode of the Mvc Screencast! I hope you’ve been able to check out the first eight episodes to date. If so, feel free to leave a comment here and let me know what you think. Don’t be shy about tweeting or sharing this series, either. I’d appreciate it if you did!
AutoMapper
In this episode, I talk about Big M Models, Domain Models, View Models, object-to-object mapping, and finally AutoMapper, an OSS tool created by Jimmy Bogard with the goal of making object-to-object mapping simple, conventional and configurable. I’ll also demonstrate how you can quickly integrate AutoMapper into an MVC application, and use it to map from Domain objects to ViewModel objects.
If you want to learn more about AutoMapper, check out automapper.codeplex.com. You can also download or fork the source on GitHub at github.com/jbogard/automapper.
Click on the embedded video below (~17 minutes), click here to view it on Channel 9, or if you want to view the video on your shiny, new WIndows Phone 7, click here to download a mobile-ready version.
I’d love to hear your thoughts, questions or suggestions below. Thanks for watching and sharing!