Blog LogoBlog Logo

Tag: asp.net

All tags

Injecting a Dependency into an IHttpModule with Unity

We’re starting a new project, and as part of that we want to get better at certain things. One is unit testing the things we didn’t last time around that were...

— 06 Aug 2013

Tip of the day: Expire a cookie, don’t remove it

I recently found a bug in my code that I couldn’t fathom initially until I walked through the HTTP headers in firebug. In short, you cannot simply remove a...

— 20 Sep 2011

Parallel Tasks and the HttpContext

A few days ago I spotted a question on StackOverflow by someone trying to use a parallel loop in an ASP.NET application. It may have been an ASP.NET MVC...

— 24 May 2011

Starting an ASP.NET MVC 3 application

In this post, I’m going to show the basics of starting an application with ASP.NET MVC 3. The demo application will be a simple calorie counter that takes in a...

— 13 May 2011

Tip of the Day: Duplicate input fields

Don't allow duplicate input fields into your form. The other day I was trying to debug a bug in an application that I maintain. The code created a set of...

— 06 Feb 2010