在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → Stack Exchange 网络错误处理器:NickCraver 开发的源码下载指南

Stack Exchange 网络错误处理器:NickCraver 开发的源码下载指南

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:1.67M
  • 下载次数:0
  • 浏览次数:7
  • 发布时间:2024-04-11
  • 实例类别:一般编程问题
  • 发 布 人:chenxiaolan
  • 文件格式:.zip
  • 所需积分:2
 相关标签:

实例介绍

【实例简介】
StackExchange.Exceptional 是 Stack Overflow (Stack Exchange) 内部用于记录到 SQL Server 的错误处理器/日志记录器,但它支持多种后端(包括自定义)。此外,它还支持在记录异常时添加自定义数据、过滤要记录的内容、忽略错误等多种功能。
StackExchange.Exceptional 支持多种版本,包括针对 ASP.NET Core、MySQL、PostgreSQL、MongoDB 以及共享库的专门包装,满足不同开发需求。// 示例代码
// 使用 StackExchange.Exceptional
ErrorStore.LogException(ex, context);
【实例截图】
【核心代码】
文件清单
└── StackExchange.Exceptional-e52a61899e379c4dcf9a42c7c934c7497e9dac0c
    ├── appveyor.yml
    ├── build.cmd
    ├── Build.csproj
    ├── build.ps1
    ├── DBScripts
    │   ├── MySQL.sql
    │   ├── PostgreSql.sql
    │   └── SqlServer.sql
    ├── docs
    │   ├── 404.html
    │   ├── AddingLogData.md
    │   ├── AspDotNetCore.md
    │   ├── AspDotNet.md
    │   ├── _config.yml
    │   ├── ConsoleDotNetCore.md
    │   ├── ConsoleDotNet.md
    │   ├── css
    │   │   └── main.css
    │   ├── images
    │   │   ├── Command.png
    │   │   ├── ErrorDetail.png
    │   │   └── ErrorList.png
    │   ├── _includes
    │   │   └── navigation.html
    │   ├── index.md
    │   ├── _layouts
    │   │   └── default.html
    │   ├── Providers
    │   │   ├── JSON.md
    │   │   ├── Memory.md
    │   │   ├── MySQL.md
    │   │   ├── PostgreSql.md
    │   │   └── SqlServer.md
    │   ├── Releases.md
    │   ├── Settings.md
    │   └── UpgradeToV2.md
    ├── global.json
    ├── LICENSE-APACHE
    ├── LICENSE-MIT
    ├── NuGet.config
    ├── Readme.md
    ├── samples
    │   ├── Directory.Build.props
    │   ├── Samples.AspNetCore
    │   │   ├── appsettings.Development.json
    │   │   ├── appsettings.json
    │   │   ├── bower.json
    │   │   ├── bundleconfig.json
    │   │   ├── Controllers
    │   │   │   ├── HomeController.cs
    │   │   │   └── TestController.cs
    │   │   ├── Program.cs
    │   │   ├── Samples.AspNetCore.csproj
    │   │   ├── Startup.cs
    │   │   ├── Views
    │   │   │   ├── Home
    │   │   │   │   ├── Index.cshtml
    │   │   │   │   └── Stacks.cshtml
    │   │   │   ├── Shared
    │   │   │   │   └── _Layout.cshtml
    │   │   │   ├── _ViewImports.cshtml
    │   │   │   └── _ViewStart.cshtml
    │   │   └── wwwroot
    │   │       ├── css
    │   │       │   ├── site.css
    │   │       │   └── site.min.css
    │   │       ├── favicon.ico
    │   │       ├── images
    │   │       │   ├── banner1.svg
    │   │       │   ├── banner2.svg
    │   │       │   ├── banner3.svg
    │   │       │   └── banner4.svg
    │   │       ├── js
    │   │       │   ├── site.js
    │   │       │   └── site.min.js
    │   │       └── lib
    │   │           ├── bootstrap
    │   │           │   └── dist
    │   │           │       ├── css
    │   │           │       │   ├── bootstrap.css
    │   │           │       │   ├── bootstrap.css.map
    │   │           │       │   ├── bootstrap.min.css
    │   │           │       │   ├── bootstrap.min.css.map
    │   │           │       │   ├── bootstrap-theme.css
    │   │           │       │   ├── bootstrap-theme.css.map
    │   │           │       │   ├── bootstrap-theme.min.css
    │   │           │       │   └── bootstrap-theme.min.css.map
    │   │           │       ├── fonts
    │   │           │       │   ├── glyphicons-halflings-regular.eot
    │   │           │       │   ├── glyphicons-halflings-regular.svg
    │   │           │       │   ├── glyphicons-halflings-regular.ttf
    │   │           │       │   ├── glyphicons-halflings-regular.woff
    │   │           │       │   └── glyphicons-halflings-regular.woff2
    │   │           │       └── js
    │   │           │           ├── bootstrap.js
    │   │           │           ├── bootstrap.min.js
    │   │           │           └── npm.js
    │   │           └── jquery
    │   │               └── dist
    │   │                   ├── jquery.js
    │   │                   ├── jquery.min.js
    │   │                   └── jquery.min.map
    │   ├── Samples.Console
    │   │   ├── App.config
    │   │   ├── Errors
    │   │   │   └── ExceptionsGoHere.txt
    │   │   ├── Program.cs
    │   │   └── Samples.Console.csproj
    │   ├── Samples.ConsoleNetCore
    │   │   ├── appsettings.json
    │   │   ├── Errors
    │   │   │   └── ExceptionsGoHere.txt
    │   │   ├── Program.cs
    │   │   └── Samples.ConsoleNetCore.csproj
    │   └── Samples.MVC5
    │       ├── App_Start
    │       │   ├── BundleConfig.cs
    │       │   ├── FilterConfig.cs
    │       │   └── RouteConfig.cs
    │       ├── Content
    │       │   ├── errors.js
    │       │   ├── prettify.js
    │       │   └── Site.css
    │       ├── Controllers
    │       │   ├── HomeController.cs
    │       │   └── TestController.cs
    │       ├── favicon.ico
    │       ├── Global.asax
    │       ├── Global.asax.cs
    │       ├── Images
    │       │   ├── accent.png
    │       │   ├── bullet.png
    │       │   └── heroAccent.png
    │       ├── Properties
    │       │   └── launchSettings.json
    │       ├── Samples.MVC5.csproj
    │       ├── Views
    │       │   ├── Home
    │       │   │   └── Index.cshtml
    │       │   ├── Shared
    │       │   │   ├── Error.cshtml
    │       │   │   └── _Layout.cshtml
    │       │   ├── Test
    │       │   │   └── Form.cshtml
    │       │   ├── _ViewStart.cshtml
    │       │   └── Web.config
    │       └── Web.config
    ├── src
    │   ├── Directory.Build.props
    │   ├── StackExchange.Exceptional
    │   │   ├── AspNetExtensions.cs
    │   │   ├── ConfigSettings.cs
    │   │   ├── ExceptionalAsyncHandler.cs
    │   │   ├── Exceptional.cs
    │   │   ├── ExceptionalModule.cs
    │   │   ├── ExceptionalSettings.cs
    │   │   ├── HandlerFactory.cs
    │   │   └── StackExchange.Exceptional.csproj
    │   ├── StackExchange.Exceptional.AspNetCore
    │   │   ├── AspNetCoreExtensions.cs
    │   │   ├── ExceptionalBuilderExtensions.cs
    │   │   ├── Exceptional.cs
    │   │   ├── ExceptionalMiddleware.cs
    │   │   ├── ExceptionalServiceExtensions.cs
    │   │   ├── ExceptionalSettings.cs
    │   │   ├── ExceptionalStartupFilter.cs
    │   │   └── StackExchange.Exceptional.AspNetCore.csproj
    │   ├── StackExchange.Exceptional.MongoDB
    │   │   ├── MongoDBErrorStore.cs
    │   │   └── StackExchange.Exceptional.MongoDB.csproj
    │   ├── StackExchange.Exceptional.MySQL
    │   │   ├── MySQLErrorStore.cs
    │   │   └── StackExchange.Exceptional.MySQL.csproj
    │   ├── StackExchange.Exceptional.PostgreSql
    │   │   ├── PostgreSqlErrorStore.cs
    │   │   └── StackExchange.Exceptional.PostgreSql.csproj
    │   └── StackExchange.Exceptional.Shared
    │       ├── bundleconfig.json
    │       ├── Command.cs
    │       ├── compilerconfig.json
    │       ├── EmailSettings.cs
    │       ├── ErrorAfterLogEventArgs.cs
    │       ├── ErrorBeforeLogEventArgs.cs
    │       ├── Error.cs
    │       ├── ErrorStore.cs
    │       ├── ErrorStoreSettings.cs
    │       ├── ExceptionalSettingsExtensions.cs
    │       ├── ExceptionalUtils.cs
    │       ├── ExceptionalUtils.StackTrace.cs
    │       ├── ExceptionalUtils.Test.cs
    │       ├── Extensions.cs
    │       ├── Extensions.Handlers.cs
    │       ├── IExceptionalHandled.cs
    │       ├── Internal
    │       │   ├── CaseInsensitiveDictionaryConverter.cs
    │       │   ├── Constants.cs
    │       │   ├── ErrorEmail.cs
    │       │   ├── ExceptionalSettingsBase.cs
    │       │   ├── HtmlBase.cs
    │       │   ├── InternalExtensions.cs
    │       │   ├── IPNet.cs
    │       │   ├── KnownHeaders.cs
    │       │   ├── KnownRoutes.cs
    │       │   ├── Resources.cs
    │       │   ├── Statics.cs
    │       │   └── StringBuilderCache.cs
    │       ├── Notifiers
    │       │   ├── EmailNotifier.cs
    │       │   └── IErrorNotifier.cs
    │       ├── Pages
    │       │   ├── ErrorDetailPage.cs
    │       │   ├── ErrorListPage.cs
    │       │   └── WebPage.cs
    │       ├── Resources
    │       │   ├── Bundle.css
    │       │   ├── Bundle.js
    │       │   ├── Bundle.min.css
    │       │   ├── Bundle.min.js
    │       │   └── Source
    │       │       ├── highlight.less
    │       │       ├── highlight.pack.js
    │       │       ├── jquery-3.2.1.min.js
    │       │       ├── jquery.tablesorter.min.js
    │       │       ├── Scripts.js
    │       │       └── Styles.less
    │       ├── StackExchange.Exceptional.Shared.csproj
    │       ├── StackTraceSettings.cs
    │       └── Stores
    │           ├── JSONErrorStore.cs
    │           ├── MemoryErrorStore.cs
    │           └── SQLErrorStore.cs
    ├── StackExchange.Exceptional.sln
    ├── StackExchange.Exceptional.sln.DotSettings
    ├── tests
    │   ├── Directory.Build.props
    │   ├── StackExchange.Exceptional.Tests
    │   │   ├── Basic.cs
    │   │   ├── Helpers
    │   │   │   ├── Attributes.cs
    │   │   │   ├── BaseTest.cs
    │   │   │   ├── Resource.cs
    │   │   │   ├── Skip.cs
    │   │   │   └── TestConfig.cs
    │   │   ├── Ignore.cs
    │   │   ├── InternalExtensionsTest.cs
    │   │   ├── LegacyCompatTest.cs
    │   │   ├── StackExchange.Exceptional.Tests.csproj
    │   │   ├── Storage
    │   │   │   ├── JSONErrorStoreTest.cs
    │   │   │   ├── MemoryErrorStoreTest.cs
    │   │   │   ├── MongoDBErrorStoreTest.cs
    │   │   │   ├── MySQLErrorStoreTest.cs
    │   │   │   ├── PostgreSQLErrorStoreTest.cs
    │   │   │   ├── SQLErrorStoreTest.cs
    │   │   │   └── StoreBaseTest.cs
    │   │   └── TestExtensions.cs
    │   └── StackExchange.Exceptional.Tests.AspNetCore
    │       ├── AspNetCoreTest.cs
    │       ├── Commands.cs
    │       ├── Configs
    │       │   ├── Full.json
    │       │   ├── Storage.JSON.json
    │       │   ├── Storage.MongoDB.json
    │       │   ├── Storage.MySQL.json
    │       │   ├── Storage.PostgreSql.json
    │       │   └── Storage.SQL.json
    │       ├── Configuration.cs
    │       ├── Events.cs
    │       ├── Handlers.cs
    │       ├── LogFilters.cs
    │       ├── Logging.cs
    │       ├── Middleware.cs
    │       ├── Pages.cs
    │       ├── StackExchange.Exceptional.Tests.AspNetCore.csproj
    │       ├── StartupFilter.cs
    │       ├── StaticConfiguration.cs
    │       └── Static.cs
    └── version.json

59 directories, 220 files

标签:

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警