From DTO to ViewModel: Mapping Strategies Between Layers in C#
Year: 2025
Type: article
Abstract: This article explores the differences and mapping strategies between Data Transfer Objects (DTOs) and ViewModels in C#. DTOs are used for efficient data transfer between layers, while ViewModels cater to the specific needs of the user interface. The text discusses mapping methods, including the use of the AutoMapper library and manual approaches, as well as considerations for adoption and testing.
Author: Sabbag Filho, Nagib
Institution: Faculdade de Informática e Administração Paulista
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W6931115657
FWCI:
Cites:
Cited by:
Related to:
