[Mono-aspnet-list] Web.config transformations
cthielen at gmail.com
Wed Jun 22 19:23:06 EDT 2011
Part of my problem may be in my understanding of Web.config transformations too. If MonoDevelop is in "debug" configuration for the project, does it not first include Web.config, then apply Web.Debug.config, or is that transformation only done by xsp/mod_mono when a site is deployed? i.e. are transformations applied when merely writing code in MonoDevelop?
On Jun 22, 2011, at 2:50 PM, Christopher Thielen wrote:
> I'm not sure if this is a Mono/MonoDevelop question or general ASP.NET question, but either way, somebody here should know!
> I'd like to use Web.config transformations to avoid storing sensitive data in public repositories.
> I have a standard Web.config: https://github.com/cthielen/RightsManagement/blob/master/RightsManagement.UI/Web.config - as you can see, I've left the connection strings empty.
> and a Web.Debug.config, which I'm trying to use to test transformations: https://github.com/cthielen/RightsManagement/blob/master/RightsManagement.UI/Web.Debug.config
> But they are not applying. I tried putting blatantly bad XML in Web.Debug.config to see if it's being parsed, and no error is thrown.
> Any ideas?
> (Mono 2.10.1 on Mac (2.10.2 as a MySQL connector bug), MonoDevelop 2.6 beta 3)
> Christopher Thielen
More information about the Mono-aspnet-list