Asp.net core 2.0 AutoMapper IValueResolver dependency injection
问题 I have tried most of the examples in the Google Results, Stackoverflow and in AutoMapper. But was not able to get the IValueResolverdependancy injection to work. I have below service public class StorageService : IStorageService { private readonly BlobServiceSettings _blobServiceSettings; public StorageService(IOptions<BlobServiceSettings> blobServiceSettings) { _blobServiceSettings = blobServiceSettings.Value; } // some methods I need } This is my profile public class MappingProfile :