Conversation
- Update ServicePulse, ServicePulse.Tests, and Particular.PlatformSample.ServicePulse to net10.0 - Update Dockerfile to use .NET 10 SDK and runtime images - Update global.json to SDK 10.0.100 - Fix breaking changes: - IPNetwork: use System.Net.IPNetwork instead of Microsoft.AspNetCore.HttpOverrides.IPNetwork - ForwardedHeadersOptions: use KnownIPNetworks instead of KnownNetworks - IPNetwork.BaseAddress instead of IPNetwork.Prefix - X509CertificateLoader instead of X509Certificate2 constructor - Fix IDE0018 code style warning in ServicePulse.Host
|
I believe this effort is being completed as part of #2786 |
|
I am also unsure why we need to keep the single project on |
|
@mikeminutillo please review/approve or close if covered by #2786 |
|
Or maybe the alternative is to just remove this host entirely once #2786 is merged 😉 |
ServicePulse.Host is the Windows-only self-hosted version that uses OWIN/Katana for hosting. Upgrading it from net48 would require investigating whether those OWIN dependencies have .NET 10+ equivalents, potentially rearchitecting the hosting approach, and additional testing for Windows Service scenarios. That felt like yak shaving territory for this PR - the goal here was to fix the Docker MVID mismatch issue by way of an upgrade to .NET 10. Keeping focused on smaller steps means we can get this fix merged and working, then tackle the ServicePulse.Host modernization as a separate, deliberate effort if/when needed. See also #2159. |
@jasontaylordev Every change represented here is also in #2786 |
Summary
Upgrades ServicePulse to .NET 10.
Changes
Target Framework Updates
ServicePulse→ net10.0ServicePulse.Tests→ net10.0Particular.PlatformSample.ServicePulse→ net10.0Dockerfile
mcr.microsoft.com/dotnet/sdk:10.0mcr.microsoft.com/dotnet/aspnet:10.0-noble-chiseled-compositeBreaking Changes Fixed
Microsoft.AspNetCore.HttpOverrides.IPNetworkSystem.Net.IPNetworkKnownNetworksKnownIPNetworksIPNetwork.PrefixIPNetwork.BaseAddressnew X509Certificate2(path)X509CertificateLoader.LoadCertificateFromFile(path)Other
Testing
Notes