Resolving “CloudConfigurationManager does not exist in the current context” compiler error

Hi, In case you get are trying to access the cloud configuration file in your Azure Cloud service and get the error “CloudConfigurationManager does not exist in the current context” on CloudConfigurationManager class, then all you need to do is add the nuget package “Microsoft.WindowsAzure.ConfigurationManager” to your project. And then, make sure you include the using […]

Resolving “Mapper not initialized. Call Initialize with appropriate configuration.”

Hi, In case you’re using AutoMapper to map entity objects; something like below line of code Mapper.Map<User, UserEntity>(user); and if you get the exception, “Mapper not initialized. Call Initialize with appropriate configuration.“, then it means, well, that you’ve not initialized AutoMapper and need to do so before mapping entities 🙂 So in order to initialize […]