-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrade 3 ASP.NET Core AdvancedSearch samples to net8.0 #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
b8672c7
27f1719
bf28fd0
afb19e3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk.Web"> | ||
| <PropertyGroup> | ||
| <TargetFramework>net6.0</TargetFramework> | ||
| <TargetFramework>net8.0</TargetFramework> | ||
| <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked> | ||
| <TypeScriptToolsVersion>Latest</TypeScriptToolsVersion> | ||
| <IsPackable>false</IsPackable> | ||
|
|
@@ -10,11 +10,11 @@ | |
| <TypeScriptCompileBlocked>true</TypeScriptCompileBlocked> | ||
| </PropertyGroup> | ||
| <ItemGroup> | ||
| <PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="6.0.1" /> | ||
| <PackageReference Include="Microsoft.Data.SqlClient" Version="2.1.7" /> | ||
| <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.1" /> | ||
| <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.1" /> | ||
| <PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="6.34.0" /> | ||
| <PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="8.0.8" /> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚩 React remains on the legacy SpaServices development-server path The React project was retargeted to net8.0 but still references Microsoft.AspNetCore.SpaServices.Extensions and Startup.cs continues to call UseSpa/UseReactDevelopmentServer ( Was this helpful? React with 👍 or 👎 to provide feedback. Debug |
||
| <PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.0" /> | ||
| <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.8" /> | ||
| <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.8" /> | ||
| <PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="6.35.0" /> | ||
| <PackageReference Include="System.Data.SqlClient" Version="4.8.6" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
|
|
@@ -34,10 +34,18 @@ | |
| <PackageReference Include="Korzh.EasyQuery.SqLiteGate" Version="7.4.0" /> | ||
| <PackageReference Include="Korzh.EasyQuery.DataExport" Version="7.4.0" /> | ||
| <PackageReference Include="System.Drawing.Common" Version="4.7.2" /> | ||
| <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.34.0" /> | ||
| <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.35.0" /> | ||
| <PackageReference Include="System.Net.Http" Version="4.3.4" /> | ||
| <PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <!-- Transitive dependency pins to address Snyk-reported vulnerabilities pulled in via Microsoft.Data.SqlClient / EF Core 8 --> | ||
| <PackageReference Include="Azure.Identity" Version="1.11.4" /> | ||
| <PackageReference Include="Microsoft.Identity.Client" Version="4.61.3" /> | ||
| <PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="8.0.8" /> | ||
| <PackageReference Include="System.Runtime.Caching" Version="8.0.1" /> | ||
| <PackageReference Include="System.Text.Json" Version="8.0.5" /> | ||
| </ItemGroup> | ||
| <ItemGroup> | ||
| <!-- Don't publish the SPA source files, but do show them in the project files list --> | ||
| <Content Remove="$(SpaRoot)**" /> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚩 Transitive pins only affect Snyk if the project is restored/resolved
The added direct references to Azure.Identity, Microsoft.Identity.Client, Microsoft.Extensions.Caching.Memory, System.Runtime.Caching/System.Formats.Asn1, and System.Text.Json are intended to override transitive versions for vulnerability scanning. Since this PR also removed previously-added NuGet lock files in the branch history, SCM-only scanners that do not perform a NuGet restore may still not observe the resolved transitive graph; this depends on the scanner configuration rather than the project code itself, so I did not flag it as a code bug.
Was this helpful? React with 👍 or 👎 to provide feedback.
Debug
Playground