Set up staging environments for web apps in Azure App Service | Microsoft Docs

When using deployment slots in Azure Web Apps the appsettings and connectionsstrings are changed when swapping slots.

E.g. the production environment slot has the “production” version of appsettings and connectionstrings and the pre production slot has its own version of those settings in the web.config file.

This is default behaviour, unless you use the app settings in the Azure portal for the environments (overrides web.config file) or check the “Slot setting”. (setting will “stick” with the swap).

Read more here:

Slot config:
Set up staging environments for web apps in Azure App Service | Microsoft Docs

Configure web sites:
https://docs.microsoft.com/en-us/azure/app-service/web-sites-configure

 

Session problems when setting up Azure Web App Service

I had a problem with a web app service on Azure, the session state was not functioning properly.

2 instances where running for the website and the Session affinity cookie was set to Off, that was the problem, ARR makes sure that the user stays on the correct webserver for the duration of the session.

I had to turn it ON, see link below for where to find it.

Disable Session affinity cookie (ARR cookie) for Azure web apps

Create Selenium Grid on Azure DevTest Labs VMs

Azure DevTest Labs is a way to easily spin up VMs being used as developer and test machines.

Here are a Microsoft ready made json template to spin up an Azure Selenium Grid (x number of Selenium node servers) allowing automated UI testing for web sites.

https://github.com/Azure/azure-devtestlab/tree/master/Samples/201-dtl-create-lab-with-seleniumgrid

Remote Debugging a Window Azure Web Site with Visual Studio 2013 – .NET Web Development and Tools Blog – Site Home – MSDN Blogs

Remote Debugging a Window Azure Web Site with Visual Studio 2013 – .NET Web Development and Tools Blog – Site Home – MSDN Blogs.