Friday, 23 August 2013

How organize and ensure that all script and css are loaded without putting them on each page

How organize and ensure that all script and css are loaded without putting
them on each page

I am new to web development and building a C# web MVC application in
Visual Studios. I am using Jquery,AngularJS,Twitter Bootsrap CSS and a
bunch of other 3rd party JavaScripts. I have included reference to all
these files on every page which looks very nasty. I am using a master
layout page for all the other pages so I thought that referencing
everything that is required would resolve my problem but that didnt work
out.
How can I store all the required scripts and css in one place and have all
web pages get everything from there?

No comments:

Post a Comment