Sources

DL Nick Cosentino (Dev Leader)
Blog

8stories
2 d agolatest
C# 14
Events and subscriptions

Events and Delegates in C#: Contracts, Subscriptions and Notification

This article explains the difference between delegates and events in C#, the subscription boundary an event creates, and how multicast invocation behaves when a handler throws. It also covers what notification does not guarantee: completion of every subscriber, async handling and subscription lifetime. Read it to design event-based notifications with clearer contracts.

Claude Code
Reusable review workflow

A reusable Claude Code skill for reviewing ASP.NET Core endpoint changes

Nick Cosentino explains how to package a recurring .NET review job as a project-scoped Claude Code skill. The example reviews endpoint changes across validation, authorization, response mapping and persistence, and the article stresses clear limits on what the agent may run. It is a practical starting point for teams that want repeatable AI-assisted reviews of ASP.NET Core code.

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.

xUnit · Claude Code
Do generated tests prove it?

How to Review Claude-Generated .NET Tests for Real Regression Coverage

Claude-generated .NET tests can look complete and still miss the regression they are meant to catch. The author walks through tracing assertions back to their inputs, checking mock boundaries, and verifying that a test fails for the intended reason. It is a practical review checklist for anyone accepting agent-written tests into a C# codebase.

MongoDB driver 3.12
Who owns shutdown

MongoClient in ASP.NET Core: lifetime and shutdown ownership

The article explains how to register MongoClient as a singleton in ASP.NET Core and how request-scoped services should borrow it. It shows that disposing the client through the container does not close the driver's cluster, and that the selected driver version changes the answer. It is a useful reference for teams running MongoDB in web apps.

Claude Code
C# in Claude Code

C# Code Intelligence in Claude Code: Setup and Limits

Nick Cosentino explains how to set up C# code intelligence in Claude Code through the csharp-lsp plugin and where that setup stops being reliable. The article separates the language server, the plugin and the workspace as three layers to verify, and it clarifies what diagnostics and symbol navigation can and cannot prove. It is a practical checklist for .NET developers using Claude Code on C# repositories.

Feedback

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

Type of message