3 Tips to Improve Your Connection Strings

Due to some database moves, I’ve recently been touching a lot of connection strings, which has me thinking about the topic.  In fact, I put together a short survey on twitter, and invited a bunch of developers and DBAs to share their thoughts, both on twitter and in the survey, on some issues relating to […]

Speaking at DevReach 2011

I’m very pleased to be speaking again at DevReach in Sofia, Bulgaria next month.  As usual, the conference has an amazing list of speakers (which I’m still somewhat amazed includes me), with Scott Hanselman making the trip out this year to give several sessions.  If you have the opportunity to attend, I highly recommend it.  […]

Cleveland 2011 Software Engineering 101

Next Friday, 7 October 2011, Microsoft in Cleveland is hosting a free one-day event focused on the basics of Software Engineering.  There are a handful of seats left before the event sells out.  You can learn more and RSVP for Software Engineering 101 here (until tickets run out).  The event is being held at the […]

Set JsonRequestBehavior to AllowGet

If you’re working with ASP.NET MVC and JsonResult, you may encounter this error: This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request. To allow GET requests, set JsonRequestBehavior to AllowGet. Description: An unhandled exception occurred during the execution of the […]

Bidirectional Entity Foreign Key Names in EF Code First

Ran into a small problem today, where I had two classes referring to one another using EF 4.1 Code First.  Let’s say I had a class Item and another class ItemHistory.  ItemHistory has a property of type Item that refers to the Item class.  Item, in turn, has an ICollection<ItemHistory> Histories property: 


WinRT and the Paradox of Choice

In my recent analysis of the Windows 8 / WinRT options for building Metro style Apps, I mentioned the many choices Microsoft is offering for building these applications.  While I agree with Microsoft’s decision to support C++, .NET, and HTML5/JS developers when building these applications, it does still represent a Paradox of Choice for many […]

Analyzing Windows 8 and WinRT

Last week at BUILD, Microsoft introduced their vision for the next generation of Windows devices with announcements and previews of Windows 8, Metro style applications, and WinRT.  The BUILD conference was the most secretive event I’ve ever known Microsoft to hold, with very few leaks prior to the keynotes that began on Tuesday, September 13th.  […]