Three NuGet packages to improve exceptions in .NET/C#

This page summarizes the projects mentioned and recommended in the original post on /r/dotnet

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • EntityFramework.Exceptions

    Handle database errors easily when working with Entity Framework Core. Supports SQLServer, PostgreSQL, SQLite, Oracle and MySql.

  • Here is a fourth one: EntityFramework.Exceptions

  • Serilog.Exceptions

    Log exception details and custom properties that are not output in Exception.ToString().

  • If you're using Serilog, add in Serilog.Exceptions, because Serilog does structure Exceptions by default. This package does it.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Serilog

    Simple .NET logging with fully-structured events

  • It surprised me for a bit, because Serliog's whole thing is "structured events ... structured event data" (from https://serilog.net/ )

  • ApiExceptions

    Reinventing C# exceptions

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts