Jinget.ExceptionHandler 8.0.0-preview011

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-preview011
                    
NuGet\Install-Package Jinget.ExceptionHandler -Version 8.0.0-preview011
                    
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-preview011" />
                    
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-preview011" />
                    
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-preview011
                    
#r "nuget: Jinget.ExceptionHandler, 8.0.0-preview011"
                    
#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.
#addin nuget:?package=Jinget.ExceptionHandler&version=8.0.0-preview011&prerelease
                    
Install Jinget.ExceptionHandler as a Cake Addin
#tool nuget:?package=Jinget.ExceptionHandler&version=8.0.0-preview011&prerelease
                    
Install Jinget.ExceptionHandler 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. 
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.11 180 22 days ago
8.0.10 167 22 days ago
8.0.9 163 22 days ago
8.0.8 138 a month ago
8.0.7 95 a month ago
8.0.6 101 a month ago
8.0.5 97 a month ago
8.0.4 104 a month ago
8.0.3 91 a month ago
8.0.2 87 a month ago
8.0.1 125 a month ago
8.0.0 145 2 months ago
8.0.0-preview013 189 3 months ago
8.0.0-preview012 90 3 months ago
8.0.0-preview011 95 3 months ago
8.0.0-preview010 106 4 months ago
8.0.0-preview009 99 4 months ago
8.0.0-preview008 107 4 months ago
8.0.0-preview007 137 5 months ago
8.0.0-preview006 113 5 months ago
8.0.0-preview005 92 5 months ago
8.0.0-preview004 88 5 months ago
8.0.0-preview003 92 5 months ago
8.0.0-preview002 94 5 months ago
8.0.0-preview001 92 5 months ago