【发布时间】:2013-04-06 15:22:05
【问题描述】:
使用 Visual Studio 2012:
- 我创建了一个“ASP.NET 空 Web 应用程序”(使用 C#)。
- 我使用 NuGet 安装了
FubuMVC包。 - 当我运行应用程序(使用 IIS Express)时,我收到“欢迎使用 FubuMVC!”页面告诉我删除
FubuMVC.GettingStarted.dll文件并设置主页。 - 所以我做了这两件事,实现了一个
HomeController,它只从Index返回"Hello World"。
我得到一个 IIS 错误,而不是预期的“Hello World”:The Web server is configured to not list the contents of this directory.
我做错了什么?
【问题讨论】:
-
您可以浏览到 /_fubu/ 并查看您的路线吗?
标签: fubumvc