Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
with:
submodules: true

- name: Setup .NET Core SDK
- name: Setup .NET 8 SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: "3.1.x"
dotnet-version: "8.0.x"

- name: Setup .NET 6 SDK
- name: Setup .NET 9 SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: "6.0.x"
dotnet-version: "9.0.x"

- name: Test
run: dotnet test --collect:"XPlat Code Coverage"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AssemblyName>Hellang.Middleware.ProblemDetails.MinimalApiSample</AssemblyName>
<RootNamespace>Hellang.Middleware.ProblemDetails.MinimalApiSample</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="7.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/SpaFallback.Sample/SpaFallback.Sample.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>3.0.0</Version>
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<Version>3.1.0</Version>
<TargetFrameworks>netstandard2.0;net8.0;net9.0</TargetFrameworks>
<AssemblyName>Hellang.Authentication.JwtBearer.Google</AssemblyName>
<RootNamespace>Hellang.Authentication.JwtBearer.Google</RootNamespace>
<Description>JWT Bearer authentication for Google tokens</Description>
Expand All @@ -17,4 +17,10 @@
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.10" />
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="8.1.2" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0" />
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="8.2.0" />
</ItemGroup>

</Project>
11 changes: 8 additions & 3 deletions src/ProblemDetails/ProblemDetails.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>7.0.0</Version>
<TargetFrameworks>net8.0</TargetFrameworks>
<Version>7.1.0</Version>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<AssemblyName>Hellang.Middleware.ProblemDetails</AssemblyName>
<RootNamespace>Hellang.Middleware.ProblemDetails</RootNamespace>
<Description>Error handling middleware, using RFC7807</Description>
Expand All @@ -24,7 +24,12 @@
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="System.Reflection.Metadata" Version="8.0.1" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageReference Include="System.Reflection.Metadata" Version="9.0.0" />
</ItemGroup>

</Project>
9 changes: 7 additions & 2 deletions src/RateLimiting/RateLimiting.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>2.0.0-alpha.1</Version>
<TargetFrameworks>netstandard2.0;net8.0</TargetFrameworks>
<Version>2.1.0-alpha.1</Version>
<TargetFrameworks>netstandard2.0;net8.0;net9.0</TargetFrameworks>
<AssemblyName>Hellang.Middleware.RateLimiting</AssemblyName>
<RootNamespace>Hellang.Middleware.RateLimiting</RootNamespace>
<Description>Rate-limiting middleware using ASP.NET Core's IDistributedCache.</Description>
Expand All @@ -18,4 +18,9 @@
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions src/SpaFallback/SpaFallback.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>3.0.0</Version>
<TargetFrameworks>net8.0</TargetFrameworks>
<Version>3.1.0</Version>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<AssemblyName>Hellang.Middleware.SpaFallback</AssemblyName>
<RootNamespace>Hellang.Middleware.SpaFallback</RootNamespace>
<Description>SPA fallback middleware for client-side routing</Description>
Expand Down
16 changes: 14 additions & 2 deletions test/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<OutputType>Exe</OutputType>
<IsPackable>False</IsPackable>
<LangVersion>9.0</LangVersion>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.10" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="xunit" Version="2.4.1" />
Expand All @@ -20,4 +20,16 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="9.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" />
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
Loading