Skip to content

Commit 3cbbb39

Browse files
authored
Merge pull request #31 from Rick-van-Dam/feature/Update
update everything
2 parents efb6c66 + 4d4c31d commit 3cbbb39

33 files changed

Lines changed: 158 additions & 156 deletions

File tree

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,6 @@ dotnet_diagnostic.ca1812.severity = none
174174
dotnet_diagnostic.ca1819.severity = none
175175

176176
dotnet_diagnostic.ca1014.severity = none
177+
178+
# Because an application's API isn't typically referenced from outside the assembly, types can be made internal
179+
dotnet_diagnostic.CA1515.severity = none

Examples/AngularAuth/AngularAuth.Backend.Sut/AngularAuth.Backend.Sut.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.4" />
11-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.4" />
12-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
13-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.4" />
14-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.4">
10+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.6" />
11+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.6" />
12+
<PackageReference Include="Swashbuckle.AspNetCore" Version="9.0.1" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.6" />
14+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.6">
1515
<PrivateAssets>all</PrivateAssets>
1616
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1717
</PackageReference>
18-
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.4" />
18+
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
1919
</ItemGroup>
2020

2121
<ItemGroup>

Examples/AngularAuth/AngularAuth.Playwright/AngularAuth.Playwright.csproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

@@ -10,17 +10,17 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="FluentAssertions" Version="6.12.0"/>
14-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.4" />
15-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
16-
<PackageReference Include="Microsoft.Playwright.NUnit" Version="1.43.0" />
17-
<PackageReference Include="NUnit" Version="4.1.0" />
18-
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
19-
<PackageReference Include="NUnit.Analyzers" Version="4.2.0">
13+
<PackageReference Include="FluentAssertions" Version="8.4.0" />
14+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.6" />
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
16+
<PackageReference Include="Microsoft.Playwright.NUnit" Version="1.53.0" />
17+
<PackageReference Include="NUnit" Version="4.3.2" />
18+
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
19+
<PackageReference Include="NUnit.Analyzers" Version="4.9.2">
2020
<PrivateAssets>all</PrivateAssets>
2121
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2222
</PackageReference>
23-
<PackageReference Include="coverlet.collector" Version="6.0.2">
23+
<PackageReference Include="coverlet.collector" Version="6.0.4">
2424
<PrivateAssets>all</PrivateAssets>
2525
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2626
</PackageReference>

Examples/AngularAuth/AngularAuth.Playwright/TestSetup/TestJwtGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static string GenerateJwtToken(IEnumerable<Claim> claims)
3131

3232
public static IServiceCollection ConfigureTestJwt(this IServiceCollection services)
3333
{
34-
services.RemoveAll(typeof(IConfigureOptions<JwtBearerOptions>)); // Remove any already configured jwt bearer options configurators as we want to be in control of this in the tests.
34+
services.RemoveAll<IConfigureOptions<JwtBearerOptions>>(); // Remove any already configured jwt bearer options configurators as we want to be in control of this in the tests.
3535
services.Configure<JwtBearerOptions>(JwtBearerDefaults.AuthenticationScheme, options =>
3636
{
3737
options.Configuration = new OpenIdConnectConfiguration

Examples/Api/MsSql/Api.MsSql.Nunit/Api.MsSql.Nunit.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

@@ -10,16 +10,16 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="FluentAssertions" Version="6.12.0"/>
14-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.4" />
15-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
16-
<PackageReference Include="NUnit" Version="4.1.0" />
17-
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
18-
<PackageReference Include="NUnit.Analyzers" Version="4.2.0">
13+
<PackageReference Include="FluentAssertions" Version="8.4.0" />
14+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.6" />
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
16+
<PackageReference Include="NUnit" Version="4.3.2" />
17+
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
18+
<PackageReference Include="NUnit.Analyzers" Version="4.9.2">
1919
<PrivateAssets>all</PrivateAssets>
2020
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2121
</PackageReference>
22-
<PackageReference Include="coverlet.collector" Version="6.0.2">
22+
<PackageReference Include="coverlet.collector" Version="6.0.4">
2323
<PrivateAssets>all</PrivateAssets>
2424
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2525
</PackageReference>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.4" />
11-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0"/>
12-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.4" />
13-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.4">
10+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.6" />
11+
<PackageReference Include="Swashbuckle.AspNetCore" Version="9.0.1" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.6" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.6">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>
17-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.4" />
17+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.6" />
1818
</ItemGroup>
1919

2020
</Project>

Examples/Api/MsSql/Api.MsSql.Xunit/Api.MsSql.Xunit.csproj

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

@@ -10,20 +10,20 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="FluentAssertions" Version="6.12.0"/>
14-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.4" />
15-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
16-
<PackageReference Include="xunit" Version="2.8.0" />
17-
<PackageReference Include="Xunit.DependencyInjection" Version="9.2.1" />
18-
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="9.0.0" />
19-
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.0">
13+
<PackageReference Include="FluentAssertions" Version="8.4.0" />
14+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.6" />
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
16+
<PackageReference Include="Xunit.DependencyInjection" Version="10.5.0" />
17+
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="10.0.0" />
18+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.1">
2019
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2120
<PrivateAssets>all</PrivateAssets>
2221
</PackageReference>
23-
<PackageReference Include="coverlet.collector" Version="6.0.2">
22+
<PackageReference Include="coverlet.collector" Version="6.0.4">
2423
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2524
<PrivateAssets>all</PrivateAssets>
2625
</PackageReference>
26+
<PackageReference Include="xunit.v3" Version="2.0.3" />
2727
</ItemGroup>
2828

2929
<ItemGroup>

Examples/Api/MsSql/Api.MsSql.Xunit/ApiMsSqlTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public async Task GetBlogs_ShouldReturnExpectedBlogs()
2525
});
2626

2727
//Act
28-
var result = await _sut.CreateClient().GetFromJsonAsync<Blog[]>("blogs");
28+
var result = await _sut.CreateClient().GetFromJsonAsync<Blog[]>("blogs", cancellationToken: TestContext.Current.CancellationToken);
2929

3030
//Assert
3131
result.Should().BeEquivalentTo(new[]

Examples/Api/PostgreSql/Api.PostgreSql.Nunit/Api.PostgreSql.Nunit.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77

@@ -10,16 +10,16 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="FluentAssertions" Version="6.12.0"/>
14-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.4" />
15-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
16-
<PackageReference Include="NUnit" Version="4.1.0" />
17-
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
18-
<PackageReference Include="NUnit.Analyzers" Version="4.2.0">
13+
<PackageReference Include="FluentAssertions" Version="8.4.0" />
14+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.6" />
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
16+
<PackageReference Include="NUnit" Version="4.3.2" />
17+
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
18+
<PackageReference Include="NUnit.Analyzers" Version="4.9.2">
1919
<PrivateAssets>all</PrivateAssets>
2020
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2121
</PackageReference>
22-
<PackageReference Include="coverlet.collector" Version="6.0.2">
22+
<PackageReference Include="coverlet.collector" Version="6.0.4">
2323
<PrivateAssets>all</PrivateAssets>
2424
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2525
</PackageReference>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net8.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.4" />
11-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0"/>
12-
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.4" />
13-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.4">
10+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.6" />
11+
<PackageReference Include="Swashbuckle.AspNetCore" Version="9.0.1" />
12+
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.6" />
13+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.6">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>
17-
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.4" />
17+
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
1818
</ItemGroup>
1919

2020
</Project>

0 commit comments

Comments
 (0)