为什么没有为ASP.NET MVC项目的内容文件夹内的Scripts文件夹?

问题描述:

出于好奇,我想知道是否有一个合乎逻辑的理由有脚本文件夹没有内容的子文件夹中的ASP.NET MVC项目文件夹。文件夹的内容通常包含您的样式表和图片,并由于某种原因,它似乎自然地我还包括在脚本文件夹存在,以及

Out curiosity I was wondering if there was a logical reason to have the Scripts folder not a sub folder of the Contents folder in an ASP.NET MVC project. The Contents folder typically contains your style sheets and images and for some reason it would seem natural to me to also include the Scripts folder in there as well.

可能是因为脚本可以被表示为提供比风格和设计的项目更多的功能,因此可以认为它是你的业务逻辑的一部分。

Possibly because scripts could be denoted as providing more functionality than style and design items, so it could be considered a portion of your business logic.