Tag: asp.net
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...
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...
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...
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...
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...
