Browse by Tags

All Tags » ASP.NET MVC (RSS)

Using Windsor to inject dependencies into ASP.NET MVC ActionFilters

I'm using Windsor as my IoC container for an ASP.NET MVC application .  To get dependency injection in my controllers, I'm using a slightly modified WindsorControllerFactory from Andre Loker's post earlier this year .  It works great and allows...
Posted by PSteele | 3 comment(s)
Filed under: ,

Strongly Typed Session Variables in ASP.NET MVC

This post was originally going to be a comment on Jarret@Work's blog post about " Using Extension Methods for Session Values ", but I decided to make a full blog post out of it.  Jarret employed extension methods such Bar()/SetBar() and...
Posted by PSteele | 18 comment(s)
Filed under: ,

Handy Extension Methods for ASP.NET MVC's UrlHelper

Mickael Chambaud posted three extension methods he created for UrlHelper: Image(), Stylesheet() and Script().  They make it pretty easy to keep your images, stylesheets and scripts organized in a single location – without the need for you to remember...
Posted by PSteele | 1 comment(s)
Filed under: ,

ASP.NET MVC + MVC Contrib + Unit Testing

One of the key benefits of the MVC (Model View Controller) pattern is a separation of concerns that leads to better testability.  Microsoft recognizes this and will automatically create a separate MS Test project when creating a new ASP.NET MVC solution...
Posted by PSteele | 5 comment(s)

Know Your Environment!

This is probably one of the most embarrassing things I've admitted to in public (well, maybe not – but close).  I really had to think about whether I wanted to post this.  The mentor in me said "You need to post this.  Others may run...
Posted by PSteele | 3 comment(s)
Filed under: ,

Lansing Day of .NET 2009

Last Saturday (August 1st) was Lansing's Day of .NET.  The guys organizing this did a great job and I had a really fun time.  I gave my "Intro to ASP.NET MVC" presentation.  I got some great questions during the presentations...
Posted by PSteele | 2 comment(s)

ASP.NET MVC and Resolving Controllers with Windsor

Last week, while working on an ASP.NET MVC app, I wanted to plug in Windsor and use IoC to resolve my controllers.  A couple of Google searches and I came across Andre Loker's blog where he describes step-by-step how to achieve this – and it was...
Posted by PSteele | 1 comment(s)
Filed under: ,

ASP.NET MVC Goodness!

Last week at AADND , I gave a presentation on MonoRail , the Castle Project's MVC implementation on ASP.NET.  The MVC pattern is so popular (and productive!) among web developers, I'm sure you're aware that Microsoft is working on ASP.NET MVC – which...
Posted by PSteele | 1 comment(s)
Filed under: ,
More Posts