In one of my MVC projects, I have a special configuration setting for a test deployment site. By doing this, I was able to add a tranformation configuration to override various parameters in the web.config file. For example, I have the following files:
web.config web.release.config web.debug.config web.testsite.config
When I deploy my test site, it now overwrites some of the parameters specified in my web.testsite.config
Is it possible to get the same behavior on some of my ideas? For example, can I have index.testsite.cshtml? I could turn on and off the behavior with flags from the configuration, however, it seems that a cleaner approach should provide for additional conversions / replacements depending on the configuration.
source share