私のmvcアプリケーションでは、cssやjsなどのリソースを次のように設定しました
<link rel="stylesheet"
href="@Url.Content( "~/css/external/jquery-ui-1.8.16.custom.css" )"/>
<!-- PLUGIN: jQuery UI styling -->
<link href="@Href( "~/Content/uploadify.css" )" rel="stylesheet" />
<!-- File uploader -->
私の中で_Layout.cshtml
それは私の開発環境で動作し、解決されました
/css/external/jquery-ui-1.8.16.custom.css
と
/Content/uploadify.css
次に、IIS7 でアプリケーションをセットアップし、Alias を CommEditor として設定します。
参照すると、すべてのリソースが欠落しています。
見ている
/CommEditor/css/external/jquery-ui-1.8.16.custom.css
と
/CommEditor/Content/uploadify.css
開発と IIS7 の両方で機能するようにリソースを設定するにはどうすればよいですか?