Microsoft Azure Storage Emulator Installation Error

Delete the SQL instance:


There is already an object named 'AspNetRoles' in the database

After refactoring an old project of mine I ended up with the following error upon trying to update the database with the latest migrations


Exploring the usage of T4 templates in Umbraco

When exploring Pluralsight to find new interesting things that could be useful I stumbled upon T4 templates which I've thought about trying out for a while. Finding use-cases for just "trying things out" can be a bit challenging but I decided to check out if it were possible to do something new with our revised LinqToUmbraco package.


Download a Google App Engine application

Below is a snippet that downloads (backups) an app from Google App Engine and stores it locally. I've been doing this before updating a previously uploaded application for security purposes.


.NET Uri Class Cheat Sheet

Below is a short cheat sheet for the .NET Uri Class containing the values and short specification for an example Url.


Bypassing proxy settings for a HttpWebRequest

Recently I was debugging a simple application that requested a local URL through the WebRequest implementation in .NET but that wasn't connecting properly for some unknown reason.


Current action from controller code .NET

Knowing the current action and controller that are being used can be handy when working with menus. Below is one way of retrieving this in the current controller context.


Web.config rewrite rule to redirect all users to an SSL connection

The rule below will redirect all users connecting to the webpage to a secure connection (https) on the same domain.


Microsoft HTTPAPI/2.0 use Port 80 – Cannot Start WAMP Apache

So a while ago I was required to run XAMPP on my local development workstation on port 80 to debug a clients Wordpress site. However when trying to close down all applications running on port 80 I ran into some trouble as Microsoft HTTPAPI/2.0 was listening on port 80 and forcing XAMPP to close down as the port was busy.


Encrypt and decrypt a section in the ASP.NET web.config file

First of your need to locate your aspnet_regiis.exe file which is located in one of the directories inside