The Wire · Showcase
ASPNETCORE SHIPS SIGNALR AUTH REFRESH, RUNTIME FIXES GC ACCOUNTING BUG
By RepoJournal · Filed · About .NET
SignalR TypeScript clients can now refresh auth tokens automatically, while runtime patches non-monotonic heap allocation reporting under Server GC.
ASP.NET Core merged opt-in TypeScript auth-refresh APIs for SignalR [1], handling token lifecycle parsing, automatic scheduling, and manual refresh from HubConnection while preserving redirect and Azure SignalR behavior. Separately, runtime fixed a critical bug where GC.GetTotalAllocatedBytes() returned non-monotonic values under DATAS (Server GC default in .NET 9+) by summing across all heaps instead of only active ones [2]. The skills team closed two separate eval-gate defects: a statistical scoring bug that flipped verdicts 27% of the time [3], and a measurement artifact where coverage parsing looked for the wrong eval schema [4]. SignalR and runtime changes ship across 40 commits and 1 release this period. Runtime also added System.Text.Json converters for BFloat16 and IEEE 754 decimal types [5], optimized method invocations to use MethodInvoker APIs [6], and implemented cDAC native code info DacDbi APIs for debuggers [7]. A breaking change in configuration handling now treats empty string values from chained providers as present rather than missing [8], shadowing earlier values as expected.
One email a day. Unsubscribe in one click.
Keep up with .NET in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review the Device Bound Session Credentials prototype [ref:3] - experimental, W3C editor's draft, gated behind ASP0030 diagnostic dotnet/aspnetcore [monitor]
- → Merge pending runtime GC and JSON converter changes before next release dotnet/runtime [plan]
- → Update chained configuration tests for breaking change in empty string handling dotnet/runtime [plan]
References
- [1] Add SignalR TypeScript auth refresh ↗ dotnet/aspnetcore
- [2] Fix non-monotonic GC.GetTotalAllocatedBytes under DATAS (Server GC) (#131069) dotnet/runtime
- [3] Fix the underpowered eval gate: score direction, not magnitude ↗ dotnet/skills
- [4] Close the dotnet-test skill-coverage gaps from the PR 945 report ↗ dotnet/skills
- [5] Add System.Text.Json converters for BFloat16 and the IEEE 754 decimal types ↗ dotnet/runtime
- [6] Optimize method invocations in System.Text.Json et al. ↗ dotnet/runtime
- [7] Implement cDAC native code info DacDbi APIs ↗ dotnet/runtime
- [8] Treat empty string value from chained configuration as present ↗ dotnet/runtime
- [9] Device Bound Session Credentials (DBSC) for cookie authentication (prototype) ↗ dotnet/aspnetcore