本地站点无法通过IIS8从MVC4 VS2012正确呈现

时间:2013-12-19 05:25:14

标签: asp.net-mvc-4 visual-studio-2012 iis-8

我是asp.net的新手,甚至更新的VS2012 MVC4。我想要做的只是从Windows8中的本地IIS8运行我的项目。我从2天开始尝试这个,我只是设法在IIS中运行Windows MVC项目,但现在它只显示索引页面内容如下:

This image is the view of index page that is provide default by the MVC 4 in VS2012

为什么会这样...... ???

我的时间已经过时了。请帮我。这简直令人沮丧......

虽然它应该像这样: enter image description here

此视图来自.net调试器。当我按f5。 :(

这是我在查看View Page Source

时获得的网页源代码
<h3>We suggest the following:</h3>
<ol class="round">
    <li class="one">
        <h5>Getting Started</h5>
        ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that
        enables a clean separation of conasdfasdf
        the latest web standards.
        <a href="http://go.microsoft.com/fwlink/?LinkId=245151">Learn more…</a>
    </li>

    <li class="two">
        <h5>Add NuGet packages and jump-start your coding</h5>
        NuGet makes it easy to install and update free libraries and tools.
        <a href="http://go.microsoft.com/fwlink/?LinkId=245153">Learn more…</a>
    </li>

    <li class="three">
        <h5>Find Web Hosting</h5>
        You can easily find a web hosting company that offers the right mix of features
        and price for your applications.
        <a href="http://go.microsoft.com/fwlink/?LinkId=245157">Learn more…</a>
    </li>
</ol>

0 个答案:

没有答案