Neat VS10 Feature: Pinning A Debugger Watch

I was stepping through some code in a debugger today and noticed a neat little feature of Visual Studio 2010 that I hadn’t noticed before.

Read More

A RouteHandler for IHttpHandlers

aspnet code suggest edit

This code has been incorporated into a new RouteMagic library I wrote which includes Source Code on CodePlex.com as well as a NuGet package!

Read More

Html Encoding Nuggets With ASP.NET MVC 2

This is the second in a three part series related to HTML encoding blocks, aka the <%: ... %> syntax.

Read More

ASP.NET 4 Web Server Here Shell Extension

aspnet suggest edit

Have you ever needed to quickly spawn a web server against a local folder to preview a web application? If not, what would you say you do here?

Read More

VS10 Beta 2 From an ASP.NET MVC Perspective

aspnet suggest edit

You probably don’t need me to tell you that Visual Studio 2010 Beta 2 has been released as it’s been blogged to death all over the place. Definitely check out the many blog posts out there if you want more details on what’s included.

Read More

Announcing Let Me Bing That For You

humor suggest edit

UPDATE 2018-11-19: I’ve transferred the GitHub Repository to Mateus Rodrigues de Morais who will take over future development of Let Me Bing That For You.

Read More

ASP.NET MVC 1.0 Scripts Available on Microsoft CDN

aspnetmvc suggest edit

A little while ago, Scott Guthrie announced the launch of the Microsoft Ajax CDN. In his post he talked about how ASP.NET 4 will have support for the CDN as well as the list of scripts that are included.

Read More

Software Externalities

If you’re a manufacturing plant, one way to maximize profit is to keep costs as low as possible. One way to do that is to cut corners. Go ahead and dump that toxic waste into the river and pollute the heck out of the air with your smoke stacks. These options are much cheaper than installing smoke scrubbers or trucking waste to proper disposal sites.

Read More

Introducing Mia Yokoyama Haack

This morning at 3:17 AM, Mia Yokoyama Haack was born weighing in at 7lb 8.5 oz. Now my world domination crew is complete!

Read More

ASP.NET MVC 2 Preview 2

aspnetmvc suggest edit

Today we just released ASP.NET MVC 2 Preview 2 for Visual Studio 2008 SP1 (and ASP.NET 3.5 SP1), which builds on top of the work we did in Preview 1 released two months ago.

Read More

Successive Method Calls With MoQ

code tdd suggest edit

UPDATE: For a better approach, check out MoQ Sequences Revisited.

Read More

Html Encoding Code Blocks With ASP.NET 4

This is the first in a three part series related to HTML encoding blocks, aka the <%: ... %> syntax.

Read More

More On The CodePlex Foundation

oss copyright suggest edit

In my last post, I presented a general overview of the CodePlex foundation and talked a bit about what it means to the .NET OSS developer, admittedly without much in the way of details. I plan to fix some of that in this post.

Read More

What The CodePlex Foundation Means To The .NET OSS Developer

oss suggest edit

UPDATE: Be sure to read my follow-up post on this topic as well.

Read More

7 Stages of new language keyword grief

humor csharp suggest edit

My last post on the new dynamic keyword sparked a range of reactions which are not uncommon when discussing a new language keyword or feature. Many are excited by it, but there are those who feel a sense of…well…grief when their language is “marred” by a new keyword.

Read More

Fun With Method Missing and C# 4

UPDATE: Looks like the CLR already has something similar to what I did here. Meet the latest class with a superhero sounding name, ExpandoObject

Read More

Simpler Transactions

dotnet code suggest edit

The .NET Framework provides support for managing transactions from code via the System.Transactions infrastructure. Performing database operations in a transaction is as easy as writing a using block with the TransactionScope class.

Read More

Rest For ASP.NET MVC SDK and Sample

aspnetmvc suggest edit

When building a web application, it’s a common desire to want to expose a simple Web API along with the HTML user interface to enable various mash-up scenarios or to simply make accessing structured data easy from the same application.

Read More

Demeter Transmogrifiers To The Rescue

code patterns suggest edit

In a recent post, The Law of Demeter Is Not A Dot Counting Exercise, I wanted to peer into the dark depths of the Law of Demeter to understand it’s real purpose. In the end I concluded that the real goal of the guideline is to reduce coupling, not dots, which was a relief because I’m a big fan of dots (and stripes too judging by my shirt collection).

Read More

Put Your Views (and Pages) On a Diet

aspnetmvc suggest edit

One of the complaints I often here with our our default view engine and Pages is that there’s all this extra cruft in there with the whole page directive and stuff. But it turns out that you can get rid of a lot of it. Credit goes to David Ebbo, the oracle of all hidden gems within the inner workings of ASP.NET, for pointing me in the right direction on this.

Read More