简体   繁体   English

本节中的web.config转换

[英]web.config transformations in section

I"m trying to setup web.config transformations. Is it possible to do with sections? 我正在尝试设置web.config转换。是否可以对部分进行处理?

How would I transform all 3 values? 如何转换所有3个值?

<section name="productinformationsettings" type="ProductInformation.Common.Configuration.ProductInformationConfigurationSection, ProductInformation.Common" />

<productinformationsettings ImageUrlBase="https://www.test.com" apikey="xxxxx" enivironment="test" />

When does Web.Debug.Config get used? Web.Debug.Config何时使用? When I'm debugging? 当我调试时?

this is what i needed. 这就是我所需要的。 xdt:Transform="Replace" xdt:Transform =“替换”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM