Updating Blog to Orchard and Switching Domains

Date Published: 26 January 2012

Updating Blog to Orchard and Switching Domains

image So, yesterday I posted a review of the new Asus Ultrabook and, as has become rather predictable lately, the virtual web server hosting my Graffiti-powered blog started having 100% CPU for quite a while after the post went live. Now, I don’t get *that* much traffic, but apparently something with my configuration of Graffiti, the server, and the traffic that I do get is enough for it to bring that server to its knees. And Graffiti, great though it was years ago, just had to go.

I opted to go with Orchard for several reasons. I’d been on the fence between Orchard and WordPress, but after using WordPress for some other one-off projects over the last 18 months, I’ve grown disenchanted with it. While I did find that it was very cheap to find hosting for WordPress, I also found that these cheaper hosts were (shockingly) not as responsive as I was used to, and also since WordPress is to blogging as Windows has been to PCs, it also is the target of loads of automated hacks, and it didn’t take long before the WordPress accounts I had set up on these shared hosts were compromised. After cleaning them up multiple times only to have the problems recur, I decided I’d just avoid the whole problem by using Orchard (the blogging equivalent of buying a Mac). I’m hosting my new blog with Cytanium.com, which is run by the same awesome folks who run ORCSWEB hosting, but is set up better for a personal site like this.

Orchard is incredibly easy to get set up, has loads of extensions, and also happens to use the platform, language, and design approach that I prefer (in this case, .NET, C#, and MVC). There’s a great introductory course on Pluralsight (intro module is free) by my fellow NimblePros employee Kevin Kuebler, too, if you’d like some help getting started. Migrating to Orchard was fairly straightforward. I used John Papa’s blog series on migrating from Graffiti to Orchard as my primary guide, and it was a huge help. The data migration involved pulling the data out of Graffiti into BlogML, and then sucking in the BlogML back into Orchard. I cleaned up the code for doing this a bit, though the comments are still all wrapped in

, so use John’s script to fix that. The latest version of the GraffitiToBlogML code should be here.

I’m hoping to get Disqus set up for my comments soon (using this tool to import from BlogML to WXR), as well as to migrate my old blog data from AspAdvice.com, ArmyAdvice.com, and asp.net/blogs, so that all of my blogging for the last decade can all live here. And hopefully this new account will perform better than the old one – I know I was losing visitors who came to my old site and found it unresponsive and left. If you’re reading this, thanks for sticking with me! :)

Steve Smith

About Ardalis

Software Architect

Steve is an experienced software architect and trainer, focusing on code quality and Domain-Driven Design with .NET.