在 Web 浏览器中启动时,Razor 调试 returns 404
Razor debug returns 404 when launched in webbroswer
我在我的视图中添加了一个视图,包括布局和内容。但是当我通过 Visual Studio 启动页面时(或直接地址 URL ),页面给出了 404 错误:
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its
dependencies) could have been removed, had its name changed, or is
temporarily unavailable. Please review the following URL and make
sure that it is spelled correctly.
我该如何解决这个问题?
我不得不在我的配置文件中添加页面,现在已修复。
我在我的视图中添加了一个视图,包括布局和内容。但是当我通过 Visual Studio 启动页面时(或直接地址 URL ),页面给出了 404 错误:
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
我该如何解决这个问题?
我不得不在我的配置文件中添加页面,现在已修复。