Asp.net core CloudConfigurationManager.GetSetting() is null
问题 I have an asp.net 4 application where it works fine, but I can't get it working for asp.net core. The documentation says that GetSetting looks in either web.config or app.config file. Storage emulator is turned on. public void ConfigureServices(IServiceCollection services) { AzureConfig.Initialize(); } public static void Initialize() { //Always null var connectionString = CloudConfigurationManager.GetSetting("StorageConnectionString"); } root web.config file: <configuration> <appSettings>