|
1 | | -# PartialResponse.AspNetCore.Mvc.Formatters.Json |
| 1 | +# ASP.NET Core MVC Partial Response |
2 | 2 |
|
3 | 3 | [](https://raw.githubusercontent.com/dotarj/PartialResponse.AspNetCore.Mvc.Formatters.Json/master/LICENSE) |
4 | 4 | [](https://www.nuget.org/packages/PartialResponse.AspNetCore.Mvc.Formatters.Json) |
5 | 5 | [](https://www.myget.org/feed/partialresponse/package/nuget/PartialResponse.AspNetCore.Mvc.Formatters.Json) |
6 | 6 | [](https://ci.appveyor.com/project/dotarj/partialresponse-aspnetcore-mvc-formatters-json) |
7 | 7 | [](https://codecov.io/gh/dotarj/PartialResponse.AspNetCore.Mvc.Formatters.Json) |
8 | 8 |
|
9 | | -PartialResponse.AspNetCore.Mvc.Formatters.Json provides JSON partial response support for ASP.NET Core MVC. This package is also [available for ASP.NET Web API](https://www.nuget.org/packages/WebApi.PartialResponse/). |
| 9 | +PartialResponse.AspNetCore.Mvc.Formatters.Json provides JSON partial response (partial resource) support for ASP.NET Core MVC. This package is also [available for ASP.NET Web API](https://github.com/dotarj/PartialResponse/). |
10 | 10 |
|
11 | 11 | ## Getting started |
12 | 12 |
|
13 | | -First, add a dependency to PartialResponse.AspNetCore.Mvc.Formatters.Json using the NuGet package manager or by adding a package reference to the .csproj: |
| 13 | +First, add a dependency to PartialResponse.AspNetCore.Mvc.Formatters.Json using the NuGet package manager (console) or by adding a package reference to the .csproj: |
14 | 14 |
|
15 | 15 | ```xml |
16 | 16 | <ItemGroup> |
@@ -57,6 +57,6 @@ In practice, these rules often allow several different `fields` parameter values |
57 | 57 | * `fields=items(id,snippet/title,snippet/position)` |
58 | 58 | * `fields=items(id,snippet(title,position))` |
59 | 59 |
|
60 | | -**Note:** As with all query parameter values, the fields parameter value must be URL encoded. For better readability, the examples in this document omit the encoding. |
| 60 | +**Note:** As with all query parameter values, the 'fields' parameter value must be URL encoded. For better readability, the examples in this document omit the encoding. |
61 | 61 |
|
62 | 62 | **Note:** Due to the relatively slow performance of LINQ to JSON (Json.NET), the usage of PartialJsonOutputFormatter has a performance impact compared to the regular Json.NET serializer. Because of the reduced traffic, the overhead in time could be neglected. |
0 commit comments