title: Where to put Mapster mapping code in EF Core 3 and ASP.Net MVC Core?
body: <p>I'm just starting to work with ASP.Net MVC Core and am trying to understand some of the differences between that and ASP,Net MVC Framework.</p>
  
  <p>I use the Mapster library to organize the mappings between my data objects and the view models. In the old world I would create a Mapping Configuration file with my DTO to viewmodel mappings and then call that at startup. Is there a best practice way to do this in the Core world?  I assume something that gets called in the startup class?</p>
  
  <p>Any suggestions or examples would be appreciated.</p>