Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

asp.net-mvc where do i put my own code

Tags:

asp.net-mvc

is there any particular directory that i should put my code into in an asp.net mvc project

i have some extentions to the HtmlHelper class. Right now i have it sitting in the Content folder. is this correct? is there a better soluiton?

like image 440
leora Avatar asked Nov 29 '22 20:11

leora


1 Answers

I usually create a separate project (or projects) for my own code, including my data layer, as class libraries. I then reference the libraries in my MVC web site.

like image 142
tvanfosson Avatar answered Dec 10 '22 22:12

tvanfosson