Saturday, November 14, 2026 stories of the day

Stories

19 stories
ASP.NET Core
Stop queries on disconnect
CCC# Corner Sophia Morales Nov 13

Stopping EF Core queries when the client disconnects in ASP.NET Core

When a client closes the tab, ASP.NET Core ends the request but a query already running keeps holding database connections, CPU and pool capacity. The article shows how to carry the cancellation token from the controller through services and repositories into EF Core async calls, and how to keep cancellation out of the error logs.

C#
C#
NBNDepend Blog NDepend Nov 13

C# 15 Labeled Break Continue

With C# 15 and .NET 11, a break or continue statement can name the loop it targets, ending the long reliance on flags and goto for escaping nested loops. The post covers the syntax, the compiler errors and the tooling that migrates old patterns.

Feedback

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

Type of message