File tree Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : XUnit unit test
2
+ on : [push]
3
+ jobs :
4
+ XUnit-Unit-Test :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - uses : actions/checkout@v2
8
+ - name : Setup dotnet
9
+ uses : actions/setup-dotnet@v1
10
+ with :
11
+ dotnet-version : ' 5.x'
12
+ - name : Install dependencies
13
+ run : dotnet restore
14
+ - name : Build
15
+ run : dotnet build
16
+ - name : Test with the dotnet CLI
17
+ run : dotnet test
Original file line number Diff line number Diff line change 4
4
<TargetFramework >net5.0</TargetFramework >
5
5
<GenerateEmbeddedFilesManifest >true</GenerateEmbeddedFilesManifest >
6
6
<PackageId >Inertia.AspNetCore</PackageId >
7
- <Version >0.0.4 </Version >
7
+ <Version >0.0.5 </Version >
8
8
<Description >A simple AspNetCore adapter for Inertia.js. https://inertiajs.com</Description >
9
9
<Authors >Frédéric Choquette</Authors >
10
10
<PackageProjectUrl >https://www.nuget.org/packages/Inertia.AspNetCore/</PackageProjectUrl >
Original file line number Diff line number Diff line change 4
4
# Inertia.js ASP.Net Core Adapter
5
5
6
6
## Prerequisite
7
- 1 . .NET Core v5
7
+ 1 . .NET Core v5 and later
8
8
2 . An ASP.NET Core MVC project
9
9
10
10
## Install
@@ -18,7 +18,7 @@ using Inertia.AspNetCore;
18
18
19
19
public void ConfigureServices (IServiceCollection services )
20
20
{
21
- services .AddControllersWithViews ().UserInertia ();
21
+ services .AddControllersWithViews ().AddInertia ();
22
22
}
23
23
```
24
24
2 . In your controller
You can’t perform that action at this time.
0 commit comments