Dto vs ViewModel

preview_player
Показать описание
Many of you have used viewmodel and dto before, but do you know what's differences between these two?
In this video i'll show you best practices for dto and viewmodel and i'll tell you what's the differences.

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

0:00 - Intro
0:32 - What's Dto
1:22 - What's ViewModel
1:44 - What's Differentness
2:20 - Dto In Real World !
3:50 - ViewModel In Code
Рекомендации по теме
Комментарии
Автор

Thanks for your tutorial sir! Please don’t cry so loud in your microphone. You just scaring me.
Is it Ok when DTO contains Id property?

torrvic
Автор

Don't use ViewModels. Just Dto is fine.

wiepcorbier