(Re-) Size of Azure Virtual Machine Disks

When you create a virtual machine in Azure based on an existing image, you cannot define the size of the operation system disk. Unfortunately, you even can’t see what the disk size will be when you create the VM. I also was not able to find a table giving this …

Counting Post Views in WordPress without PlugIn

No, this is not the first post on how to count WordPress post views without a plugin. At the time of writing, I entered this post’s title in quotation marks at Google and there were about 4.5 million results. So I am really curious on how many views I will …

Extended Customization of the WordPress Comment Form

Preparing this blog to become GDPR compliant, I wanted to customize the comment form to only ask for the comment itself, plus having a checkbox that the author agrees with the storage and handling of the data. In the background, the author’s IP address should not be stored any more. …

Azure Storage Account Diagnostics (classic) hidden Data

Looking at Azure Storage Accounts a little bit in more detail, I noticed something that was surprising to me. Connecting to a storage account via the Microsoft Azure Storage Explorer (at least version 1.12.0 or 1.13.0) and looking at the content, I noticed a Blob Container named $logs and some …

Save Money – Use Azure Learn Sandbox

To try out new things in Microsoft Azure, but avoid to get charged for it, I find the Azure Learn Sandbox very useful. And there are two great extras for free: You do not have to worry to impact any production setups, and you don’t have to care about housekeeping …

Private Accessor for .NET Core Assemblies

As I do not share the opinion that testing of private methods is an anti-pattern (to me, it is essential to implement complete button-up tests), I tried to implement a private accessor based on my post Home-made Private Accessor for Visual Studio 2012+ for a .NET Core project. To my …

Moving this WordPress Blog to HTTPS URL in a Single Action

Preface This post is from a developer for developers having, beyond others, a solid SQL knowledge and understanding. If you have the slightest doubt you might not be one of those, please do not follow the steps described below! Of course, if you know you are not a developer at …

Disable Entity Framework Code First Initialization Logic

When you use the Entity Framework Code First approach to build your database, EF’s default behavior is to verify if a database exists when the application runs the first time. In case it does not exist, EF creates it. There might exist some situations when there is no need to …

Handle Race Conditions / Concurrency in Code First Entity Framework Applications

Preface A common scenario in developing applications is the handling of concurrent database updates. Given there is an application to manage customers, that is used by multiple users simultaneous. User U1 reads the data of customer C1. While user U1 is looking at this data, user U2 reads the data …

Tracing in Microsoft Azure Cloud Service

Setting Up the Tracing Since it took me some time to figure out again what to do to see the tracing output of my Microsoft Azure Worker Role in a Cloud Service, here are some hints. First, read How To Enable Diagnostics in a Cloud Service. Following the step-by-step description …