English 中文(简体)
ASP. NET MVC 图像/CSS没有显示有网站的网络应用
原标题:ASP.NET MVC Images / CSS not showing for a web application with a web site

我在7.5号国际调查网站上有一些网络应用程序,我在该网站上将使用MVC2网络应用程序。

WebSite
    * Prod
    * Test1
    * Test2

http://test1.mywebsite.com/xxx

I ve used Url.Content("~/Content/Site.css”>,但CSS并未装上。 查阅网页的源头时,该卷正作为<代码><link href=”/《试验1/Content/Site.cs”......>。

我能做些什么来解决这个问题? 明显使用国际空间法研究所的编印模块,或者在我的防火墙上增加更多的规则。

最佳回答
问题回答

诸如防火墙之类的声音也需要加以配置,以重新定位安保系统和图像要求。





相关问题
session transfer issue from Tomcat to ASP.Net

I am using Tomcat to host JSP and using IIS 7.0 to host aspx (C# + .Net 3.5 + VSTS 2008), and I have some session transfer issue from JSP page to ASPX page. JSP page is in one domain and all other ...

How to use appcmd to set debug=false in IIS7

I m trying to use APPCMD to set debug=false in web.config, per the documentation. The specific syntax I am using is: APPCMD SET CONFIG "SITE/VDIR" section:compilation /debug:False /commit:APP ...

Windows User Account that executes only IIS7 Provisions

I have a web application that executes IIS 7 provisions (using Microsoft.Web.Administration.dll) to create our web and ftp sites. When I run this using the administrator account, it works ok. I want ...

Could I get by HttpModule the URL that contains * before?

My web-site is working under ASP.NET 3.5, IIS7, Integrated pipiline mode. My HttpModule is getting request to all resources, including URLs like this: http://my-site.com/address And I would support *...

IIS 7 Http Handler development issue

I am using VSTS 2008 + C# + .Net 3.5 + IIS 7.0 to develop an ASP.Net web site. I want to develop an Http module, which could inspect whether incoming request has some specific http header (e.g. ...

热门标签