开发者

Why is LocalStorage element listed at two levels of Azure service definition schema?

开发者 https://www.devze.com 2023-03-20 04:54 出处:网络
According to Azure service definition schema LocalStorage element can be present either in <WebRole><LocalResources> (this location is used in samples found everywhere) or right in <开发

According to Azure service definition schema LocalStorage element can be present either in <WebRole><LocalResources> (this location is used in samples found everywhere) or right in <开发者_StackOverflow社区;WebRole> itself (which is not used in samples).

Why is it listed on two different levels of the XML schema? What happens if I define a local storage in each level?


Probably just backward compatibility. (The location presumably changed and we kept the old syntax as an option so existing service definition files could still work.)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号