About me

Marco van Kimmenade
Developer to the bone.
Blogging about Azure and anything else that comes to mind.

Persisting IoTHub Device Connection State using an Azure Function - 10/2/2016
In this blogpost we're going to look at how we can persists the connection state of an IoTHub device into a SQL Database.
The connection state is also available in the IoTHub device registry, but quering the device registry each time an application needs the connection state, isn't optimal.

Enabling SSL Client Certificates in an Azure Cloud Service - 4/30/2016
For a recent project I needed to host a WCF service in an Azure Cloud Service Worker Role.
This WCF service was secured using Client Certficiate authentication.
During a typical SSL handshake, the server will send a list of all trusted Root Certificate Authorities in the ServerHello mess(...)

Processing WeatherStation data using Azure IoT Hub and Stream Analytics - 1/2/2016
Recently I received the Microsoft IoT Pack for Raspberry Pi 2
Using this starter pack you can create the WeatherStation sample that can be found over here
With this sample and combining it with the Azure IoT Hub and Stream Analytics it is very easy to display the data from the WeatherStati(...)

A simplified Azure Service Fabric Resource Manager Template - 12/22/2015
When you create a new Azure Service Fabric cluster, you can download the Resource Manager Template in the summary section.

This template (and the fact that you can download it so easily) is great but in my opinion there are a lot of parameters to fill in.
Therefor I simplified this(...)

An Azure IoT Hub Resource Manager Template - 12/12/2015
For a recent project I needed to recreate an Azure IoT Hub automatically.
An Azure Resource Manager Template is perfect for this but I couldn't find any online.
So after some trial and error I figured out how the template should look like. Below is the result of that effort.
The Tem(...)

Fixing failing Windows Azure Diagnostics logging - 12/5/2015
In one of my projects I'm having multiple Cloud Services that use ETW logging and use Windows Azure Diagnostics (WAD) to upload the logs into Azure Table Storage.
After I upgraded the Cloud Services to a new version, the logging suddenly failed.
I enabled Remote Desktop on one of the Worke(...)

Deleting an Azure Service Fabric Cluster - 11/29/2015
With the recent announcement of the Public Preview of Azure Service Fabric, I've been building some test applications for it.
Once you deploy your application to the Cluster there are multiple ways to delete individual services, actors or the entire application.
You can use the Service Fab(...)

Resetting Azure PowerShell account credentials - 11/8/2015
Recently I was having some problems with using Add-AzureAccount in PowerShell.
I could sign in correctly but as soon as I tried any Azure cmdlet I would get the error "No default subscription has been designated".
This error kept showing up, also after Remove-AzureAccount, restarting Power(...)

Device registration and management for the Azure IoT Hub - 10/18/2015
Recently Microsoft announced the public preview of the Azure IoT Hub.
The IoT Hub is a great solution to establish bi-directional communication between devices and the cloud. Furthermore, it has an authentication model per device, allowing you to manage per device credentials.
In this post(...)

Starting and stopping a VM using Azure Automation - 9/9/2015
There have been some people already who have blogged about Azure automation of Virtual Machines.
For my use case I needed a slightly different set up, so here is my use of Azure Automation.
My development machine is a Windows 10 Azure D3 VM which is running in my MSDN subscription.

Deploy ASP.NET 5 to an Azure Web App using Visual Studio Online - 9/5/2015
When I was building this website, I wanted it to automatically deploy from VSO to my Azure Web App.
Since this website has been build with ASP.NET 5 (currently using beta 5 8) i couldn't just simply use the default stuff in VSO.
I found this great article by the VS ALM guys that discribe h(...)

Multiple Matching Tokens - 9/2/2015
Recently every time I tried to connect to Azure in the Visual Studio Server Explorer I kept getting this Multiple Matching Tokens error.
Trying to reconnect always gave me the Already Signed In message.
Selecting either the Remain signed in or Sign out and sign in with a different account (...)