.NET 10 is dropping today, with a bunch of new APIs! 🚀
Here are some highlights:
🎯 Server-Sent Events
🔄 Full Async LINQ
🔐 Post-Quantum Crypto
⚡ PipeReader JSON
🎪 Typed GCHandles
📊 Shuffle & Sequence
...and more!
Thread 🧵👇
2
10
38
5,731
.NET 10 adds native Server-Sent Events (SSE) support! 🎉
No more manual SSE parsing or third-party libraries. Built-in, performant, standards-compliant.
1
1
5
506
.NET 10 brings complete LINQ support for IAsyncEnumerable! 🚀
Every LINQ operator: Select, Where, Join, GroupBy, Aggregate, OrderBy, and more. Full async/await support throughout.
1
4
419
.NET 10 finally adds LeftJoin() and RightJoin() to LINQ!
No more SelectMany + DefaultIfEmpty gymnastics. Clean, readable SQL-style joins.
1
5
409
.NET 10 adds Shuffle() and Sequence() to LINQ!
Shuffle returns a randomized sequence. Sequence generates numeric ranges with custom steps - including infinite sequences! Perfect for testing and data generation.
1
2
379
.NET 10 adds PipeReader support to JsonSerializer - high-performance streaming!
Zero buffer copies. Perfect for gRPC, SignalR, and high-throughput APIs.
1
1
3
387
.NET 10 introduces typed GCHandle<T> - type-safe pinning!
Type-safe, disposable, and easier to use. Also: WeakGCHandle<T> for weak references.
Nov 11, 2025 · 11:07 AM UTC
1
2
352
.NET 10 lets you use custom comparers with Span operations!
Case-insensitive searches, custom equality - all with zero-allocation Span performance. Works for Contains, IndexOf, StartsWith, EndsWith, Replace, and more.
2
343
.NET 10 adds Random.GetString() for generating random strings!
Perfect for generating codes, IDs, passwords, and test data.
1
1
5
318
.NET 10 introduces ReadOnlySet<T> - immutable set wrapper!
Complete the ReadOnlyCollection family. Full set operations like IsSubsetOf, Overlaps, etc. Works with collection expressions!
1
2
310
.NET 10 extends collection expressions to more types!
Consistent syntax across all collection types.
1
3
289
.NET 10 adds CountAny() and ReplaceAny() for Span!
High-performance bulk operations. Great for sanitization and validation.
1
284
.NET 10 adds hex string conversion for UTF-8!
Zero allocations when using stackalloc. Perfect for high-performance scenarios.
1
1
271
.NET 10 adds EventHandler<in TSender, in TEventArgs> with contravariance!
More flexible event handling and subscription.
1
262
.NET 10 adds experimental post-quantum crypto APIs! 🔐
Quantum-resistant cryptography based on NIST standards. Experimental but production-ready implementations.
1
3
285
.NET 10 adds BigMul for 128-bit integers - get both high and low parts!
No overflow - capture the full result of massive multiplications!
1
253
.NET 10 provides InlineArray2 through InlineArray16 helpers!
Stack-allocated fixed-size arrays for any type. Great for high-performance scenarios without heap allocations.
1
246
.NET 10 extends ISOWeek (which holds a special place in my 🥰) to work with DateOnly!
No more DateOnly→DateTime conversions. Direct ISO week calculations.
1
1
246
.NET 10 adds NamedWaitHandleOptions for better cross-process synchronization!
Better security isolation for named synchronization primitives. Prevents cross-user/session conflicts.
1
240
.NET 10 adds GetOrAdd overloads to ConditionalWeakTable!
Thread-safe, atomic. Just like ConcurrentDictionary!
1
231
.NET 10 adds NumericOrdering to CompareOptions - natural sort!
Sorts "file2" before "file10" like humans expect!
1
1
232
.NET 10 adds Clear() and Text to DefaultInterpolatedStringHandler!
Build interpolated strings incrementally. Zero allocations when using the span!
2
373
.NET 10 adds experimental AsyncHelpers for blocking on async code (when you must)!
⚠️ Use sparingly - only when you truly can't use async/await. Better than .Result or .Wait() though!
2
241
.NET 10 adds AES Key Wrap with Padding (RFC 5649)!
Before: RFC 3394 required key length to be multiple of 64 bits. Now: wrap any size key! Essential for modern key management.
1
230
.NET 10 adds custom unhandled exception handlers!
Better control over catastrophic failures. Hook into exception handling without app domain events.
1
2
417
That's a wrap on .NET 10's API highlights! 🎉
Want deeper performance insights? Check out Stephen Toub's epic deep-dive:
devblogs.microsoft.com/dotne…
What feature are you most excited about? Drop a comment! 👇
1
377

























