6
Shouts

Single Action Controllers with ASP.Net MVC - Derek Greer

published 754 days, 5 hours, 19 minutes ago posted by iftekharahmedamitiftekharahmedamit 757 days, 3 hours, 4 minutes ago
Tuesday, May 03, 2011 12:47:15 PM GMT Saturday, April 30, 2011 3:02:14 PM GMT

While I’ve enjoyed working with the ASP.Net MVC Framework, one thing I wish that it provided is the ability to create controller-less actions. Why you ask? Because I’d rather my controllers only have one reason to change. While this isn’t provided out-of-the-box with ASP.Net MVC, single action controllers can be facilitated pretty easy with ASP.Net Routing.

Let’s say that we have a single CustomerController that has seve...

category: Web Dev | clicked: 2 | | source: lostechies.com | show counter code
tags: ASP.NET MVC

1 comment posted.

To post your comment please login or signup