3

I've been reading about "skinny controllers, fat models", and I see a lot of these implementations are Ruby and other languages. I don't see many implementations in .NET, though I'm not sure if that is because I can't find some examples of people implementing it. So, is the concept of skinny controllers and fat models one that's popular with .NET?

Thanks.

tereško
  • 58,060
  • 25
  • 98
  • 150
Brian Mains
  • 50,520
  • 35
  • 148
  • 257
  • It is one of the philosophies of ASP.NET MVC and does not force you to follow it. By doing it so, you won't put to much logic into your controller and this would make your unit testing better. – tugberk Feb 28 '12 at 13:41

1 Answers1

2

Microsoft does not (as far as I know) enforce this pattern, but I personally use it in all my ASP.NET MVC projects to provide better separation of concerns.

I guess it's more a matter of personal taste.

Sergey Kudriavtsev
  • 10,328
  • 4
  • 43
  • 68