Tags

#tooling
tooling

75stories
1 d agolatest
C# 14
Silent shadowing
DVDEV Community: #csharp Adrián Bailador 1 d ago

C# 14 extension members: the shadowing bug the compiler won't warn you about

C# 14's extension member syntax now covers properties and static members, not just methods, yet a type's own member still silently wins over an identically named extension member. The author reproduces this against the .NET 10 SDK with eight tests: the build reports zero warnings and zero errors while every call site quietly switches to new logic.

AI
AI

LLM tokens measured in C#: why AI can't count the R's in strawberry

The model's failure on the "strawberry" question isn't a counting problem: it never sees letters, only numeric pieces called tokens. Using Microsoft.ML.Tokenizers 2.0.1 and the gpt-5 tokenizer, the author measures this from C# and shows that the word alone is a single token with ID 101830, so the r's inside it stay out of reach. The piece also covers how token cost varies by language, by numbers, and by random text such as GUIDs, plus how to count tokens in .NET.

GitHub Actions
No cloud CI on PRs
MJMilan Jovanović [email protected] (Milan Jovanović) 2 d ago

Turning off PR CI: local gate with gh-signoff and a required status

Milan Jovanović describes turning off cloud CI for pull requests, running the build and tests locally, and posting a signoff commit status with the gh-signoff GitHub CLI extension. A git pre-push hook runs the gate, a GitHub ruleset requires the status before merging, and one cloud run stays on merges to main. It is a practical option for .NET teams that want to cut Actions costs and waiting time.

Avalonia 12
Markdown notes, no WebView
HBHabr C# (ru) OlegChe77 3 d ago

Markdown notes app on Avalonia without WebView: lessons from a C# project

A Russian developer built Leaflet, a Windows Markdown notes app in C# on Avalonia 12 with AvaloniaEdit, without WebView or Electron. Notes stay as plain .md files with wiki-style links and backlinks, and the app starts in under a second. The write-up covers live preview, browser-free PDF export and the rough edges of window decorations, caret placement and file-conflict safety.

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.

Codebase cleanup
Hunt dead code with agents

Using AI agents to clean up dead code, stale packages and feature flags

A NimblePros Halloween post walks through removing the accumulated cruft of long-lived .NET codebases: unused private members, unreferenced public types, unused or vulnerable NuGet packages and stale feature flags. The method pairs compiler analyzers and dotnet CLI checks with an AI agent that investigates edge cases, guided by a reusable skill file. It is a practical playbook for teams who never find time to clean up.

Feedback

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

Type of message