使用Visual Studio 2012中的内容:Web服务器被配置为不列出该目录
- 我创建了一个 “ASP.NET空Web应用程序”(使用C#)。
- 我使用NuGet来安装
FubuMVC
包。 - 当我运行应用程序(使用IIS Express)时,我得到“Welcome to FubuMVC!”页面告诉我删除
FubuMVC.GettingStarted.dll
文件并设置主页。 - 所以我做了这两件事情,实施
HomeController
,只是从Index
返回"Hello World"
。
而非预期的 “Hello World”,我得到一个IIS错误:The Web server is configured to not list the contents of this directory.
我做了什么错?
你可以浏览到/ _fubu /并看到你的路线? – ulu