Philly ALT.NET

A community of motivated developers using the .NET platform

Cleaning up your MVC controllers

One thing that has always bothered me (and I’m sure many people) about MVC is how the controllers can quickly become bloated.  A co-worker of mine sent along these links which have great ideas on keeping your controllers small, by limiting them to one action, and I thought they’d be good to share:


http://lostechies.com/derekgreer/2011/04/29/single-action-controllers-with-asp-net-mvc/

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: