DavidHardin@microsoft

Information to assist other developers learned by David Hardin while working at Microsoft.

Azure IoT Edge Preview 2 – Restart Error

Currently there is a problem starting IoT Edge runtime unless the "iotedgectl setup" and "iotedgectl...

Author: david.hardin Date: 06/08/2018

Azure IoT Edge Preview 2 – Module Networking

By default Docker prevents the outside world from communicating with the module running in the...

Author: david.hardin Date: 06/08/2018

Azure IoT Edge Preview 2 - Lessons Learned Series

I'm writing a series of posts tagged with IoTEdgePreviewLessonsLearned to share knowledge about...

Author: david.hardin Date: 06/08/2018

Logging Azure Startup Task to WAD

Debugging startup tasks is very challenging so it is useful to log what they are doing. Say that you...

Author: david.hardin Date: 06/16/2015

Azure Service Fabric Announced

I'm very excited to see the Azure Service Fabric announcement! My blog post from 2011, "Designed for...

Author: david.hardin Date: 04/20/2015

OData Action Gets 404 Due To Periods In URL

Following the tutorial at:...

Author: david.hardin Date: 01/13/2015

OData Complex Type Containing an Entity Type Workaround

For OData Actions and POST I want to return a complex type which has a navigation property to an...

Author: david.hardin Date: 01/13/2015

Web API OData V4 Lessons Learned

Developing an OData service using Web API is relatively simple if you stay within the routing...

Author: david.hardin Date: 12/17/2014

SysPrep Error Due to Windows 8 Store Apps

A coworker wanted a copy of my development VM so I SysPrep'ed it and gave him a copy of the VHD....

Author: david.hardin Date: 12/10/2013

AzCopy and the Azure Storage Emulator

AzCopy is now part of the Azure SDK and can copy files to and from Azure Storage. I couldn't find...

Author: david.hardin Date: 11/22/2013

Using WebPICmd to Install an Older Azure SDK

To avoid regression testing I recently had to build a web role with a minor bug fix using Azure SDK...

Author: david.hardin Date: 11/20/2013

.publishsettings Warning and Info

Use Azure's ability to generate a .publishsettings file carefully. The capability is described here....

Author: david.hardin Date: 08/27/2013

Azure Management Certificate Public Key / Private Key

// Today I'm exploring how the public and private keys created with MakeCert.exe are stored. Earlier...

Author: david.hardin Date: 08/27/2013

CloudFx Tracing and Diagnostics

Today I'm investigating how CloudFx tracing and diagnostics works. I want to control the verbosity...

Author: david.hardin Date: 08/08/2013

Improved Tracing and ETW Support in .NET 4.5

.NET 4.5 added the System.Diagnostic.Tracing namespace. Classes derived from its EventSource and...

Author: david.hardin Date: 03/12/2013

Building and Packaging Virtual Applications within Azure Projects

Azure SDK 1.8 introduced a change in how CSPack locates virtual applications given the...

Author: david.hardin Date: 01/18/2013

SQL Server Parallelism–The Dark Side

I just upgraded my dev box from four cores to six cores with a bunch of memory. I was excited to see...

Author: david.hardin Date: 09/28/2011

SQL Server 2008 R2 Change Tracking and Backup Fix

My database server rebooted unexpectedly and I started getting this error each time I’d try to...

Author: david.hardin Date: 09/28/2011

Designed for the Cloud–it is all about State!

I just got back from a proof of concept (POC) review.  A POC is what we call the investigation...

Author: david.hardin Date: 07/19/2011

Cloud Security–Another Viewpoint

I recently wrote in a post that software as a service (SaaS) providers have economy of scale...

Author: david.hardin Date: 06/21/2011

Where Does the Cloud Lead Us?

I work in IT.  Have you ever thought about the cloud paradigm shift going on in IT and where it...

Author: david.hardin Date: 06/15/2011

Silverlight and Claims-Based Authentication in Windows Azure

I wrote a series of lessons learned articles which Daniel Odievich helped me publish over on the...

Author: david.hardin Date: 05/02/2011

Configuring diagnostics.wadcfg to Capture Custom Log Files

Windows Azure Diagnostics (WAD) has the ability to copy files to Azure blob storage. The feature is...

Author: david.hardin Date: 03/31/2011

Configuring WAD via the diagnostics.wadcfg Config File

Azure 1.3 added the ability to control Windows Azure Diagnostics (WAD) via a config file. The MSDN...

Author: david.hardin Date: 03/29/2011

Mechanical Bird

We are lucky that “building” software is so easy and cheap.  Imagine how hard it is to build a...

Author: david.hardin Date: 03/29/2011

Azure Diagnostics and ASP.NET Health Monitoring

By default Windows Azure Diagnostics (WAD) does not receive ASP.NET Health Monitoring events. ...

Author: david.hardin Date: 02/26/2011

WAD is Built on ETW

Windows Azure Diagnostics (WAD) is built upon Event Tracing for Windows (ETW). To get the most out...

Author: david.hardin Date: 02/26/2011

Windows Azure Diagnostics Series

I’ve decided to write a series of blog posts on Windows Azure Diagnostics best practices to...

Author: david.hardin Date: 02/26/2011

SQL Server 2008 Column Change Tracking

I could not find a good description of how SQL Server Change Tracking determines if a column changed...

Author: david.hardin Date: 02/06/2011

Dynamics AX Polymorphism

Dynamics AX polymorphism is orders of magnitude more interesting than what is offered in typical OOP...

Author: david.hardin Date: 01/24/2011

WP7CertInstaller 1.0.0.0 Explained

WP7CertInstaller is a CodePlex project which includes the source code of a website to download your...

Author: david.hardin Date: 01/19/2011

Azure IntelliTrace

Here is some great information on using IntelliTrace with Azure:...

Author: david.hardin Date: 01/18/2011

Azure SSL verses Management API Certificates

It is important to distinguish the difference between digital certificates intended for SSL...

Author: david.hardin Date: 01/18/2011

WP7CertInstaller 1.0.0.0 Prerequisites

WP7CertInstaller requires the Windows Phone Developer Tools along with the Windows Azure Tools for...

Author: david.hardin Date: 01/12/2011

WP7CertInstaller 1.0.0.0 Released

I just released WP7CertInstaller on codeplex to demonstrate a simple approach for installing Trusted...

Author: david.hardin Date: 01/12/2011

WP7 and Self-Signed SSL Certificates

While developing a Windows Phone 7 app that calls a WS-Trust authenticated web service I ran into a...

Author: david.hardin Date: 12/30/2010