From DTO to ViewModel: Mapping Strategies Between Layers in C#

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.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-04-14
DOI
https://doi.org/10.5281/zenodo.15245818
Primary Topic
Software Engineering and Design Patterns
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

From DTO to ViewModel: Mapping Strategies Between Layers in C#

Zenodo (CERN European Organization for Nuclear Research)
Software Engineering and Design Patterns
article

From DTO to ViewModel: Mapping Strategies Between Layers in C#

article en

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.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 30%
Software Engineering and Design Patterns
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

From DTO to ViewModel: Mapping Strategies Between Layers in C# · Zenodo (CERN European Organization for Nuclear Research) (2025) | TGRS Research Map | TGRS