Where do I find the Azure Website Deployment password

If you are using azure deployment profiles for Visual Studio you can find the deployment password here:

Login to portal, select the web app service, click the link “Get publish profile” to download. Open the xml file and find the password in element publishProfile attribute userPWD.

Source: Where do I get my actual Azure Website Deployment password? – Stack Overflow

EPiServer – Comparing list properties

Probably in every EPiServer project there will be a need to store a list of links to your content pages. EPiServer.CMS.UI 8.6.0 introduced a new multiple ContentReference property. Usually we could use a single property to store a collection of links. For example when building a media slideshow or when displaying links in a site footer. Using EPiServer there are several possibilities of implementation.

List properties: ContentArea, LinkItemCollection, multiple ContentReference

Read more here: Comparing list properties – Grzegorz Wiecheć

Copying files larger than 2 GB over RDP

Symptoms

When you try to copy a file larger than 2 GB over a Remote Desktop Services or a Terminal Services session through Clipboard redirection (copy and paste) by using RDP client 6.0 or a later version, the file isn’t copied. And you don’t receive an error message.

Cause

It’s a known issue. Copying files larger than 2 GB by using this method isn’t supported.

Resolution

To resolve this issue, use one of the following methods:

  • Use Drive Redirection through Remote Desktop Services or a Terminal Services session if you want to transfer files larger than 2 GB.
  • Use command-line alternatives to copy files larger than 2 GB over a Remote Desktop Services or Terminal Services session. For example, use the following command:
    Console:

    xcopy \\tsclient\c\myfiles\LargeFile d:\temp  

Source: Copying files larger than 2 GB over a Remote Desktop Services or Terminal Services session by using Clipboard Redirection (copy and paste) fails silently

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

Turn off Client-side debugging in Visual Studio 2017 for js and typescript

If you prefer to use Chrome’s or IE’s own dev tools to do client-side debugging, the recent update to Visual Studio 2017 RC introduced a setting to disable the IE and Chrome script debugger (this will also prevent Chrome/IE from closing after a debugging session ends). Go to Tools -> Options -> Debugging -> General and turn off the setting Enable JavaScript Debugging for ASP.NET (Chrome and IE).

This needs to be done as well sometimes:
Tools > Options > Projects and Solutions > Web Projects, uncheck “Stop debugger when browser window is closed”

Source: Client-side debugging of ASP.NET projects in Google Chrome | .NET Web Development and Tools Blog

BareTail – Simple viewer for log files

BareTail – free “live feed” viewer for log files.
* scrolls to last line of log upon updates
* custom highlight certain rows with  a color based on your kewords
Download: https://www.baremetalsoft.com/baretail/index.php

My highlighting settings:
Image 20171020 220003 001
More info: http://geekswithblogs.net/robz/archive/2008/05/09/baretail—log-file-monitoring-tool.aspx

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