Tuesday, May 12, 2020

Using parameters for different publish profiles in web deploy

We can create publishing profiles for a web application by right clicking on the project and choose publish action. This creates a .pubxml file inside properties node in solution explorer. A detailed explanation of this process can be found at


In this process it is a rather tricky task to replace connection strings for each publish profile. This can be done by using parameters.xml file. More information can be found at 





An easier way is now available through Azure DevOps tasks as explained at

No comments:

SSL Error - The connection for this site is not secure

 After cloning a git repo of dot net framework website and trying to run it all I could see was this error Turns out the fix was to simply e...