CloudConfigurationManager vs WebConfigurationManager?

后端 未结 4 1421
-上瘾入骨i
-上瘾入骨i 2021-01-04 03:25

In an Azure Websites I was always using the following code to fetch some values from the config\'s app settings:

string property = WebConfigurationManager.         


        
4条回答
  •  醉酒成梦
    2021-01-04 03:52

    CloudConfigurationManager requires Microsoft.WindowsAzure.Configuration assembly, part of Azure SDK or separate NuGet.

    WebConfigurationManager requires System.Web.Configuration assembly, part of .NET Framework.

提交回复
热议问题