10 Dec
2010

ASP.NET (MVC) and the Tale of the Continuous Application Restarts

I made a classic rookie mistake with ASP.NET (MVC) the other day. In my spare time, I’m working on this small sample application for myself in order to learn more about ASP.NET MVC. After working on this small web application for a while, I came to the point where I needed to set up a […]

Read More
27 Aug
2010

File uploads and MVC Controllers

Last week I had to implement some functionality to support uploading images to an MVC 2 application and then subsequently display them. Naturally there are a mountain of blog posts on this topic but I was unable to find anything comprehensive that covered everything that I needed on both the client and server side. What […]

Read More
13 Mar
2010

Asp.Net MVC 2 Areas

I?m looking into the new stuff in Asp.Net MVC 2, trying to figure out what is cool and what is just there.  Areas look like a nice addition.  Areas allow you to separate your Asp.Net MVC application into more distinct partitions.  So all of the Controllers, Models, Views, and even routes belong to one directory […]

Read More
23 Feb
2010

Note to self: Asp.Net MVC Controllers are not Code Behind

Sometimes I think things are more complicated than they really are.  I got my head into a bind recently when I had some code that I really wanted under test in a Controller Action. My first thought was “Crap, this is going to be rough”.  Mainly I was still thinking of my time trying to […]

Read More
6 Dec
2009

Authenticated web services calls with Asp.Net MVC

I?ve been encountering a problem as of late.  I?m creating a lot of ?Single Page Pattern? web applications.  This means you load the page once, then handle everything else via web service calls. And if you have ever worked on web applications you should be familiar with the ?user went to lunch? issue (session timeout).  […]

Read More