New Location

Thank you to geekswithblogs for hosting this blog for a number of years.

I have moved this blog to a new location.  For the latest content, visit

Entity Framework Code First–December 11th Calgary .NET User Group Session Materials

Thanks to everyone who attended the talk yesterday.  I had fun and I hope you all enjoyed it.

As promised, here are the slides and code:

Entity Framework Code First – Download

Code First Migrations – Download

Social Recipes Source Code – Download

Calgary .NET User Group – Entity Framework Code First - December 11th

I will be presenting at the Calgary .NET User Group on December 11th.

We will start from scratch in this intro to Entity Framework Code First. We will build a simple application using ASP.NET MVC and Entity Framework and evolve the application to show how we can build scalable applications using Entity Framework Code First. Topics covered will include database initialization, code based migrations, performance profiling and performance tuning.

Register at

Windows 8 App Downloads Increasing + Over 5,000 Apps Available

Windows 8 will be unleashed on the general public tomorrow and I thought it would be a good time to review some of the numbers I have been tracking over the last month.

Downloads of Windows 8 Apps have been steadily increasing over the last month.  Below is screenshot from the App Summary page for my Windows 8 app.  The blue line is my app, while the orange line is average for the top 5 apps in that subcategory.  Considering the large gap between the 2, I think it is safe to assume that my app is NOT in the top 5 in the subcategory.


The spike in the last couple of days is fairly dramatic and I am a little surprised by that.  I would have expected that kind of spike on the days following the official release as opposed to the days leading up to the release.  

Finally, the all important App count.  There have been some stories floating around that the Window 8 Store is a ghost town and that there are no apps available.  I think these might be exaggerating the situation a little.  As of this morning, in the US store there are over 5000 apps available for download. 


Obviously a far cry from the hundreds of thousands available in other app stores, but we are seeing solid growth in this number. Less than a month ago, that number was 2000. That means the store more than doubled in less than a month. If the growth continues, it won’t be long before the Widows 8 Store is filled with all the apps you need (and a whole lot you don’t need).

Terrible App Review of the Week–Oct 23rd

Continuing my Terrible App Review series.  This week’s review is short and sweet.

This sht sucks blls. Boo to whoever made this *** app!

My apologies Player.  Boo to whoever chose your username.

Listing Desktop Apps in the Windows 8 Store

So it looks like Microsoft will be allowing publishers to list their desktop apps in the Windows 8 Store.  As per the developer agreement:

b. Desktop App Submission. You may submit an app description for one or more desktop apps to the Windows Store. Notwithstanding anything else in this agreement, you understand that Microsoft will not offer any desktop apps through the Store and only Windows Store apps are made available through the Windows Store. Microsoft may, but is not required to, list the desktop app in the Windows Store together with a link you provide, to a website where users can acquire the app. You are solely responsible and agree to maintain that website and provide an updated link to Microsoft if the url changes. Desktop apps are any apps built using APIs other than the APIs for Windows Store apps that run on Windows 8.

As the agreement states, Microsoft will not distribute desktop apps through the store, but they will provide a link to a website where users can download your desktop app.  If nothing else, it is a great way to advertise your app.  Hopefully this doesn’t cause any confusion with consumers.  Will end users understand why some apps install automatically while others just send you to a website?

Executing NUnit Tests using the Visual Studio 2012 Test Runner

At a recent Visual Studio 2012 event at the Calgary .NET User Group, I was told that I could run my NUnit tests directly in the Visual Studio 2012 without any special plugins.  Naturally, I was very excited and I immediately tried running my NUnit tests. I was somewhat disappointed to see that the Test Runner did not discover any of my NUnit tests. 

Apparently, you do still need to install an extension that supports NUnit.  Microsoft has completely re-written the Test Runner in Visual Studio 2012 and opened it up for anyone to write Test Adapters for any unit test framework (not just MSTest).  Once the correct test adapters are installed, everything works great.  Luckily, there are a good number of adapters already written.

Here are some Test Adapters that you might find useful:

Overall, I still prefer the unit test runner in ReSharper, but this is a great new feature for those who might not have a ReSharper license.

Terrible App Review of the Week–Oct 9th

Continuing my Terrible App Review series

This app sucks ***, it was the biggest waste of time just downloading it, I feel bad for who ever made this, may god have mercy on your soul

Thank you whitlock47.  I appreciate you taking the time to share your constructive feedback and concern for my soul.  Perhaps our paths will cross in a warm location some day.

Terrible App Review of the Week–October 2nd

As some people know, I have a few apps in the Windows Phone Store.  One of these apps was intended to be a gimmicky app that did NOT really do anything useful.  It was just a funny little app that you probably try it once, then almost immediately uninstall. 

To my surprise, this app ended up in some of the Top App lists and actually got a large number of downloads (for the Windows Phone Store).  Along with these downloads came a large number of really terrible and offensive reviews.  People are insulting me and saying awful things that they would never say to someone in person (I hope). 

I am ok with this.  I can take the bad reviews and it doesn’t really bother me, but I still think that people are incredibly dis-respectful with their app reviews.  So..I am going to start sharing the best of the worst reviews.  If by chance this is your review, please contact me.  I would love to have a quick chat…

Literally THE crappiest app I could of downloaded. You might as well rub dog *** in your eyes..... You'd see more!!!


P.S. I am not particularly proud of this app, so I am not going to reveal the name. However, as you see more of these amazing reviews, I think you might be able to guess which app it is.

Prairie Dev Con Regina–Code First Materials

For those who have attended my Code First introduction at Prairie Dev Con Regina, here is the code for the Social Recipes application: Code, Powerpoint