c# - How to organise Views into folders in Asp.net visual studio? -


i have been forking on project while , ended having lot of view different models. wandering whether possible organise these views sub folders. clear want following:

controllers:

      mycontrollers(folder)->          myfirstcontroller.cs          mysubcontroller(folder)->              mysubcontroller.cs 

views:

      myfirst(folder)->          index.cshtml          mysub(folder)->              index.cshtml 

you allowed put views , controllers wherever want. can customize view paths on app_start event. see tha answer in topic: can specify custom location "search views" in asp.net mvc?

i though recommend using standard project structure , paths. makes life easier other developers work code in future eventually.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -