Instant Automapper
暫譯: 即時自動映射器

Taswar Bhatti

  • 出版商: Packt Publishing
  • 出版日期: 2013-08-04
  • 售價: $1,160
  • 貴賓價: 9.5$1,102
  • 語言: 英文
  • 頁數: 46
  • 裝訂: Paperback
  • ISBN: 1783282053
  • ISBN-13: 9781783282050
  • 海外代購書籍(需單獨結帳)

商品描述

Implement AutoMapper in your .NET projects with ease

Overview

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Great examples with illustrations on how and where to use Automapper
  • Create your own custom resolvers for Automapper
  • Tips and tricks for problem solving and eliminating huge code

In Detail

Automapper is a simple library that will help eliminate complex code for mapping objects from one to another. It solves the deceptively complex problem of mapping objects and leaves you with clean and maintainable code.

Instant Automapper Starter is a practical guide that provides numerous step-by-step instructions detailing some of the many features Automapper provides to streamline your object-to-object mapping. Importantly it helps in eliminating complex code.

Instant Automapper Starter sets off by working through a sample transit application, and then breaks down the different types of Automapper patterns/usage for the reader to easily understand and refer to.

The book covers all aspects of Automapper from installing it into a project, using it with all its mapping capabilities, and extending Automapper with custom resolvers, as well as unit testing the mapping. You will see strategies for an easy-to-maintain object mapping structure and grasp the best practices for using Automapper between Domain and Presentation Objects.

The book will serve as a reference for your future .NET application development that has domain layers.

What you will learn from this book

  • Learn to use Automapper with practical examples.
  • Find out why Automapper is so useful when building applications
  • Discover how to leverage Automapper to solve most of your common object-to-object mapping needs
  • Create your own Custom Resolvers for mapping
  • Configure and test the mapping

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. This book is a practical, step-by-step tutorial that will enable you to use Automapper quickly and efficiently.

Who this book is written for

Instant Automapper Starter is for .NET developers. A good background in .NET is assumed, but a novice user can follow along, and learn to become an advanced user of Automapper.

商品描述(中文翻譯)

實現 AutoMapper 在您的 .NET 專案中輕鬆使用

概述
- 立即學習新知!一本短小、快速、專注的指南,提供即時結果
- 提供優秀的範例和插圖,說明如何以及在哪裡使用 AutoMapper
- 為 AutoMapper 創建您自己的自定義解析器
- 解決問題和消除冗長代碼的技巧和竅門

詳細內容
AutoMapper 是一個簡單的庫,幫助消除將物件從一個映射到另一個的複雜代碼。它解決了看似複雜的物件映射問題,讓您擁有乾淨且可維護的代碼。

《Instant AutoMapper Starter》是一本實用指南,提供了許多逐步指導,詳細說明 AutoMapper 提供的多種功能,以簡化您的物件對物件映射。重要的是,它有助於消除複雜代碼。

《Instant AutoMapper Starter》從一個範例過境應用程式開始,然後為讀者分解不同類型的 AutoMapper 模式/用法,以便輕鬆理解和參考。

本書涵蓋了 AutoMapper 的所有方面,包括將其安裝到專案中、使用其所有映射功能、擴展 AutoMapper 以自定義解析器,以及對映射進行單元測試。您將看到易於維護的物件映射結構的策略,並掌握在領域物件和表示物件之間使用 AutoMapper 的最佳實踐。

本書將作為您未來具有領域層的 .NET 應用程式開發的參考。

您將從本書中學到什麼
- 學習使用 AutoMapper 的實用範例。
- 了解為什麼在構建應用程式時 AutoMapper 如此有用
- 探索如何利用 AutoMapper 解決大多數常見的物件對物件映射需求
- 創建您自己的自定義解析器以進行映射
- 配置和測試映射

方法
掌握一項新技術,了解它是什麼以及它能為您做什麼,然後開始使用最重要的功能和任務。本書是一個實用的逐步教程,將使您能夠快速有效地使用 AutoMapper。

本書的讀者對象
《Instant AutoMapper Starter》是為 .NET 開發人員而寫的。假設您對 .NET 有良好的背景,但初學者也可以跟隨並學習成為 AutoMapper 的進階使用者。