The author of AutoMapper Jimmy Bogard wrote a nice blog post on how he integrated AutoMapper in the new Dependency Injection framework of .NET Core.