This repository was archived by the owner on Feb 6, 2026. It is now read-only.
generated from pmdevers/nuget-package-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Updates target framework to .NET 10 #84
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
818f6bc
Updates target framework to .NET 10
d4e5ee4
Update Comments
pmdevers 31873c6
Fix Nitpick
pmdevers d4581f0
Dotnet 10 pipeline
pmdevers 316157a
Test Server Fix
ee56dcd
Serialization Issue
27a63c7
Test
77f044a
Fix Test
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| <!-- For more info on central package management go to https://devblogs.microsoft.com/nuget/introducing-central-package-management/ --> | ||
| <Project> | ||
| <PropertyGroup> | ||
| <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | ||
| </PropertyGroup> | ||
| <ItemGroup> | ||
| <!-- Core packages - Updated to latest secure versions --> | ||
| <PackageVersion Include="KubernetesClient" Version="18.0.13" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Hosting" Version="10.0.1" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="10.0.1" /> | ||
| <!-- Test packages --> | ||
| <PackageVersion Include="AwesomeAssertions" Version="9.3.0" /> | ||
| <PackageVersion Include="NSubstitute" Version="5.3.0" /> | ||
| <PackageVersion Include="coverlet.collector" Version="6.0.4" /> | ||
| <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" /> | ||
| <PackageVersion Include="xunit" Version="2.9.3" /> | ||
| <PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" /> | ||
| <!-- Test project specific - Update to .NET 10 compatible versions --> | ||
| <PackageVersion Include="Microsoft.AspNetCore" Version="2.2.0" /> | ||
| <PackageVersion Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.2.0" /> | ||
| <PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="10.0.1" /> | ||
| <PackageVersion Include="System.Linq.Async" Version="7.0.0" /> | ||
| <PackageVersion Include="System.Reactive" Version="6.1.0" /> | ||
| <!-- Development tools --> | ||
| <PackageVersion Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" /> | ||
| </ItemGroup> | ||
| </Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "sdk": { | ||
| "version": "8.0.100", | ||
| "version": "10.0.100", | ||
| "rollForward": "latestFeature" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Events silently dropped when item type is unexpected or deserialization fails.
If
itemis neitherJsonElementnorT, or ifJsonElementdeserialization returnsnull, the event is silently dropped with no logging. This could mask data issues or unexpected API responses.Consider adding a log statement or warning for unhandled cases.
Suggested improvement
if (item is JsonElement je) { var i = je.Deserialize<T>(); if (i is not null) { OnEvent(type, i); continue; } + Logger.LogWarning("Failed to deserialize JsonElement to {Type}", typeof(T).Name); } else if (item is T resource) { OnEvent(type, resource); continue; } + else + { + Logger.LogWarning("Unexpected item type received: {Type}", item?.GetType().Name ?? "null"); + }📝 Committable suggestion
🤖 Prompt for AI Agents