Info
Version: | 1.0.5 |
Author(s): | Michael Dryden |
Last Update: | Friday, February 9, 2018 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/pudds/JsonApi.Net |
NuGet Url: | https://www.nuget.org/packages/mdryden.JsonApi.Net |
Install
Install-Package mdryden.JsonApi.Net
dotnet add package mdryden.JsonApi.Net
paket add mdryden.JsonApi.Net
mdryden.JsonApi.Net Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.Mvc(>= 2.0.1)
- Microsoft.Extensions.Configuration(>= 2.0.0)
- Microsoft.Extensions.Options(>= 2.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions(>= 2.0.0)
- Newtonsoft.Json(>= 10.0.3)
Use .AddJsonApi() method in startup to configure. Uses a formatter and exception filter to craft JsonAPI compliant responses, an provides a simple way to add API key authentication to controllers or methods.