MVCScaffolding and AutoMapper Mapped ViewModel

Does anyone know if there are templates for forests, etc. for MVCScaffolding that create ViewModels for each view and add AutoMapper mapping for them? I want to follow the recommendation of Jimmy Boggards that each view should have a dedicated ViewModel, and it would be nice if I could automate this process.

Even if he used all the fields of the object as a ViewModel, that would be a good start. If none of them have done anything like this, I see here it creates a default ViewModel. So I thought someone took this further?

+4
source share
1 answer

It seems that the article describes what I was looking for. Will be updated after testing.

0
source

Source: https://habr.com/ru/post/1382073/


All Articles