Azure Container Services (AKS) - Getting Started with AKS and a private Azure Container Registry

Azure Container Services (AKS) - Getting Started with AKS and a private Azure Container Registry

This article will talk a little bit about how to get started with the new Azure Container Services (AKS). In recent months I've put quite some efforts into AKS and put it through the ring of fire and rigorous tests. So far, so good. With my R&D I've found some gotchas and had to figure quite some things out, but in the end the setup and configuration is pretty straight forward - and the preview of AKS has significantly improved since I started using it. In this post I will cover: Ramp up with pre-requisites (Azure CLI, AKS…

Read More

A practical guide to building a Bot using Microsoft Bot Framework using C# and host it in Azure, and use it with Microsoft Teams, Skype and more

A practical guide to building a Bot using Microsoft Bot Framework using C# and host it in Azure, and use it with Microsoft Teams, Skype and more

1. Introduction In this post we'll explore how easy it is to actually build a bot for Microsoft Teams using the Microsoft Bot Framework, which can be found here https://dev.botframework.com. This post is meant as a starting point for building bots and conversational helpers using the Microsoft Bot Framwork. Of course, it doesn't have to be limited to the Microsoft Teams channel, it can be targeting Slack, Skype or any other available distribution channel. For the sake of this post, I'll show how to build it and use it with Teams initially. 1.1 The bot: Nerdibot…

Read More

Building and running a .NET Core application in a Docker Swarm in Azure, via Docker Cloud

Building and running a .NET Core application in a Docker Swarm in Azure, via Docker Cloud

Introduction In this article I'll walk you through how to set up a Docker Swarm in Azure through the Docker Cloud service. There's plenty of places to host your docker containers, in this post I'm covering the Docker Cloud option with the Swarm Mode on Azure. I will soon post a few guides for ACS (Azure Container Service) and AKS (Managed Kubernetes on Azure Container Service) which also touches upon how to deploy and host your containerized solutions in the Azure cloud. For the sake of this post, I've created a super-simple console application that outputs messages to an Azure…

Read More

Getting the instance id of a running Azure Function with ExecutionContext.InvocationId

Getting the instance id of a running Azure Function with ExecutionContext.InvocationId

Recently I had a discussion about Azure Functions, the pros and cons, and running multiple instances of batch processing simultaneously. One of the immediate questions that came up in that discussion was; In the built-in logs you see in the streaming log service or in the log console, how do you know which message comes from what invocation? Great question, let's dig into that! Get the Invocation Id of an instance of a Azure Function When a Function runs, it gets a new unique identifier by default. You can see this in the invocation log: 2016-12-01T22:34:34.605 Function…

Read More

Reuse your C# Script (csx) code in multiple Azure Functions

Reuse your C# Script (csx) code in multiple Azure Functions

Azure Functions hit GA (General Availability) recently. A big milestone for the Azure Functions team, and I'm happy to see that it's finally out of Preview. Lately I've been working a lot with various parts of Azure to find the best fit for various busines cases. Functions has been one of those adventures, doing a lot of R&D around how they can be put to good use. One of the pitfalls I found early on was that I wanted to have multiple functions process different things on the same "task". With that I also had various…

Read More

Azure Storage REST API: Authenticate with C#

Azure Storage REST API: Authenticate with C#

In one of my projects where I've been refactoring a traditional .NET project into a .NET Core project, I used the Azure Storage nugets. As of this posting, the current version of the NuGet supports .NET Core which is awesome - but the dependencies doesn't. Why is this a problem? Well, because if you want to migrate this code to run on .NET core and you rely on the Windows Azure Storage NuGet Package, it will not be possible to run it in .NET Core currently. That's why I chose to use the Azure Storage REST API instead for all…

Read More

Microsoft Ignite 2016 - Summary of key announcements for Office 365, SharePoint and Azure from Day 1

Microsoft Ignite 2016 - Summary of key announcements for Office 365, SharePoint and Azure from Day 1

In the flood of announcements from Ignite 2016 today, I noted down my favorites about Office 365, Azure and SharePoint. Enjoy. SharePoint Server Announcements I only found one interesting SharePoint Server announcement today, and that was the announcement about Feature Pack 1 for SharePoint Server 2016. The Feature Pack contains among other things: Logging of admin tasks in Central Admin Logging of admin tasks using PowerShell Enhancements to MinRole to support small environments A new OneDrive for Business User Experience Custom tiles in the SharePoint App launcher Unified auditing across site collections on-prem and in O365 Unified taxonomy across on-prem…

Read More

Azure Resource Manager Template Visualisation with ARMVIZ

Azure Resource Manager Template Visualisation with ARMVIZ

Here's another quick tip for those of you, like me, working with the Azure Resource Manager in various ways. If you're designing templates, there's a pretty slick template visualization tool available called ARMVIZ. Edit and Visualize your ARM templates It's pretty basic and simplistic. It gives you an overview of what your Azure Resource Manager template looks like and visualizes them in a comprehensible diagram. Designer: Editor: Visualize your own ARM Templates Since you can easily choose a file from disk or copy-paste code into the editor in order to visualize it, you could also go to your Azure Portal…

Read More