Info
Version: | 1.0.3 |
Author(s): | JorJika |
Last Update: | Tuesday, August 28, 2018 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | http://jorjika.net/ |
NuGet Url: | https://www.nuget.org/packages/JorJika.Api.ResponseWrapper |
Install
Install-Package JorJika.Api.ResponseWrapper
dotnet add package JorJika.Api.ResponseWrapper
paket add JorJika.Api.ResponseWrapper
JorJika.Api.ResponseWrapper Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNet.WebApi.Client(>= 5.2.6)
- Microsoft.AspNet.WebApi.Core(>= 5.2.6)
- Microsoft.AspNetCore(>= 2.1.2)
- Microsoft.AspNetCore.Http(>= 2.1.1)
Usage:
.Net Core => In Startup.cs add in Configure method app.UseResponseWrapper();
.Net Framework = > In WebApiConfig.cs add in Register method config.UseResponseWrapper();
Added Exception Urls.
If request url contains one of string in given array, response will not be wrapped.