Layouts And Sections With Razor

Yesterday night I had decided, that this morning I was going to sit down and write a post on the uses of the IsSectionDefined method in the Razor syntax, and how useful it was for determining if views were implementing certain sections in a layout.  (which is very useful and…

Setting up a CloudFront Mirroring CDN in 5 minutes

Recently I decided it was important to get away from Google App Engine as my CDN, mostly because I have encountered personally and have been told that many internal corporate networks are blocking Google App Engine IP’s.  And since most of my content posted to this blog is relevant…

Enabling Pinging in Windows 2008 R2

For the life of me I couldn’t find an easy option to enable pinging, an ICMP Type 8 or Echo Request response, through my Windows 2008 R2 firewall.  Every hit on Google told me to follow some steps through the GUI that ended up not being in R2…

Entity Framework Repository Pattern

This is my first attempt at an Entity Framework (EF) based Repository Pattern.  I took a stab at this while working on a new project, and I am really liking the ease of use this is providing me.  So I thought I would share… Before I get started…

Searching Stack Overflow The Easy Way (Another Reason To Use Google Chrome)

If you already didn’t have enough reasons to use Google Chrome, I found out that it now has brought the goodness of a one textbox search solution to all sites that support the opensearch specification, including Stack Overflow, not just the one currently registered with the browser, which by…

Timing The Execution Time Of Your MVC Actions

I recently had the need to find out how much time elapsed during the execution of just my action, so I created a handy little action filter based on System.Diagnostics.Stopwatch.  This action filter adds the elapsed time to an HTTP header, appropriately named, X-Stopwatch.  I choose…