jadnc - JsonApiDotNetCore 2.0.5-alpha1-0150

Package Description

PM> Install-Package JsonApiDotNetCore -Version 2.0.5-alpha1-0150 -Source https://www.myget.org/F/jadnc/api/v3/index.json

Copy to clipboard

> nuget.exe install JsonApiDotNetCore -Version 2.0.5-alpha1-0150 -Source https://www.myget.org/F/jadnc/api/v3/index.json

Copy to clipboard

> dotnet add package JsonApiDotNetCore --version 2.0.5-alpha1-0150 --source https://www.myget.org/F/jadnc/api/v3/index.json

Copy to clipboard
<PackageReference Include="JsonApiDotNetCore" Version="2.0.5-alpha1-0150" />
Copy to clipboard
source https://www.myget.org/F/jadnc/api/v3/index.json

nuget JsonApiDotNetCore  ~> 2.0.5-alpha1-0150
Copy to clipboard

> choco install JsonApiDotNetCore --version 2.0.5-alpha1-0150 --source https://www.myget.org/F/jadnc/api/v2

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

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, 9
9 9
master Preview 6 6, 7
7 7
8 8, 9
9 9
openapi Experimental 6 6, 7
7 7
8 8, 9
9 9

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

  • .NETStandard 1.6
    • Microsoft.AspNetCore.Mvc (>= 1.1.3)
    • Microsoft.AspNetCore.Routing (>= 1.1.2)
    • Microsoft.EntityFrameworkCore (>= 1.1.2)
    • Microsoft.Extensions.Logging (>= 1.1.2)
    • NETStandard.Library (>= 1.6.1)
    • System.ValueTuple (>= 4.3.1)
  • .NETStandard 1.6: 1.6.0.0

Owners

jaredcnance

Authors

JsonApiDotNetCore

Project URL

https://github.com/Research-Institute/json-api-dotnet-core

License

MIT

Tags

jsonapi dotnet core emberjs ember

Info

0 total downloads
0 downloads for version 2.0.5-alpha1-0150
Download (41.78 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
2.1.0-alpha1-0198 50.43 KB Sun, 02 Jul 2017 20:14:34 GMT 0
2.1.0-alpha1-0196 50.42 KB Sun, 02 Jul 2017 20:00:42 GMT 0
2.1.0-alpha1-0195 50.03 KB Tue, 27 Jun 2017 03:53:53 GMT 0
2.1.0-alpha1-0194 49.58 KB Sun, 25 Jun 2017 20:46:53 GMT 0
2.1.0-alpha1-0193 49.01 KB Sun, 25 Jun 2017 03:38:59 GMT 0
2.1.0-alpha1-0192 49.04 KB Sun, 25 Jun 2017 03:29:28 GMT 0
2.1.0-alpha1-0191 48.35 KB Fri, 23 Jun 2017 02:29:35 GMT 0
2.1.0-alpha1-0190 48.31 KB Wed, 21 Jun 2017 22:13:16 GMT 0
2.1.0-alpha1-0189 48.32 KB Wed, 21 Jun 2017 22:06:15 GMT 0
2.1.0-alpha1-0188 48.29 KB Wed, 21 Jun 2017 21:43:49 GMT 0
2.1.0-alpha1-0187 48.29 KB Wed, 21 Jun 2017 13:45:22 GMT 0
2.1.0-alpha1-0186 48.13 KB Thu, 15 Jun 2017 03:22:15 GMT 0
2.1.0-alpha1-0185 47.68 KB Thu, 15 Jun 2017 02:30:31 GMT 0
2.1.0-alpha1-0181 47.53 KB Wed, 14 Jun 2017 16:12:12 GMT 0
2.1.0-alpha1-0178 47.52 KB Mon, 12 Jun 2017 04:24:02 GMT 0
2.0.6-alpha1-0162 41.94 KB Tue, 16 May 2017 13:48:02 GMT 0
2.0.5-alpha1-0161 41.94 KB Tue, 16 May 2017 13:44:12 GMT 0
2.0.5-alpha1-0157 42.1 KB Sun, 14 May 2017 03:10:24 GMT 0
2.0.5-alpha1-0156 42.1 KB Sun, 14 May 2017 02:57:11 GMT 0
2.0.5-alpha1-0155 42.09 KB Sun, 14 May 2017 02:46:43 GMT 0
2.0.5-alpha1-0154 42.09 KB Sun, 14 May 2017 02:41:56 GMT 0
2.0.5-alpha1-0153 42.09 KB Sun, 14 May 2017 02:36:24 GMT 0
2.0.5-alpha1-0152 42.09 KB Sun, 14 May 2017 02:23:26 GMT 0
2.0.5-alpha1-0150 41.78 KB Sat, 13 May 2017 23:49:41 GMT 0
2.0.5-alpha1-0149 41.78 KB Sat, 13 May 2017 23:26:21 GMT 0
2.0.5-alpha1-0148 41.78 KB Sat, 13 May 2017 23:22:53 GMT 0
2.0.5-alpha1-0147 41.78 KB Sat, 13 May 2017 23:20:15 GMT 0
2.0.5-alpha1-0146 41.78 KB Sat, 13 May 2017 23:16:28 GMT 0
2.0.5-alpha1-0134 41.78 KB Sat, 13 May 2017 21:55:40 GMT 0
2.0.5-alpha1-0133 41.78 KB Sat, 13 May 2017 21:49:26 GMT 0
2.0.5-alpha1-0131 41.78 KB Sat, 13 May 2017 21:41:26 GMT 0
2.0.5-alpha1-0130 41.6 KB Sat, 13 May 2017 21:29:18 GMT 0
2.0.4-alpha1-0129 41.61 KB Sat, 13 May 2017 21:20:40 GMT 0