NegsoCustomExceptionHandlingForNet6 1.0.1
dotnet add package NegsoCustomExceptionHandlingForNet6 --version 1.0.1
NuGet\Install-Package NegsoCustomExceptionHandlingForNet6 -Version 1.0.1
<PackageReference Include="NegsoCustomExceptionHandlingForNet6" Version="1.0.1" />
paket add NegsoCustomExceptionHandlingForNet6 --version 1.0.1
#r "nuget: NegsoCustomExceptionHandlingForNet6, 1.0.1"
// Install NegsoCustomExceptionHandlingForNet6 as a Cake Addin #addin nuget:?package=NegsoCustomExceptionHandlingForNet6&version=1.0.1 // Install NegsoCustomExceptionHandlingForNet6 as a Cake Tool #tool nuget:?package=NegsoCustomExceptionHandlingForNet6&version=1.0.1
to use this project I suggest to create a middleware and in try catch when you catch exceptions call ExceptionHandler.HandleExceptionAsync and pass httpcontext and exception and do not forget , just write await ExceptionMiddleware.HandleExceptionAsync(httpcontext, exception) don't throw the exception !!!!!!!!! its just a simple and message base exception handler if you want more you can add anything you want to this project by pull it from GitHub https://github.com/Javidleo/ExceptionHandling/tree/master/CustomException
Product | Versions 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. |
-
net6.0
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.AspNetCore.Server.Kestrel.Core (>= 2.2.0)
- Microsoft.Data.SqlClient (>= 4.1.0)
- Microsoft.IdentityModel.Tokens (>= 6.17.0)
- System.Data.SqlClient (>= 4.8.3)
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.0.1 | 249 | 5/15/2022 |