Tags

#csharp
csharp

65stories
1 d agolatest
.NET 10
Custom sort vs LINQ
CCC# Corner Željko Perić Oct 25

Custom Array Sorting vs LINQ: BenchmarkDotNet Results for 2D and Jagged Arrays

Željko Perić benchmarks his custom multi-column sort extensions for 2D and jagged arrays against the standard LINQ OrderBy/ThenBy pipeline using BenchmarkDotNet. The results show how memory layout and sorting algorithm change speed and allocations on datasets up to one million rows. It is a practical reference for developers who care about GC pressure in data-heavy code.

Temporal predict
Where is the journey going?
MLMostly Lucid (Scott Galloway) Scott Galloway Oct 24

Predicting journey outcomes from timed behaviour in C#

Part 3 of Scott Galloway's series builds a temporal predictor in C#. It tracks a journey's centroid, velocity and acceleration in real time, then forecasts whether it ends in purchase, cancellation or departure within 60 seconds. The engine learns only from actual endpoints and abstains when evidence is thin, which makes it a concrete example for teams building SQLite-backed behavioural or service-health models.

PostSharp 2027.0
Typed aspect advices
PMMetalama / PostSharp Blog Gaël Fraiteur Oct 23

PostSharp 2027.0 advice parameter binding removes boxing and allocations from aspects

PostSharp 2027.0 makes advice parameter binding public: aspect advices receive typed parameters instead of a MethodExecutionArgs object. That removes per-call heap allocations, boxing and casts on hot paths. Bindings are checked at build time, so mismatches fail the build rather than production.

.NET 11
Full outer joins in LINQ

LINQ gets FullJoin in .NET 11 for full outer joins

The new FullJoin method in .NET 11 returns matched pairs plus unmatched rows from both sides as (Outer, Inner) tuples. Join, LeftJoin, RightJoin and GroupJoin also gain overloads without a result selector. The feature is in .NET 11 RC2, so details may still change before the final release.

Kafka .NET
Resume after a crash
CCC# Corner Niharika Gupta Oct 22

Kafka Consumer Recovery: Resuming Processing After a Crash

Kafka consumers must pick up where they left off after a restart, crash or network failure. This article explains how committed offsets, consumer groups and manual commits govern recovery, using a C# example built on Confluent.Kafka. It also covers duplicate deliveries, poison messages and the monitoring signals that reveal a consumer quietly falling behind.

ASP.NET Core 10
Headers are not server cache
DVDEV Community: #aspnetcore Sukhpinder Singh Oct 22

Cache-Control Header Is Not Output Caching: A Handler Counter Test

The author compares a Cache-Control header with ASP.NET Core output caching using a handler counter. The header only instructs clients and proxies, so the handler ran on all ten calls, while output caching stored the response on the server and ran the handler once. It is a concrete warning for anyone who thinks a cache header caches on the server.

C# derleyici
Why jump addresses break
HBHabr C# (ru) Stefanio Oct 22

Why stable instruction addresses beat numeric indexes in a C# compiler

The author of the C# interpreter HydraScript explains why numeric instruction indexes broke code generation and how switching to stable IAddress objects fixed it. Addresses now stay with their instructions when code is inserted, removed or replaced, so jumps keep pointing to the right place. It is a concrete case for developers building compilers or interpreters with the Visitor pattern.

dotnetup preview
Manage SDKs without admin
IQInfoQ .NET Almir Vuk Oct 21

Microsoft Previews dotnetup, a Toolchain Manager for .NET SDKs and Runtimes

Microsoft has released a public preview of dotnetup, a cross-platform tool that installs and updates .NET SDKs and runtimes in the user's own directory without admin rights. It follows channels such as latest, lts and preview, reads global.json, and cleans up unused installs. Commands may still change before general availability.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message