AutoMapper Andriy Buday http://andriybuday.blogspot.com/
<ul><li>What is AutoMapper? </li></ul><ul><li>DEMO 1: Get started & Features </li></ul><ul><ul><li>Get started with AutoMa...
What is AutoMapper? customerDTO.FirstName = customer.FirstName; customerDTO.LastName = customer.LastName; customerDTO.Midd...
<ul><li>Damn it! </li></ul><ul><li>Let’s write some code! </li></ul>
Thank you! Read blog! Follow me on twitter! @andriybuday http://andriybuday.blogspot.com/ Thank you!
<ul><li>My blog posts on AutoMapper: </li></ul><ul><li>http://andriybuday.blogspot.com/search/label/AutoMapper </li></ul><...
Upcoming SlideShare
Loading in …5
×

Auto mapper

1,276 views

Published on

AutoMapper is an object-object mapper which allows you to solve issues with mapping the same properties from one object of one type to another object of another type. For example, mapping a heavy entity Customer object to the CustomerDTO could be done with AutoMapper automatically.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,276
On SlideShare
0
From Embeds
0
Number of Embeds
259
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Very recently, web development platforms have begun to mature enough to make web development productive enough for DDD, and there are a number of positive trends. For example, SOA, when it is used well, provides us a very useful way of isolating the domain.
  • Auto mapper

    1. 1. AutoMapper Andriy Buday http://andriybuday.blogspot.com/
    2. 2. <ul><li>What is AutoMapper? </li></ul><ul><li>DEMO 1: Get started & Features </li></ul><ul><ul><li>Get started with AutoMapper </li></ul></ul><ul><ul><li>Custom map </li></ul></ul><ul><ul><li>Flattening </li></ul></ul><ul><ul><li>Custom Type Resolvers </li></ul></ul><ul><ul><li>Custom Formatters </li></ul></ul><ul><ul><li>Performance </li></ul></ul><ul><li>DEMO 2: Real world use </li></ul>Outline
    3. 3. What is AutoMapper? customerDTO.FirstName = customer.FirstName; customerDTO.LastName = customer.LastName; customerDTO.MiddleName = customer.MidName; customerDTO.DateOfBirth = customer.DateOfBirth; customerDTO.NumberOfOrders = customer.NumberOfOrders; If you like code above, you don’t need AutoMapper 
    4. 4. <ul><li>Damn it! </li></ul><ul><li>Let’s write some code! </li></ul>
    5. 5. Thank you! Read blog! Follow me on twitter! @andriybuday http://andriybuday.blogspot.com/ Thank you!
    6. 6. <ul><li>My blog posts on AutoMapper: </li></ul><ul><li>http://andriybuday.blogspot.com/search/label/AutoMapper </li></ul><ul><li>My article on CodeProject: </li></ul><ul><li>http://www.codeproject.com/KB/library/AutoMapper.aspx </li></ul><ul><li>AutoMapper Home Page: </li></ul><ul><li>http://automapper.codeplex.com/ </li></ul><ul><li>AutoMapper Sources: </li></ul><ul><li>http://github.com/jbogard/AutoMapper </li></ul>Links

    ×