[ASP.NET] How to keep all asset folder paths intact?

本帖最後由 luckiejacky 於 2015-2-17 18:58 編輯

我有一個Theme Stored in
~/App_Themes/Theme1/ blah blah blah

所有的css, calendar etc 會儲在這folder
在這些css, html內有Path如
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen"/>

bootstrap 像這樣是不能access到的...
有什麼方法可以唔改,而Master Page可以Access到?

I have noticed there are 2 ways to resolve this, but I still don't know what to do with them
1) Virtual Directory: making the theme folder one of the root directories of the web site
but I consider this dangerous
2) Making a skin file: But I don't know how to reference all css and html files inside the theme1
folder, have been searching the web for half a day already, any help?