UrlHelper Extension to Modify Query String

The following extension method allows you to add, update, or remove parameters from a URL's query string. public static class UrlHelperExtensions { /// <summary> /// Add, update, or remove parameters from »

System.NullReferenceException: Object reference not set to an instance of an object

For some reason, this particular error seems to just confuse the stuffing out of ASP.NET MVC developers in particular. Granted, it's not one of the most obvious or informative »

Associating Related Items in a Collection via a Listbox

I get a lot of my inspiration for what I write about on this blog from StackOverflow questions I see asked over and over and over again, in various forms. »

Entities Are Not Models

One of the things that drives me nuts about ASP.NET MVC is that all the project templates and sample code equate entities with "models". They're put in a folder »

There's no such thing as a "partial view" client-side.

This is a bit of a rant, but this fundamental misunderstanding is so widespread, I felt it needed to be addressed. As a lurker for the asp.net-mvc* tag on »

How to change the default ASP.NET MVC theme

If you've come across this post, it's most likely that you're scouring the web for how to change the "theme" in an ASP.NET MVC project. That's intentional. I see »