Twileloop.ExpressGlobalExceptionHandler 1.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
Additional Details

This package is no more maintained by the Author. Visit https://packages.twileloop.com/ for new packages

dotnet add package Twileloop.ExpressGlobalExceptionHandler --version 1.0.0
NuGet\Install-Package Twileloop.ExpressGlobalExceptionHandler -Version 1.0.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="Twileloop.ExpressGlobalExceptionHandler" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Twileloop.ExpressGlobalExceptionHandler --version 1.0.0
#r "nuget: Twileloop.ExpressGlobalExceptionHandler, 1.0.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 Twileloop.ExpressGlobalExceptionHandler as a Cake Addin
#addin nuget:?package=Twileloop.ExpressGlobalExceptionHandler&version=1.0.0

// Install Twileloop.ExpressGlobalExceptionHandler as a Cake Tool
#tool nuget:?package=Twileloop.ExpressGlobalExceptionHandler&version=1.0.0

Express-Global-Exception-Handler

Global exception handler and Standard Response for ASP.NET Core Web APIs

Express Global exception handler integrates seamlessly into your .NET Core Web API project and provides error response in http response. It includes and uses a standard API response JSON that your application can use on any endpoint. Integration is seamless

Register Exception Handler

After you reference the project from NuGet, Register the global exception handler to the request pipeline on Startup.cs inside Configure methord

  app.UseGlobalExceptionHandler();

Standard Response

The library also includes and uses a standard Response pattern. You can use that from your API endpoints easily which makes your API response reliable and standardised.

return new Response<Model>
  {
    IsSuccess = true,
    Message = "The request is successfull",
    ResponseStatus = ResponseStatus.SUCCESS,
    Data = data
  };
  
//Or if there is no data payload

return new Response
  {
    IsSuccess = true,
    Message = "The request is successfull",
    ResponseStatus = ResponseStatus.SUCCESS
  };
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
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.0.0 500 9/12/2020