I am currently using asp.net mvc 2.0 in my projects. I like the way asp.net mvc is designed and works, but I feel that it lacks support for applications with a lot of styles and scripts.
To isolate different parts of the application, I use areas, only child actions and partial ones. I would also like a standard way to separate my scripts and styles, i.e. putting my script and style files in an area (not in the script folder and contents in the root directory) and a good way to include them in the pages where they belong.
Currently, I am using the content owner on every page, in which I can include any script and styles for this action, but I would like to include a script method, for example. only for children.
What do you think about this, how do you manage your script and style files, are there any templates or best practices?
source
share