Elmah.AspNetCore.StackExchange.Redis 1.1.0

dotnet add package Elmah.AspNetCore.StackExchange.Redis --version 1.1.0                
NuGet\Install-Package Elmah.AspNetCore.StackExchange.Redis -Version 1.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Elmah.AspNetCore.StackExchange.Redis" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Elmah.AspNetCore.StackExchange.Redis --version 1.1.0                
#r "nuget: Elmah.AspNetCore.StackExchange.Redis, 1.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Elmah.AspNetCore.StackExchange.Redis as a Cake Addin
#addin nuget:?package=Elmah.AspNetCore.StackExchange.Redis&version=1.1.0

// Install Elmah.AspNetCore.StackExchange.Redis as a Cake Tool
#tool nuget:?package=Elmah.AspNetCore.StackExchange.Redis&version=1.1.0                

Elmah.AspNetCore

ELMAH (Error Logging Middleware and Handlers) for ASP.NET Core.

Features include:

  • Logging of unhandled exceptions

  • Friendly UI to view captured errors along with contextual information

  • Hooks to include handled exceptions and additional contextual information

  • Various methods to persist error logs

  • Supports securing UI via built-in ASP.Net Core functionality

  • Notifications of errors through email or custom notifiers

  • Integration with Microsoft.Extensions.Logging to capture logs made during a request

  • Supports .NET 6+

  • RedisErrorLog - store errors in Redis (add reference to Elmah.AspNetCore.Redis and use PersistToRedis method)

using Elmah.AspNetCore;

builder.Host.UseElmah((builderContext, elmah) =>
{
    elmah.PersistToRedis(options =>
    {
        // Defaults
        options.RedisListKeyPrefix = "urn:elmah:error_list:";
        options.RedisKeyPrefix = "urn:elmah:error:";
        options.MaximumSize = 200; // (FIFO)
    });
});
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 434 3/20/2024
1.0.3 171 2/14/2024
1.0.2 111 2/14/2024
1.0.1 126 2/4/2024
1.0.0 127 1/27/2024
0.0.0-preview.0.139 58 1/25/2024