research-institute - JsonApiDotNetCore 4.0.0-alpha1-0367

Package Description

PM> Install-Package JsonApiDotNetCore -Version 4.0.0-alpha1-0367 -Source https://www.myget.org/F/research-institute/api/v3/index.json

Copy to clipboard

> nuget.exe install JsonApiDotNetCore -Version 4.0.0-alpha1-0367 -Source https://www.myget.org/F/research-institute/api/v3/index.json

Copy to clipboard

> dotnet add package JsonApiDotNetCore --version 4.0.0-alpha1-0367 --source https://www.myget.org/F/research-institute/api/v3/index.json

Copy to clipboard
<PackageReference Include="JsonApiDotNetCore" Version="4.0.0-alpha1-0367" />
Copy to clipboard
source https://www.myget.org/F/research-institute/api/v3/index.json

nuget JsonApiDotNetCore  ~> 4.0.0-alpha1-0367
Copy to clipboard

> choco install JsonApiDotNetCore --version 4.0.0-alpha1-0367 --source https://www.myget.org/F/research-institute/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "research-institute" -SourceLocation "https://www.myget.org/F/research-institute/api/v2"
Install-Module -Name "JsonApiDotNetCore" -RequiredVersion "4.0.0-alpha1-0367" -Repository "research-institute" -AllowPreRelease
Copy to clipboard

Browse the sources in this package using Visual Studio or WinDbg by configuring the following legacy symbol server URL: https://www.myget.org/F/research-institute/symbols/


JsonApiDotNetCore

A framework for building JSON:API compliant REST APIs using .NET Core and Entity Framework Core. Includes support for Atomic Operations.

Build Coverage NuGet Chat FIRST-TIMERS

The ultimate goal of this library is to eliminate as much boilerplate as possible by offering out-of-the-box features such as sorting, filtering and pagination. You just need to focus on defining the resources and implementing your custom business logic. This library has been designed around dependency injection, making extensibility incredibly easy.

Getting Started

These are some steps you can take to help you understand what this project is and how you can use it:

About

Official documentation

Related Projects

Examples

See the examples directory for up-to-date sample applications. There is also a Todo List App that includes a JsonApiDotNetCore API and an EmberJs client.

Installation and Usage

See our documentation for detailed usage.

Models

#nullable enable

[Resource]
public class Article : Identifiable<int>
{
    [Attr]
    public string Name { get; set; } = null!;
}

Middleware

// Program.cs

builder.Services.AddJsonApi<AppDbContext>();

// ...

app.UseRouting();
app.UseJsonApi();
app.MapControllers();

Compatibility

The following chart should help you pick the best version, based on your environment. See also our versioning policy.

JsonApiDotNetCore Status .NET Entity Framework Core
3.x Stable Core 2.x 2.x
4.x Stable Core 3.1 3.1, 5
5 5
6 5
5.0.0-5.0.2 Stable 6 6
5.0.3-5.4.0 Stable 6 6, 7
7 7
5.5+ Stable 6 6, 7
7 7
8 8
master Preview 6 6, 7
7 7
8 8
openapi Experimental 6 6, 7
7 7
8 8

Contributing

Have a question, found a bug or want to submit code changes? See our contributing guidelines.

Trying out the latest build

After each commit to the master branch, a new pre-release NuGet package is automatically published to GitHub Packages. To try it out, follow the steps below:

  1. Create a Personal Access Token (classic) with at least read:packages scope.

  2. Add our package source to your local user-specific nuget.config file by running:

    dotnet nuget add source https://nuget.pkg.github.com/json-api-dotnet/index.json --name github-json-api --username YOUR-GITHUB-USERNAME --password YOUR-PAT-CLASSIC
    

    In the command above:

    • Replace YOUR-GITHUB-USERNAME with the username you use to login your GitHub account.
    • Replace YOUR-PAT-CLASSIC with the token your created above.

    :warning: If the above command doesn't give you access in the next step, remove the package source by running:

    dotnet nuget remove source github-json-api
    

    and retry with the --store-password-in-clear-text switch added.

  3. Restart your IDE, open your project, and browse the list of packages from the github-json-api feed (make sure pre-release packages are included).

Development

To build the code from this repository locally, run:

dotnet build

Running tests locally requires access to a PostgreSQL database. If you have docker installed, this can be propped up via:

pwsh run-docker-postgres.ps1

And then to run the tests:

dotnet test

Alternatively, to build, run all tests, generate code coverage and NuGet packages:

pwsh Build.ps1

Sponsors

JetBrains Logo   Araxis Logo

  • .NETCoreApp 3.0
    • Ben.Demystifier (>= 0.1.1)
    • Humanizer (>= 2.4.2)
    • Microsoft.EntityFrameworkCore (>= 3.0.0)
    • Microsoft.Extensions.Logging (>= 3.0.0)
    • Newtonsoft.Json (>= 11.0.2)
    • System.ValueTuple (>= 4.5.0)
  • .NETCoreApp 3.0: 3.0.0.0

                        
Assembly Assembly hash Match
/lib/netcoreapp3.0/jsonapidotnetcore.dll 8914507839df46ccbc429edeea3e7e36FFFFFFFF

Owners

jaredcnance

Authors

JsonApiDotNetCore

Project URL

https://github.com/json-api-dotnet/JsonApiDotNetCore

License

MIT

Tags

jsonapi dotnet core emberjs ember

Info

264 total downloads
1 downloads for version 4.0.0-alpha1-0367
Download (166.03 KB)
Download legacy symbols (166.03 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
4.0.0-alpha1-0367 166.03 KB Thu, 07 Nov 2019 17:43:31 GMT 1
4.0.0-alpha1-0366 166.04 KB Thu, 07 Nov 2019 17:40:31 GMT 1
4.0.0-alpha1-0365 166.08 KB Wed, 06 Nov 2019 17:36:30 GMT 1
4.0.0-alpha1-0364 166.08 KB Wed, 06 Nov 2019 17:33:44 GMT 1
4.0.0-alpha1-0363 166.08 KB Wed, 06 Nov 2019 17:27:16 GMT 1
4.0.0-alpha1-0362 166.07 KB Wed, 06 Nov 2019 17:23:57 GMT 1
4.0.0-alpha1-0361 166.09 KB Mon, 04 Nov 2019 16:39:18 GMT 1
4.0.0-alpha1-0360 166.09 KB Mon, 04 Nov 2019 16:35:52 GMT 1
4.0.0-alpha1-0359 166.78 KB Mon, 04 Nov 2019 11:13:29 GMT 1
4.0.0-alpha1-0358 166.78 KB Mon, 04 Nov 2019 11:10:36 GMT 1
4.0.0-alpha1-0357 166.79 KB Fri, 01 Nov 2019 16:01:03 GMT 1
4.0.0-alpha1-0356 166.78 KB Fri, 01 Nov 2019 15:58:20 GMT 1
4.0.0-alpha1-0355 166.75 KB Thu, 31 Oct 2019 09:47:48 GMT 1
4.0.0-alpha1-0354 166.75 KB Thu, 31 Oct 2019 09:45:15 GMT 1
4.0.0-alpha1-0353 166.86 KB Wed, 30 Oct 2019 19:36:38 GMT 1
4.0.0-alpha1-0352 166.86 KB Wed, 30 Oct 2019 19:33:57 GMT 1
4.0.0-alpha1-0351 166.87 KB Wed, 30 Oct 2019 16:46:48 GMT 1
4.0.0-alpha1-0350 166.87 KB Wed, 30 Oct 2019 16:43:50 GMT 1
4.0.0-alpha1-0349 166 KB Wed, 30 Oct 2019 16:40:46 GMT 1
4.0.0-alpha1-0348 166 KB Wed, 30 Oct 2019 16:36:01 GMT 1
3.0.0-alpha1-0209 121.39 KB Wed, 03 Oct 2018 14:52:04 GMT 1
3.0.0-alpha1-0204 114.26 KB Wed, 03 Oct 2018 04:57:35 GMT 1
3.0.0-alpha1-0203 114.26 KB Wed, 03 Oct 2018 04:54:51 GMT 2
2.4.1 100.53 KB Mon, 23 Jul 2018 06:07:33 GMT 1
2.4.0-alpha1-0138 100.57 KB Wed, 25 Jul 2018 06:54:16 GMT 1
2.4.0-alpha1-0137 100.58 KB Wed, 25 Jul 2018 06:49:25 GMT 1
2.4.0-alpha1-0133 99.41 KB Mon, 23 Jul 2018 05:41:42 GMT 1
2.4.0-alpha1-0127 99.27 KB Tue, 10 Jul 2018 03:02:53 GMT 2
2.3.5-alpha1-0125 99.29 KB Mon, 09 Jul 2018 21:28:53 GMT 1
2.3.5-alpha1-0124 99.02 KB Mon, 09 Jul 2018 14:31:00 GMT 1
2.3.5-alpha1-0122 98.95 KB Sat, 07 Jul 2018 01:38:25 GMT 1
2.3.5-alpha1-0121 98.97 KB Sat, 07 Jul 2018 01:27:48 GMT 1
2.3.5-alpha1-0119 98.86 KB Sat, 07 Jul 2018 01:20:53 GMT 1
2.3.5-alpha1-0117 98.85 KB Thu, 05 Jul 2018 18:16:26 GMT 1
2.3.4-alpha1-0113 98.86 KB Thu, 05 Jul 2018 02:36:48 GMT 1
2.3.4-alpha1-0112 98.87 KB Thu, 05 Jul 2018 02:28:41 GMT 2
2.3.4-alpha1-0111 98.68 KB Tue, 03 Jul 2018 15:47:54 GMT 1
2.3.4-alpha1-0110 75.31 KB Tue, 03 Jul 2018 15:44:41 GMT 1
2.3.4-alpha1-0109 73.42 KB Mon, 02 Jul 2018 17:19:22 GMT 1
2.3.2-alpha1-0103 72.68 KB Wed, 27 Jun 2018 22:20:56 GMT 0
2.3.2-alpha1-0101 70.98 KB Mon, 18 Jun 2018 17:25:48 GMT 0
2.3.1-alpha1-0100 70.82 KB Mon, 18 Jun 2018 17:19:18 GMT 0
2.2.5-alpha1-0086 70.19 KB Sat, 09 Jun 2018 04:25:02 GMT 0
2.2.2-alpha1-0075 67.44 KB Sat, 28 Apr 2018 12:32:39 GMT 0
2.2.2-alpha1-0074 66.43 KB Sat, 28 Apr 2018 12:29:38 GMT 0
2.2.2-alpha1-0071 66.36 KB Sun, 22 Apr 2018 13:00:46 GMT 0
2.2.0-alpha1-0060 62.32 KB Fri, 02 Mar 2018 13:19:07 GMT 0
2.2.0-alpha1-0059 62.47 KB Thu, 01 Mar 2018 12:38:15 GMT 0
2.2.0-alpha1-0054 62.92 KB Sun, 18 Feb 2018 16:39:23 GMT 0
2.2.0-alpha1-0021 60.57 KB Mon, 13 Nov 2017 02:45:20 GMT 1
2.1.7-alpha1-0011 59.86 KB Tue, 24 Oct 2017 11:56:38 GMT 3
2.1.6-alpha1-0010 59.77 KB Tue, 24 Oct 2017 11:54:55 GMT 2
2.1.5-alpha1-0007 50.9 KB Wed, 27 Sep 2017 00:59:22 GMT 1
2.1.4-alpha1-0220 50.89 KB Sun, 17 Sep 2017 19:53:51 GMT 1
2.1.3-alpha1-0217 50.86 KB Thu, 17 Aug 2017 01:56:23 GMT 1
2.1.2-alpha1-0211 50.81 KB Thu, 10 Aug 2017 00:11:16 GMT 3
2.1.1-alpha1-0209 50.81 KB Fri, 28 Jul 2017 20:54:06 GMT 3
2.1.0-alpha1-0200 50.79 KB Sun, 02 Jul 2017 22:40:37 GMT 1
2.1.0-alpha1-0199 50.79 KB Sun, 02 Jul 2017 22:06:37 GMT 1
2.1.0-alpha1-0197 50.43 KB Sun, 02 Jul 2017 20:12:51 GMT 1
2.0.9-alpha1-0183 43.41 KB Wed, 14 Jun 2017 16:56:59 GMT 1
2.0.8-alpha1-0174 43.37 KB Fri, 02 Jun 2017 00:32:57 GMT 2
2.0.8-alpha1-0173 42.65 KB Thu, 01 Jun 2017 03:22:26 GMT 1
2.0.8-alpha1-0172 42.58 KB Wed, 31 May 2017 12:02:51 GMT 3
2.0.8-alpha1-0171 42.33 KB Wed, 31 May 2017 03:37:46 GMT 2
2.0.7-alpha1-0168 42.25 KB Sat, 27 May 2017 13:34:33 GMT 2
2.0.7-alpha1-0167 41.97 KB Sat, 27 May 2017 00:09:59 GMT 3
2.0.6-alpha1-0166 41.96 KB Sat, 27 May 2017 00:05:24 GMT 3
2.0.6-alpha1-0163 41.94 KB Tue, 16 May 2017 14:03:40 GMT 2
2.0.5-alpha1-0158 42.11 KB Sun, 14 May 2017 03:15:20 GMT 2
2.0.2-alpha1-0124 41.51 KB Thu, 11 May 2017 22:18:20 GMT 2
2.0.2-alpha1-0119 41.51 KB Tue, 09 May 2017 20:31:15 GMT 3
2.0.2-alpha1-0118 41.52 KB Tue, 09 May 2017 20:15:27 GMT 1
2.0.1-alpha1-0114 41.52 KB Sat, 06 May 2017 15:01:33 GMT 2
2.0.0-alpha1-0110 41.5 KB Sat, 06 May 2017 01:11:04 GMT 3
2.0.0-alpha1-0109 41.5 KB Fri, 05 May 2017 23:10:43 GMT 1
2.0.0-alpha1-0108 41.62 KB Thu, 27 Apr 2017 21:47:42 GMT 2
2.0.0-alpha1-0107 41.52 KB Wed, 26 Apr 2017 22:57:28 GMT 2
2.0.0-alpha1-0106 41.53 KB Tue, 25 Apr 2017 15:09:29 GMT 3
1.3.1-alpha1-0103 38.68 KB Wed, 12 Apr 2017 12:52:40 GMT 4
1.3.1-alpha1-0102 38.7 KB Tue, 11 Apr 2017 13:31:03 GMT 2
1.3.1-alpha1-0100 37.95 KB Sun, 09 Apr 2017 15:49:07 GMT 3
1.3.1-alpha1-0099 37.95 KB Sun, 09 Apr 2017 15:47:41 GMT 4
1.3.0-alpha1-0096 37.87 KB Fri, 31 Mar 2017 14:36:54 GMT 3
1.3.0-alpha1-0095 37.87 KB Fri, 31 Mar 2017 00:03:45 GMT 3
1.3.0-alpha1-0094 37.87 KB Thu, 30 Mar 2017 11:52:53 GMT 4
1.3.0-alpha1-0093 37.77 KB Thu, 30 Mar 2017 02:36:33 GMT 2
1.3.0-alpha1-0092 37.77 KB Thu, 30 Mar 2017 01:13:28 GMT 2
1.2.2-alpha1-0088 37.32 KB Sat, 25 Mar 2017 02:10:11 GMT 3
1.2.2-alpha1-0087 37.27 KB Thu, 23 Mar 2017 23:18:32 GMT 4
1.2.1-alpha1-0086 37.22 KB Thu, 23 Mar 2017 23:11:37 GMT 2
1.2.0-alpha1-0081 37.14 KB Tue, 21 Mar 2017 13:54:12 GMT 4
1.2.0-alpha1-0080 37.14 KB Tue, 21 Mar 2017 13:16:53 GMT 2
1.2.0-alpha1-0079 36.28 KB Mon, 20 Mar 2017 21:23:07 GMT 4
1.2.0-alpha1-0078 36.28 KB Mon, 20 Mar 2017 21:21:44 GMT 2
1.2.0-alpha1-0077 35.88 KB Mon, 20 Mar 2017 20:08:45 GMT 5
1.2.0-alpha1-0076 35.84 KB Mon, 20 Mar 2017 19:22:45 GMT 2
1.2.0-alpha1-0073 35.43 KB Fri, 17 Mar 2017 13:46:28 GMT 3
1.1.1-alpha1-0070 33.87 KB Thu, 16 Mar 2017 01:42:18 GMT 4
1.1.1-alpha1-0069 33.8 KB Wed, 15 Mar 2017 22:21:30 GMT 4
1.1.0 33.19 KB Tue, 14 Mar 2017 15:22:20 GMT 3
1.1.0-alpha1-0068 33.8 KB Wed, 15 Mar 2017 22:19:07 GMT 4
1.0.1 31.7 KB Tue, 14 Mar 2017 12:52:35 GMT 4
1.0.0 31.67 KB Thu, 02 Mar 2017 14:15:47 GMT 2
1.0.0-beta2-0045 31.69 KB Thu, 02 Mar 2017 14:12:18 GMT 4
1.0.0-beta2-0044 31.69 KB Thu, 02 Mar 2017 13:11:57 GMT 4
1.0.0-beta2-0043 31.58 KB Thu, 02 Mar 2017 12:29:35 GMT 3
1.0.0-beta1-0042 31.71 KB Wed, 01 Mar 2017 22:56:21 GMT 3
1.0.0-beta1-0041 29.59 KB Wed, 01 Mar 2017 14:44:36 GMT 3
1.0.0-beta1-0040 29.58 KB Wed, 01 Mar 2017 14:35:10 GMT 3
0.2.12 28.22 KB Sat, 25 Feb 2017 16:29:26 GMT 4
0.2.11 27.73 KB Wed, 22 Feb 2017 15:12:44 GMT 4
0.2.10 27.26 KB Tue, 21 Feb 2017 23:32:03 GMT 3
0.2.9 27.21 KB Mon, 20 Feb 2017 15:30:35 GMT 4
0.2.8 26.25 KB Mon, 13 Feb 2017 13:31:52 GMT 3
0.1.4 37.02 KB Fri, 09 Sep 2016 15:49:56 GMT 3
0.1.4-beta-0016 37.06 KB Fri, 09 Sep 2016 15:40:38 GMT 4
0.1.4-beta-0015 37.06 KB Fri, 09 Sep 2016 15:21:17 GMT 3
0.1.4-beta-0014 37.07 KB Fri, 09 Sep 2016 15:15:20 GMT 5
0.1.4-beta-0013 37.06 KB Fri, 09 Sep 2016 15:12:18 GMT 5
0.1.4-beta-0012 37.06 KB Thu, 08 Sep 2016 17:18:32 GMT 7
0.1.4-beta-0011 36.95 KB Fri, 02 Sep 2016 19:58:41 GMT 1
0.1.3 34.96 KB Fri, 02 Sep 2016 02:16:31 GMT 4
0.1.2 34.96 KB Fri, 02 Sep 2016 02:10:41 GMT 5
0.1.1 34.54 KB Thu, 01 Sep 2016 21:32:29 GMT 3
0.1.0-alpha-0002 34.19 KB Wed, 31 Aug 2016 18:39:24 GMT 4
0.1.0-alpha-0001 34.19 KB Wed, 31 Aug 2016 18:26:46 GMT 3