Passing An Azure Staging Slot URI To A Test Runner In Visual Studio Team Services Release Management

I wanted to run our coded ui tests using Selenium against the staging uri during our continuous integration workflow of our cloud service web role. But the problem arose that I didn’t know the dynamically generated URI that gets created by Azure when deploying to the staging slot. I chatted with DevOps guru Thiago Almeida about this and he had the following suggestion: Add a Powershell script between the [Read More]

Why Did .NET Core Build A .dll and not an .exe?

Started playing with .NET Core and, typical developer, didn’t read any docs first. Installed the tools, created a new project and typed Console.WriteLine(“Hello world.”).  And what did I get when I compiled? A .dll?  Weird. There was a public static void main(). What did I do wrong? Well, I went and read some docs, in particular, this one: https://dotnet.github.io/docs/getting-started/cli-console-app-tutorial. [Read More]

Using Visual Studio 2015 Project Templates and .NET Core

Okay, this wasn’t entirely obvious: to get nifty project templates for .NET Core applications, you have to install both Visual Studio 2015 Update 2 (https://www.visualstudio.com/en-us/news/vs2015-update2-vs.aspx) and the .NET Core SDK for Windows (https://www.microsoft.com/net/core). Then you’ll see the templates for .NET Core when creating a new project. [Read More]

Resolving the MSDeployPublish Error When Publishing Azure Web Jobs From Visual Studio 2015

I had a rather old Azure web job that I always deployed by creating a .zip myself and uploading it to the portal manually. I decided to use the nice feature inside Visual Studio 2015 that publishes the project for you. But when I walked through the wizard and hit “publish” I received the following error: Error MSB4057: The target "MSDeployPublish" does not exist in the project. I [Read More]

Using SSL in the Azure Compute Emulator With A Cloud Service Web Role

Here's what I had to do to get SSL working in VS2015 with a web role in a cloud service: 1. Make sure that the url itself is 127.0.0.1 when launching IIS Express. If it is localhost, it won't work. 2. Make sure that you bind to the azure dev fabric thumbprint that gets installed with the SDK. If you are using the 2.7 SDK, it [Read More]