Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@waldekmastykarz
Copy link
Collaborator

Upgrades Dev Proxy to .NET 10. Closes #1445

@waldekmastykarz waldekmastykarz requested a review from a team as a code owner November 16, 2025 16:04
Copilot AI review requested due to automatic review settings November 16, 2025 16:04
Copilot finished reviewing on behalf of waldekmastykarz November 16, 2025 16:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades Dev Proxy from .NET 9.0 to .NET 10.0, updating all project files, build scripts, and package lock files accordingly. Additionally, it implements logging performance optimizations using IsEnabled checks and adopts C# field keyword feature in the DevProxyCommand class.

Key changes:

  • Updated target framework from net9.0 to net10.0 across all projects
  • Added Logger.IsEnabled(LogLevel) checks before logging calls throughout the codebase
  • Adopted C# field keyword in DevProxyCommand property accessor
  • Removed redundant package dependencies that are now implicitly included in .NET 10

Reviewed Changes

Copilot reviewed 43 out of 43 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
DevProxy/DevProxy.csproj Updated TargetFramework to net10.0, removed explicit Microsoft.Extensions.* package references
DevProxy.Plugins/DevProxy.Plugins.csproj Updated TargetFramework to net10.0
DevProxy.Abstractions/DevProxy.Abstractions.csproj Updated TargetFramework to net10.0
scripts/local-build.ps1 Updated build output path from net9.0 to net10.0
.vscode/launch.json Updated debug paths from net9.0 to net10.0
.github/workflows/create-release.yml Updated release paths from net9.0 to net10.0
DevProxy/Commands/DevProxyCommand.cs Replaced backing field with C# field keyword in property getter
DevProxy/Proxy/ProxyEngine.cs Added IsEnabled check before debug logging
Multiple plugin files Added IsEnabled checks before logging calls for performance
DevProxy.Plugins/Generation/HarGeneratorPlugin.cs Removed null-forgiving operator from key variable
DevProxy.Abstractions/Models/MockResponse.cs Added ArgumentNullException.ThrowIfNull check for logger parameter
.editorconfig Added CA1873 diagnostic suppression
packages.lock.json files Updated dependency tree for .NET 10.0 compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade Dev Proxy to .NET 10

1 participant