Use Azure Management API SDK in an Entity Framework custom database initializer

A post over on Stack Overflow got me thinking about how you can override the default behaviour of the Entity Framework code first database initializer so that the tier of the database created is something other than the deprecated 'Web' tier. Here's one way to go about it. Required bits There are a few things … Continue reading Use Azure Management API SDK in an Entity Framework custom database initializer

TFS As A Service (TFSPreview.com) – Connect to and Query Using C#

Having worked with every version of Team Foundation Server (TFS) since its inception I was keen to see what API support "TFSPreview.com" has. The good news is that (at time of blogging) the API accessibility is all there, is free and aligns with the on-premise API and client object model. I've always felt the strongly-typed … Continue reading TFS As A Service (TFSPreview.com) – Connect to and Query Using C#

The Terrible Truth About Version 1.0.0.0

Let me start by saying that if you think this going to be a post about how bad most "v1" software is then you will be sorely disappointed and you should move on. What I am going to talk about is fairly similar to Scott Hanselman's blog on semantic versioning and the reasons you should … Continue reading The Terrible Truth About Version 1.0.0.0

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

Safely Testing .Net Code That Does Email Delivery

As a .Net developer you will most likely have come across the need to create and send an SMTP (email) message as part of a solution you've built.  When under development you will have either stubbed out the mail delivery code or will have substituted a test email address for those of the final recipients in a live … Continue reading Safely Testing .Net Code That Does Email Delivery