Skip to content

Commit 824ee05

Browse files
committed
[v3.0.0] Lib.AspNetCore.Mvc.JqGrid
1 parent 1038d24 commit 824ee05

File tree

7 files changed

+51
-144
lines changed

7 files changed

+51
-144
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## Lib.AspNetCore.Mvc.JqGrid.Helper 3.0.0
2+
### Additions and Changes
3+
- Moved JsonResult from Lib.AspNetCore.Mvc.JqGrid.Core.Json to Lib.AspNetCore.Mvc.JqGrid.Core.Results
4+
- Upgraded to ASP.NET Core 3.0.0
5+
- Rewritten default JSON features implementation to System.Text.Json
6+
- Provided Newtonsoft.Json based JSON features as a separated package (Lib.AspNetCore.Mvc.JqGrid.NewtonsoftJson)
7+
18
## Lib.AspNetCore.Mvc.JqGrid.Helper 1.5.0 & 2.3.0
29
### Additions and Changes
310
- Added support for gridComplete, loadComplete, and onSelectRow events

DocFx.AspNetCore.Mvc.JqGrid/index.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,49 @@ PM> Install-Package Lib.AspNetCore.Mvc.JqGrid.Core
2020
PM> Install-Package Lib.AspNetCore.Mvc.JqGrid.DataAnnotations
2121
```
2222

23+
### Json.NET support
24+
25+
Since ASP.NET Core 3.0, Json.NET is no longer the default JSON framework. The default is now System.Text.Json. The same is the case for Lib.AspNetCore.Mvc.JqGrid.
26+
27+
If yur application requires Newtonsoft.Json-specific features and uses Newtonsoft.Json integration, you need to enable it for Lib.AspNetCore.Mvc.JqGrid as well.
28+
29+
To use Json.NET with Lib.AspNetCore.Mvc.JqGrid:
30+
- Add a package reference to Lib.AspNetCore.Mvc.JqGrid.NewtonsoftJson.
31+
32+
```
33+
<Project Sdk="Microsoft.NET.Sdk.Web">
34+
...
35+
<ItemGroup>
36+
...
37+
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.0.0" />
38+
<PackageReference Include="Lib.AspNetCore.Mvc.JqGrid.NewtonsoftJson" Version="3.0.0" />
39+
</ItemGroup>
40+
...
41+
</Project>
42+
```
43+
44+
- Update `Startup.ConfigureServices` to call `AddNewtonsoftJqGrid`.
45+
46+
```
47+
public class Startup
48+
{
49+
public void ConfigureServices(IServiceCollection services)
50+
{
51+
...
52+
53+
services.AddControllersWithViews();
54+
.AddNewtonsoftJson();
55+
56+
services.AddJqGrid();
57+
.AddNewtonsoftJqGrid();
58+
59+
...
60+
}
61+
62+
...
63+
}
64+
```
65+
2366
## Demos
2467

2568
The demo project is available on [GitHub](https://github.com/tpeczek/Demo.AspNetCore.JqGrid).

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Lib.AspNetCore.Mvc.JqGrid
2-
[![NuGet Lib.AspNetCore.Mvc.JqGrid.Infrastructure](https://badge.fury.io/nu/Lib.AspNetCore.Mvc.JqGrid.Infrastructure.svg)](http://badge.fury.io/nu/Lib.AspNetCore.Mvc.JqGrid.Infrastructure) [![NuGet Lib.AspNetCore.Mvc.JqGrid.Core](https://badge.fury.io/nu/Lib.AspNetCore.Mvc.JqGrid.Core.svg)](http://badge.fury.io/nu/Lib.AspNetCore.Mvc.JqGrid.Core) [![NuGet Lib.AspNetCore.Mvc.JqGrid.DataAnnotations](https://badge.fury.io/nu/Lib.AspNetCore.Mvc.JqGrid.DataAnnotations.svg)](http://badge.fury.io/nu/Lib.AspNetCore.Mvc.JqGrid.DataAnnotations) [![NuGet Lib.AspNetCore.Mvc.JqGrid.Helper](https://badge.fury.io/nu/Lib.AspNetCore.Mvc.JqGrid.Helper.svg)](http://badge.fury.io/nu/Lib.AspNetCore.Mvc.JqGrid.Helper)
2+
[![NuGet Lib.AspNetCore.Mvc.JqGrid.Helper](https://badge.fury.io/nu/Lib.AspNetCore.Mvc.JqGrid.Helper.svg)](http://badge.fury.io/nu/Lib.AspNetCore.Mvc.JqGrid.Helper)
33

44
A set of libraries which provide support for [Guriddo jqGrid](http://guriddo.net/) and [free jqGrid](https://github.com/free-jqgrid/jqGrid) usage in ASP.NET Core.
55

v2.x.y/Lib.AspNetCore.Mvc.JqGrid.Core_v2.x.y/Lib.AspNetCore.Mvc.JqGrid.Core_v2.x.y.csproj

Lines changed: 0 additions & 37 deletions
This file was deleted.

v2.x.y/Lib.AspNetCore.Mvc.JqGrid.DataAnnotations_v2.x.y/Lib.AspNetCore.Mvc.JqGrid.DataAnnotations_v2.x.y.csproj

Lines changed: 0 additions & 34 deletions
This file was deleted.

v2.x.y/Lib.AspNetCore.Mvc.JqGrid.Helper_v2.x.y/Lib.AspNetCore.Mvc.JqGrid.Helper_v2.x.y.csproj

Lines changed: 0 additions & 41 deletions
This file was deleted.

v2.x.y/Lib.AspNetCore.Mvc.JqGrid.Infrastructure_v2.x.y/Lib.AspNetCore.Mvc.JqGrid.Infrastructure_v2.x.y.csproj

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)