web.config-transform Questions

8

Solved

I have a project I am trying to use SlowCheetah for. I have created my config file (Test.web.config) and all the transformations I want to use (Debug_Mock.config, Debug_SQL.config, Release) in my B...

3

I know that when creating a release pipeline in Azure DevOps you can have the web.config of an app updated with variables from the pipeline and that works great for all the appSettings values. Bu...

5

Solved

I have web.config transforms for several environments. In the config file I have an applicationSettings section with several setting and value pairs. I have tried based on the syntax I use to matc...
Stargell asked 3/7, 2015 at 13:29

3

Solved

Is it possible to remove the commented lines from a web.config on build? xml transform is fine to remove some elements but I couldn't find any syntax to clean the comments from the file. We are u...
Hectograph asked 6/2, 2014 at 1:3

2

I'm using Visual Studio 2013 and at one time I was able to right click on a web.config transformation file and there was a 'Preview Transformation' option that I could click on and see the result o...
Regrate asked 28/8, 2014 at 18:41

4

Solved

I have an asp.net application, which must run under SSL, and it has some rewrite rules defined in web.config to accomplish this. <!--file web.config --> .... </system.webServer> <r...
Holozoic asked 3/5, 2014 at 20:53

5

Solved

I am trying to deploy an application to AppHarbor and followed their instructions on how to modify my web.config, so it uses their instance auf Sql server. Upon running the solution I am getting t...
Lorou asked 6/11, 2013 at 10:52

6

Solved

I have this web.config file with the compilation option set as below Web.config <configuration> ... <system.web> <compilation debug="true" targetFramework="4.5" /> ... </sy...

8

Solved

I've just came across with problem of web.config transformation in asp.net core. There are two files: base web.config and web.prod-zone-a.config. My aim is to use transformation inside web.prod-zo...
Tirzah asked 29/3, 2017 at 19:59

3

Web.config file is transformed locally with different environments like(DEV, QA, Prod). How these environment specific config files will be used while release the application on different environme...
Fatso asked 30/10, 2017 at 11:33

0

Good night. I have a site in php/apache and the file of configurations of routes is the .htaccess. I need pass the site to azure plataform web.config But, I can not work the routes in the IIS. I di...
Ashtoreth asked 7/1, 2019 at 1:9

4

Solved

I want to know how to change automatically the connection string of my app so when I'm working on it in my pc, it uses my local SQL Server and once I publish it then uses the SQL Server I have host...
Grimaldi asked 4/9, 2015 at 2:17

2

I have a common web project which is used as a base for several "child" web projects. Is it possible to apply a web.config transform/merge between projects? Let's say the structure looks like this:...
Deontology asked 2/1, 2018 at 13:27

5

Our ASP.NET Web Api project has two deployment configurations (.pubxml): Web deployment directly to Azure Websites. Package deployment to a local Zip file. The Web deployment (1) works just fin...
Eindhoven asked 9/2, 2015 at 17:54

1

Solved

I have a webb aplication where I want to take advantage of the web.debug.config file so that when debugging I use a test database. This does not work for me. I have this in my web.debig.config.. &...
Rawls asked 14/9, 2017 at 8:38

7

I have a requirement to not store any sensitive information (e.g. usernames and passwords) in source control. We are doing a .NET 4.5 MVC app so my plan was to encrypt the web.config using the aspn...
Machellemachete asked 16/4, 2014 at 19:37

1

Solved

I am attempting to transform my Web.config file to add rewrite rules for release builds, but I'm getting an intellisense error. The 'http://schemas.microsoft.com/XML-Document-Transform:Transform...
Halsey asked 31/5, 2017 at 20:57

2

I want to apply web.config transformations with Octopus Deploy, but only on the production environment. I don't want to create separate configs for all of our other environments. At the moment i'...
Zigrang asked 29/4, 2014 at 11:4

1

Solved

In VS2015, I've recently been getting an XML comment added to my web.config file for website projects that I publish: <!--ProjectGuid: CDCD60A4-F8AC-4343-A798-8B9917B7711D--> This only hap...
Blackberry asked 27/9, 2016 at 18:43

1

Solved

Problem: DataFolder.config file is not reverting back to previous state (the patch element's value). Also, none of the custom config file transforms are being pushed out to the destination folder....
Pendulum asked 16/2, 2017 at 21:26

1

I have the next issue when transforming my Web.Config: No element in the source document matches '/configuration/system.web/authorization/allow[@roles='WhateverGroupNameRenamedForProd']' Here...
Proton asked 31/10, 2016 at 13:14

1

Solved

I am using msDeploy (3.0) to deploy my MVC applicaiton. I have a build pipeline that generates build artifacts for msdeploy and my deploy pipeline applies appropriate web.config transforms on the W...
Biochemistry asked 25/5, 2016 at 19:26

2

Solved

Where I work, we create Azure web sites and SQL databases for development purposes as needed as well as for staging and production environments. We create a web.config transform for each publish pr...
Jeffcott asked 22/1, 2015 at 16:1

1

Solved

I have the following setup in a Visual Studio 2013 ASP.NET Web API 2 project. Web.Develop.config web transform to set an app settings key value Web.Release.config web transform to remove an app...
Pornocracy asked 31/7, 2015 at 2:15

1

How to change applicationHost.config in an Azure web app? I try: using (ServerManager serverManager = new ServerManager()) { Microsoft.Web.Administration.Configuration config = serverManager.GetA...
Hagerman asked 15/7, 2015 at 10:17

© 2022 - 2024 — McMap. All rights reserved.