Skip to content

fix: use KnownNetworks for preview SDK compat#356

Merged
alanw707 merged 1 commit into
mainfrom
fix/known-networks-preview-compat
Apr 10, 2026
Merged

fix: use KnownNetworks for preview SDK compat#356
alanw707 merged 1 commit into
mainfrom
fix/known-networks-preview-compat

Conversation

@alanw707
Copy link
Copy Markdown
Owner

Summary

  • KnownIPNetworks was renamed from KnownNetworks in .NET 10 GA, but the 10.0-preview Docker image only has the old name
  • Reverted to KnownNetworks with #pragma warning disable ASPDEPR005 to suppress the obsolete warning in GA
  • Compiles clean on both preview SDK (Docker) and GA SDK (local)

Test plan

  • CI deploy pipeline builds Docker image successfully
  • Application starts and forwarded headers work correctly

🤖 Generated with Claude Code

KnownIPNetworks was renamed from KnownNetworks in .NET 10 GA but the
preview SDK (10.0.100-preview.7) in our Docker image only has the old
name. Use KnownNetworks with a pragma suppress until Docker images
ship the GA SDK.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alanw707 alanw707 merged commit fde616e into main Apr 10, 2026
@alanw707 alanw707 deleted the fix/known-networks-preview-compat branch April 10, 2026 11:46
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.

1 participant