Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where do you put non-controller, non-model code in a ASP.Net MVC project?

Tags:

asp.net-mvc

Where do you put non-controller, non-model code, like util classes, extension methods and so on in a ASP.Net MVC project? Maybe there's not a specific place to put it, you just put it anywhere, if so, any recommendation? Any best practices?

like image 492
pupeno Avatar asked Jul 06 '09 15:07

pupeno


1 Answers

if it's a single class i put them in a "Library" folder on the project root. If it's a bit bigger I use a specific folder and if it's something more complex i create a new project in the same solution.

like image 141
Drevak Avatar answered Sep 28 '22 08:09

Drevak