Tags

#performance
performance

79stories
1 d agolatest
VS 2026 v18.11
Stop builds on first error
KCKunal Chowdhury [email protected] (Kunal Chowdhury) 6 d ago

Visual Studio 2026 v18.11 adds fail-fast builds and agentic debugging

Visual Studio 2026 v18.11 and its 18.11.1 servicing update add an opt-in setting that stops a solution build as soon as one project fails. Copilot Chat, the Debugger Agent and the Profiler Agent also received major changes. These updates touch everyday .NET 10 and C# 14 work, from compile loops to profiling and Git.

C# performans
When optimization pays off
PGDaniel Marbach (planetgeek) Daniel Marbach 6 d ago

When low-level .NET performance optimization is worth the complexity

Daniel Marbach draws on his pull requests to the Azure .NET SDK to explain when low-level performance work pays off. He argues that in library code, small allocation decisions multiply across every caller, yet added complexity carries a maintenance cost. The post offers a practical decision framework for library authors and application developers alike.

.NET 8 migration
Enrollment service moved
APApps on Azure Blog RamyaSharma 6 d ago

How the Intune team moved a .NET Framework service to .NET 8 with Copilot

The Microsoft Intune team used the GitHub Copilot modernization agent to move an enrollment service from .NET Framework 4.7.2 to .NET 8 while hosting it on AKS. The author reports cutting one library's migration from about six weeks to one and a half. The most useful part is the working method: an editable migration plan and progress file kept in the repository, and a clear account of where the agent failed on internal libraries.

HybridCache
Pick the right cache
ADAnton DevTips Anton Martyniuk 6 d ago

All Types of Caching in .NET: When to Use Each (Part 1)

Anton Martyniuk's new deep dive maps the caching options in .NET, from IMemoryCache and IDistributedCache with Redis to HybridCache, and explains when each one fits. It stresses that caching should come after fixing slow queries, and shows how a per-process cache can serve stale data once an API runs on several instances. Worth reading before you choose a cache for a scaled ASP.NET Core app.

ASP.NET Core
Body can't be read twice
DVDEV Community: #aspnetcore Sukhpinder Singh 6 d ago

Reading the request body in middleware leaves handlers with an empty body

Reading the request body in logging middleware can leave the endpoint handler and model binding with an empty body. The author reproduces the problem with a 61-byte JSON POST and shows how EnableBuffering plus a position reset fixes it. A pitfall every ASP.NET Core developer who logs payloads should know.

ASP.NET Core
Shed load under pressure
ISIrina Scurtu Irina Dominte(Scurtu) 6 d ago

Load Shedding: Dropping Requests to Save Your System

The author explains how traffic spikes and client retries can tip a service over, and why rate limiters and circuit breakers do not fully solve it. Load shedding, which drops requests based on current system health, is presented as the missing piece. The article walks through ASP.NET Core and Kestrel ideas for shedding early and by endpoint priority, useful for anyone running public APIs.

Azure SQL
Delete data in batches

Deleting 18 Million Rows in Azure SQL Without Downtime

Mitchel Sellers describes how he purged over 18 million historical rows from an S1-tier Azure SQL database by deleting small, committed batches instead of one large statement. The article covers batch sizing, clustered-key range selection, supporting indexes and production monitoring. It is a practical guide for any .NET developer planning a large data cleanup on a shared database.

Marten 8
Read your own writes

Read your own writes with Marten: ProjectLatest and Wolverine's UpdatedAggregate

Jeremy D. Miller explains how to read your own writes in event-sourced systems that use async projections in Marten. Switching from FetchLatest to ProjectLatest removes an extra database round trip by reusing pending events in the session. Wolverine's UpdatedAggregate type then lets HTTP endpoints and message handlers return the current aggregate with less code.

Relevance framework
In-process recommendations
MLMostly Lucid (Scott Galloway) Scott Galloway Oct 26

Mostlylucid.Relevance: SQLite-backed recommendations for .NET apps

Part 5 of Scott Galloway's series packages the recommendation and intervention ideas from earlier parts into Mostlylucid.Relevance, a framework that runs inside the application process and keeps its state in SQLite. It can serve several isolated domains at once, and an optional native package adds an HNSW vector index. The package also ships an AGENTS.md guide describing extension points and invariants for developers and their coding assistants.

Feedback

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

Type of message