@@ -10,7 +10,6 @@ JsonApiDotnetCore provides a framework for building [json:api](http://jsonapi.or
10
10
11
11
# Table Of Contents
12
12
- [ Installation] ( #installation )
13
- - [ Generators] ( #generators )
14
13
- [ Usage] ( #usage )
15
14
- [Middleware and Services](#middleware-and-services)
16
15
- [Defining Models](#defining-models)
@@ -42,14 +41,14 @@ Install-Package JsonApiDotnetCore
42
41
43
42
- project.json
44
43
``` json
45
- "JsonApiDotNetCore" : " 1.3 .0"
44
+ "JsonApiDotNetCore" : " 2.0 .0"
46
45
```
47
46
48
47
- * .csproj
49
48
``` xml
50
49
<ItemGroup >
51
50
<!-- ... -->
52
- <PackageReference Include =" JsonApiDotNetCore" Version =" 1.3 .0" />
51
+ <PackageReference Include =" JsonApiDotNetCore" Version =" 2.0 .0" />
53
52
</ItemGroup >
54
53
```
55
54
@@ -59,22 +58,14 @@ For pre-releases, add the [MyGet](https://www.myget.org/feed/Details/research-in
59
58
(https://www.myget.org/F/research-institute/api/v3/index.json )
60
59
to your nuget configuration.
61
60
62
- ## Generators
63
-
64
- You can install the [ Yeoman generators] ( https://github.com/Research-Institute/json-api-dotnet-core-generators )
65
- to make building applications much easier.
66
-
67
61
## Usage
68
62
69
- You need to do 3 things:
63
+ The most basic use case requires 3 things:
70
64
71
65
- Add Middleware and Services
72
66
- Define Models
73
67
- Define Controllers
74
68
75
- I recommend reading the details below, but once you're familiar with the
76
- setup, you can use the Yeoman generator to generate the required classes.
77
-
78
69
### Middleware and Services
79
70
80
71
Add the following to your ` Startup.ConfigureServices ` method.
0 commit comments