Wednesday, October 28, 2026 stories of the day

Stories

26 stories
MCP + C#
Single-use approval
DVDEV Community: #csharp Martin Pisacreta 5 d ago

A C# MCP Server with Single-Use Order Approvals

Martin Pisacreta built a small .NET 8 MCP server where the order cancellation tool requires a separately recorded, single-use, expiring approval instead of trusting the model's confirmation. The article walks through the claim-before-use approval store, the tool contract and the limits of the design, backed by 12 passing tests.

Stripe webhooks
Stop double payments
DVDEV Community: #csharp Martin Pisacreta 5 d ago

Making Stripe webhooks idempotent in ASP.NET Core

The author explains an inbox pattern that stops a Stripe webhook from applying a payment twice when deliveries repeat or overlap. The sample verifies the raw body, claims events with a unique-key insert, and commits the claim together with the local payment change. Its 38-test suite exercises duplicates, rollback and retries, making it a concrete reference for payment flows in ASP.NET Core.

VS 2026 v18.11
Stop builds on first error
KCKunal Chowdhury [email protected] (Kunal Chowdhury) 5 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.

AWS Transform
Migrate from Copilot chat
AWAWS .NET on AWS Blog Ramkumar Ramanujam 6 d ago

Running AWS Transform from GitHub Copilot through MCP

AWS has documented how to connect its AWS Transform MCP server to GitHub Copilot agent mode, so migrations can be driven from the chat box in Visual Studio or VS Code. The walkthrough ports an Azure Functions .NET app to AWS Lambda using the Lambda Annotations Framework. It is worth a read if your team is weighing an Azure-to-AWS move or wants a repeatable agent-driven migration workflow.

EF Core Migrations
Keep migrations out of startup
MLMostly Lucid (Scott Galloway) Scott Galloway 6 d ago

EF Core Migrations: Why Bundles Beat Startup MigrateAsync()

This guide explains why running MigrateAsync() at application startup couples deployments to schema changes and grants the app more database permissions than it needs. It walks through EF migration bundles as a controlled CI deployment step, with GitHub Actions and local examples. It also covers when runtime migrations are acceptable and the practical limits of bundles, such as the lack of a dry run.

Bobcat 1.0
Specs from your tests

Bobcat 1.0 is out: readable C# specifications projected from your tests

JasperFx has released Bobcat 1.0, an MIT-licensed tool that projects human-readable specifications from the test frameworks you already use, including xUnit.net, TUnit, MSTest and NUnit. No Gherkin or wiki files are needed, only C# or F#. It also brings Supervisor for more reliable integration suites and telemetry output aimed at AI agents debugging failing tests.

ASP.NET Core 10
Stop double charges
DVDEV Community: #aspnetcore Zohaib Ahmad 6 d ago

Designing out double charges and overselling in an ASP.NET Core POS

A write-up on Tilly POS, a multi-branch point-of-sale built with ASP.NET Core 10, EF Core and SQL Server, explains how three costly failures were designed out: double charges, half-written sales and overselling. The fixes are practical: idempotency keys backed by a unique index, one transaction per sale, and a single conditional UPDATE for stock. Useful for any .NET service that moves money or inventory.

Claude Code
Limits for agent commands

Configuring Claude Code Permissions for .NET Development

How should you configure Claude Code permissions so a coding agent can build and test a .NET project without gaining database or publish authority? This guide explains the documented rule order, settings scopes, wildcard risks, and boundaries for migrations and deployments. It is worth reading before you run agents unattended on .NET repositories.

Visual Studio 2026
Compare commits, fix conflicts
VSVisual Studio Blog Mark Downie 6 d ago

Visual Studio October update: compare commits to your working tree and bulk-resolve conflicts

The October Visual Studio 2026 update lets you compare an earlier commit with your current working tree, including unsaved edits in progress, and resolve merge conflicts across many files at once. It also adds a new Copilot Chat experience, Hot Exit, and keyboard tab reordering. These changes speed up everyday Git work.

Blazor · .NET 11
Free Blazor components
NB.NET Blog Daniel Roth 6 d ago

Infragistics Joins Blazor With Free Open-Source Components

Infragistics has made more than 50 of its Blazor controls free and open source under the MIT license, and its engineers are contributing directly to the framework. New .NET 11 analyzers from the collaboration are merged into ASP.NET Core, so every Blazor developer gets the tooling benefits, whether or not they use its components.

Cosmos DB Shell
Inspect data from terminal
CDAzure Cosmos DB Blog Jay Gordon 6 d ago

Inspecting Local Data with Azure Cosmos DB Shell

Azure Cosmos DB Shell lets you browse databases, containers and items from the terminal. This walkthrough pairs the shell with the local Azure Cosmos DB Linux Emulator and the FleetCharge sample data to show connecting, navigating, querying and point reads. It is a practical way to check what your application actually stored during development, without opening the portal or adding diagnostic code.

AI in ASP.NET Core
Build a knowledge assistant
DVDEV Community: #dotnet AI Engineering Foundry 6 d ago

Building an AI Knowledge Assistant with ASP.NET Core

This tutorial shows how to grow a single LLM call into a production-ready AI feature on ASP.NET Core. It covers authentication, retrieval-augmented generation, security and failure handling. It is a practical roadmap for .NET developers who want the model to stay a replaceable dependency inside their application.

CritterWatch 1.1
Monitor Critter Stack
JXJasperFx (Critter Stack) Blog Jeremy Miller 6 d ago

CritterWatch 1.1, Bobcat 1.0 and AI Skills 1.17 ship; Stoat preview arrives

JasperFx shipped a coordinated Critter Stack release wave: CritterWatch 1.1, Bobcat 1.0, AI Skills 1.17 and a Stoat 0.5.0 preview. CritterWatch's MCP server now exposes 83 tools, and Bobcat 1.0 turns existing test methods into executable specifications. Worth a look if you run Wolverine or Marten in production or write integration tests on the .NET stack.

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 10
Directory data isn't yours
HBHabr C# (ru) Nurlan-Turkpenbay 6 d ago

DDD in an LDAP web console: what worked, what was cut, and why tests guard layers

Axia is an open-source .NET 10 web console and REST API for Active Directory and OpenLDAP. Its author explains why half of the initial DDD design was dropped after several security reviews. The article covers what paid off, including value objects, ports and adapters, and architecture tests, and what was replaced, such as domain-event auditing.

.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.

PostSharp 2027.0
Aspects get DI services
PMMetalama / PostSharp Blog Gaël Fraiteur 6 d ago

PostSharp 2027.0 lets aspects receive services through constructor injection

PostSharp 2027.0 lets aspects request services from the dependency injection container. The build adds those services as constructor parameters of the enhanced class, so aspects no longer need a global service locator. Legacy code can migrate gradually, and PostSharp Caching can take its backend from the container too.

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.

PostgreSQL VS Code
Query your database in-editor
MDMicrosoft for Developers Blog Cynthia Zanoni Oct 26

PostgreSQL extension for VS Code: explore, query and troubleshoot

Microsoft's PostgreSQL extension brings connecting, browsing schemas, writing and running SQL, and asking GitHub Copilot about the connected database into VS Code. The post walks through four workflows, from exploring a first table to reviewing a performance recommendation. It is a practical guide for .NET developers who work against PostgreSQL and want to stay in their editor.

Feedback

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

Type of message