UseStatusCodePagesWithReExecute 的 GitHub 存储库?

标签 github asp.net-core-mvc asp.net-core-1.0

我想找到名为 UseStatusCodePagesWithReExecute 的 Asp.Net Core MVC ApplicationBuilder 扩展的源代码。基于此文档 http://dotnet.today/en/aspnet5-api/autoapi/Microsoft/AspNet/Builder/StatusCodePagesExtensions/index.html它看起来像是在名为 Microsoft.AspNet.Builder.StatusCodePagesExtensions 的类中。该页面还有一个“在 GitHub 上查看”链接,可以解决我的问题,但不幸的是它返回 404。

我已在 GitHub 上寻找此源代码,但尚未成功。它似乎不在 https://github.com/aspnet/Home 中存储库。这是我在 github 上的 aspnet 组织中搜索 UseStatusCodePagesWithReExecute 的结果:

enter image description here

哪个存储库包含 Microsoft.AspNet.Builder.StatusCodePagesExtensions 类的源代码?该文件在哪里,您如何找到它?

最佳答案

https://github.com/aspnet/Diagnostics/blob/3a868d87a2458fd025ca71e2538b3a72f67c7c50/src/Microsoft.AspNetCore.Diagnostics/StatusCodePage/StatusCodePagesExtensions.cs#L164

链接最终可能会失效,所以为了将来转到:https://github.com/aspnet

并将方法放在整个组织的顶部搜索栏中。在这种情况下,只有 10 次使用,我只需要找到带有方法声明的那个。

编辑:

我的搜索屏幕是这样的: enter image description here

关于UseStatusCodePagesWithReExecute 的 GitHub 存储库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41264904/

相关文章:

如果类存在,Jquery 选择框忽略

asp.net-core - NPoco 在 .net Core 中的使用

java - Github 覆盖旧项目

android - 在哪里存储构建 Artifact : Grunt, node.js 后端、github、android、iOS 客户端

asp.net-core-mvc - ASP.NET Core MVC ActionLink 参数

c# - ASP.NET 5 MVC 6 通用存储库模式

linux - ASP.NET Core 1.0、Linux、NGINX、错误-1 EPERM 操作不允许

git - pull 和推到github时出错

git - 我自己的 github 上的远程 : Repository not found.

asp.net-core - 如何在 ActionFilterAttribute 中强制请求失败