使用 Visual Studio 2012:
FubuMVC
包裹。 FubuMVC.GettingStarted.dll
的页面文件并设置主页。 HomeController
只是返回 "Hello World"
来自 Index
. 我收到一个 IIS 错误,而不是预期的“Hello World”:
The Web server is configured to not list the contents of this directory.
我做错了什么?
最佳答案
尝试这个
cmd => 不要忘记以管理员身份运行
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir
关于fubumvc - Web 服务器配置为不列出此目录的内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15999474/