ViewModels and AutoMapper in Razor Pages

Posted on Posted in MyIT101

Mike Brind takes a look at the ViewModel role that the PageModel plays in Razor Pages, and how tools like AutoMapper can be used to reduce the amount of code needed when assigning values between the entity model and the ViewModel.

ViewModels and AutoMapper in Razor Pages
Source: ASP.NET Daily Articles