Currently, I am utilizing asp.net mvc 2.0 in my projects and appreciate its design and functionality. However, I find that it lacks proper support for applications with a significant amount of styles and scripts.
To address this issue, I implement areas, child-only actions, and partials to isolate different parts of an application. I believe there should be a standard method for separating script and style files by placing them within an area instead of the default script and content folder at the root level. Additionally, there should be a reliable way of including these files on their respective pages.
At the moment, I include script and styles using a content placeholder on each page specific to that action. Nevertheless, I desire a means to include a script from a child-only action, for instance.
What strategies do you utilize for managing your script and style files? Are there any preferred patterns or best practices you follow in this regard?