web-config-transform Questions

1

Solved

I have numerous different Web.configs in my MVC 5 Application for different environments - e.g. Test/Prod I have web transforms in place to change values for the different environments. So for exa...

2

I try to get all attibutes from one subsection, but section have many subsection and the aplication didn't recognize, how can I do? this is my webconfig: <configSections> <section name="...
Townshend asked 19/2, 2015 at 6:33

2

Solved

I'm trying to remove all service endpoint mexHttpBinding nodes in my Web.Release.config file. I found this answer: (I copied from my code file, so it's actually formatted differently than the ans...

1

I want to add a web.config transform to be used in an automatic build/deploy cycle via MSBuild. However when I use Visual Studio to add the transformations I only get Debug and Release and ha...
Girth asked 3/8, 2011 at 8:29

2

Solved

In my Web.Config I have the following <system.webServer> <modules> **some code** </modules> <handlers> **some code** </handlers> </system.webServer> ...
Napery asked 17/5, 2014 at 9:45

1

Solved

I have a transform for my web.config that currently works if I publish to Azure, but it's not working locally when I build/run. How can I go about "Publishing" locally so the Local transformations ...
Chervil asked 10/10, 2013 at 16:12

1

Solved

I have a web.config file in which I need to either insert the <configSections /> element or manipulate children of that node if it already exists. If it already exists I don't want to insert ...
Faraway asked 11/9, 2013 at 9:10

2

I have got a Web.Release.config that is successfully transforming a connection string. When I add a microsoft.identityModel section I get a warning saying The 'http://schemas.microsoft.com/XML...
Accelerando asked 15/12, 2011 at 0:2

3

I am trying to have my TFS Build create the web.config transform associated with the configuration I selected for my build. When I run the build I check the web.config file no transforms have been ...
Knighterrantry asked 1/5, 2013 at 2:37

1

Solved

Like most people I'm using teamcity as a CI tool and I'm also using web config transformations quite heavily, a lot of times to insert config values. My build process is generally to build the ent...
Chamaeleon asked 28/5, 2013 at 13:28

1

Solved

I have the following setup: ASP.Net MVC .Net 4.0 solution with 5 projects in it, and several solution configurations (Site1-Stage, Site1-Live, Site2-Stage, etc). The reason for this is simple - we ...
Chianti asked 10/4, 2013 at 18:13

1

I've got a C# project that references a lot of WCF services. For local testing, I want to replace the contents of the identity tags so that it will accept anything running on localhost. The follow...
Penicillate asked 9/10, 2012 at 22:21

1

I have the following in my app.config file. I am using Slow Cheetah and just want to replace replace configuration/entityFramework/defaultConnectionFactory/parameters/parameter so it points to a di...
Zoospore asked 23/3, 2013 at 22:9

1

I'm using SlowCheetah for XML transforming a bunch of config files in a project. However, this same solution is part of a load balanced setup, where some config values differ between the different...

3

Solved

I have the following XML in my web config and I would like to select an attribute for removal using web.config transforms, but I would like to select the element for removal based on the value of o...
Thaler asked 5/2, 2013 at 23:58

2

I am using the web.config transforms available via VS2010. In this one case I'm wondering if it possible to 'surround' an element with another during transformation. Here is an example: default we...
Tilt asked 16/12, 2010 at 22:52

1

Solved

I have a transform that looks like this <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> <a> <b> <c> <d> <e name="UpdateLanguag...
Carouse asked 14/12, 2012 at 21:10

0

We're using SlowCheetah config transforms to manage configuration, so in each of my web apps I have: > Web.config > Web.debug.config > Web.release.config I want to include an appSetti...
Lindie asked 26/6, 2012 at 9:17

2

Solved

I've got the following configuration in web.config: <resizer> <sizelimits imageWidth="0" /> <plugins> <add name="MvcRoutingShim" /> <!--<add name="AzureReader" c...
Thermoplastic asked 14/6, 2012 at 12:15

3

Solved

In Visual Studio, I have some Javascript code on a site I'm developing. While I'm debugging I'm using the $ajax call to "localhost". When deployed, it will need to be the actual server: $('#textIn...

1

I want to have a date when an application was deployed/published in my Web.Config. Is there a way to achieve that with web.config transformations? With xdt:Transform="Replace" I can replace any n...
Brookner asked 25/5, 2012 at 6:11

1

Solved

I am trying to transform all of the web.config files in a project I have, here's a my tree structure: Transform.bat Transforms ConfigTransform.proj Web.Transform.config Website web.config View...
Rosemarie asked 30/4, 2012 at 12:8

2

Solved

I have a Web.config with several ConnectionStrings <connectionStrings> <add name="connStr1" connectionString="... <add name="ConnStr2" connectionString="... <add name="connStr3" ...
Craggy asked 19/1, 2012 at 2:50

2

Solved

I've been following the MSDN guide for Web Config Transformation and by-and-large have had success with it. However, one line of my web config is giving my troubles and I can only assume it's beca...
Phene asked 28/10, 2011 at 12:29

1

Solved

We have a number of config transforms which enable us to publish to a particular environment with the correct options specified in web.config. However, it would be useful to run the application lo...
Steer asked 1/7, 2011 at 13:53

© 2022 - 2024 — McMap. All rights reserved.