Jinget.ExceptionHandler 8.0.0-preview007

Prefix Reserved
This is a prerelease version of Jinget.ExceptionHandler.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Jinget.ExceptionHandler --version 8.0.0-preview007
                    
NuGet\Install-Package Jinget.ExceptionHandler -Version 8.0.0-preview007
                    
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="Jinget.ExceptionHandler" Version="8.0.0-preview007" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Jinget.ExceptionHandler" Version="8.0.0-preview007" />
                    
Directory.Packages.props
<PackageReference Include="Jinget.ExceptionHandler" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Jinget.ExceptionHandler --version 8.0.0-preview007
                    
#r "nuget: Jinget.ExceptionHandler, 8.0.0-preview007"
                    
#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.
#:package Jinget.ExceptionHandler@8.0.0-preview007
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Jinget.ExceptionHandler&version=8.0.0-preview007&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Jinget.ExceptionHandler&version=8.0.0-preview007&prerelease
                    
Install as a Cake Tool

Jinget ExceptionHandler

Using this library, you can make use of different exception handling mechanisms.

How to Use:

Download the package from NuGet using Package Manager: Install-Package Jinget.ExceptionHandler You can also use other methods supported by NuGet. Check Here for more information.

Configuration

Call builder.Services.ConfigureJingetExceptionHandler() to add required services to DI container. Calling this method requires to pass an object of BaseSettingModel which is consists of following properties:

UseGlobalExceptionHandler: If set to true then global exception handler will be used which in turn will rewrite the exception response output.

Handle4xxResponses: If set to true then http request exception handler will be used which in turn will handle the 4xx responses.

After registering the required services, you need to call app.UseJingetExceptionHandler() method to add exception handler middleware to your request pipeline.

Note: If you are using Jinget.Logger then you do not need to do anything and exception handling is by default set by this package.


How to install

In order to install Jinget ExceptionHandler please refer to nuget.org

Contact Me

👨‍💻 Twitter: https://twitter.com/_jinget

📧 Email: farahmandian2011@gmail.com

📣 Instagram: https://www.instagram.com/vahidfarahmandian

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Jinget.ExceptionHandler:

Package Downloads
Jinget.Logger

Using this library, you can easily save your application logs in ElasticSearch database or files.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.45 10 7/31/2025
8.0.44 12 7/31/2025
8.0.43 13 7/30/2025
8.0.42 13 7/30/2025
8.0.41 14 7/30/2025
8.0.40 11 7/30/2025
8.0.39 12 7/29/2025
8.0.38 11 7/28/2025
8.0.37 12 7/28/2025
8.0.36 18 7/28/2025
8.0.36-preview005 23 7/27/2025
8.0.35 23 7/19/2025
8.0.34 26 7/18/2025
8.0.33 151 6/29/2025
8.0.32 142 6/29/2025
8.0.31 98 6/28/2025
8.0.30 68 6/27/2025
8.0.29 69 6/27/2025
8.0.28 73 6/27/2025
8.0.27 98 6/27/2025
8.0.26 115 6/21/2025
8.0.25 160 6/15/2025
8.0.25-preview001 146 6/15/2025
8.0.24 134 5/31/2025
8.0.23 151 5/28/2025
8.0.23-preview001 148 5/28/2025
8.0.22 162 5/25/2025
8.0.21 167 5/11/2025
8.0.20 145 5/11/2025
8.0.19 148 5/11/2025
8.0.18 181 4/21/2025
8.0.17 177 4/21/2025
8.0.16 100 4/19/2025
8.0.15 217 4/13/2025
8.0.14 190 4/7/2025
8.0.13 172 4/7/2025
8.0.12 120 4/5/2025
8.0.11 213 3/9/2025
8.0.10 204 3/9/2025
8.0.9 187 3/9/2025
8.0.8 162 2/27/2025
8.0.7 122 2/27/2025
8.0.6 122 2/27/2025
8.0.5 127 2/26/2025
8.0.4 128 2/25/2025
8.0.3 119 2/24/2025
8.0.2 109 2/24/2025
8.0.1 156 2/20/2025
8.0.0 170 1/22/2025
8.0.0-preview013 206 12/19/2024
8.0.0-preview012 111 12/19/2024
8.0.0-preview011 117 12/17/2024
8.0.0-preview010 133 12/16/2024
8.0.0-preview009 123 12/15/2024
8.0.0-preview008 127 11/25/2024
8.0.0-preview007 155 11/11/2024
8.0.0-preview006 131 11/2/2024
8.0.0-preview005 115 11/2/2024
8.0.0-preview004 106 11/1/2024
8.0.0-preview003 112 11/1/2024
8.0.0-preview002 111 11/1/2024
8.0.0-preview001 110 11/1/2024