0
我将.NET MVC应用程序移动到Microsoft Azure云服务。我计划将配置从web.config移到azure中的csdef/cscfg。在服务定义csdef中启用自定义配置部分,在azure中配置服务配置cscfg
我的web.config文件有几个自定义配置节。
<configuration>
<configSections>
<section name="myConfig1" type="MyNamespace.MyClassType" />
</configSections>
<myConfig1 someProperty1="someValue1" someProperty2="someValue2" someProperty3="someValue3">
<test1 testproperty=testValue />
<test2 xProperty=xValue />
</myConfig1>
</configuration>
我在应用程序启动时使用此配置(global.asax)。 我想将其转换为csdef/cscfg。 通常cscfg有配置设置的键/值对..
任何人都可以建议我如何将自定义配置转换为天蓝色的服务配置?