View On GitHub
reading-notes
Reading Notes for Codefellows!
Project maintained by
AlanYHung
Hosted on GitHub Pages — Theme by
mattgraham
Code 401 ASP.NET
Reading 16
(All My Notes are attributed/sourced from the Resources directly preceding them.)
Summary
Data Transfer Objects help solve problems with API Frameworks
Removes Circular References
Hide properties not for view by clients
Omit properties to reduce payload size
Flatten Object graphs to make more convenient for clients
Avoids “over-posting” vulnerabilities
Decouple the service layer from the database layer
Resources
Create Data Transfer Objects (DTOs)
Author: Microsoft Docs
Article Source
Resources
How to use Data Transfer Objects in ASP.NET Core 3.1
Author: Joydip Kanjilal
Article Source
<– Back