How to update ASP.Net Forms Based Authentication to use Claims Based Authentication

Ah, the heady days of Visual Studio 2005 and the sparkly .Net 2.0 Framework with its newly minted Generics support. Who could forget them? For many, it seems, they are not so much recent history but an ongoing job to feed and maintain.  A lot, in part, is due to the updates to .Net 3.0 … Continue reading How to update ASP.Net Forms Based Authentication to use Claims Based Authentication

Easy Testing Of Your Web.Config Transformations

One of the powerful features of ASP.Net 4.0 was the introduction of web.config transformations that meant you could now do with ASP.Net out-of-the-box what you would have previously done with some form of custom XSLT transform in your build process. One thing that is not that easy is to test the outputs from the transformations. … Continue reading Easy Testing Of Your Web.Config Transformations

Using Amazon SES for .Net Application Mail Delivery

Until March 2012 Amazon's Simple Email Service (SES) had limited support for mail being sent via existing .Net code and the IIS SMTP virtual server.  Some recent changes mean this is now possible so in this post I'll quickly cover how you can configure your existing apps to utilise SES. If you don't understand why … Continue reading Using Amazon SES for .Net Application Mail Delivery

Getting Web Deploy Working For Non-Admin Logins

There’s a lot of good information around online about how to get Web Deploy (a.k.a. msdeploy) working.  What most of the information tends not to cover is how to get it functioning for non-admin users. In this post I’m going to cover the steps to go through to get a non-Admin windows user working for … Continue reading Getting Web Deploy Working For Non-Admin Logins

Fixing Packaging Of Web Projects On Your .Net Build Server

On my current project I'm running up the build and deployment environment and hit a roadblock that took me a little while to fathom.  Hopefully reading this might save you some time if you're having this issue. The Scenario 1. A build server that does not have Visual Studio installed but has an appropriate .Net … Continue reading Fixing Packaging Of Web Projects On Your .Net Build Server

A Subtle .Net Static Reference Type Gotcha

One of the fundamental concepts that any developer has to understand when developing .Net solutions is the difference between Reference and Value types.  There are a lot of technical discussions online already about the differences between the two but the key concept to pull out of the MSDN description on Reference types is: "Variables of … Continue reading A Subtle .Net Static Reference Type Gotcha