Spans, Blazor workers, and tracing
Coverage includes ReadOnlySpan allocation cuts, Entra token lifetimes, OpenTelemetry propagation, Blazor web workers, local LLM tooling, and saga design.
Jasen's top three picks
- 1 Removing byte array allocations using ReadOnlySpan
csharpdigest.net
A useful reminder that span-based APIs can remove allocations without requiring the latest runtime.
- 2 Using configurable token lifetimes in Microsoft Entra ID, .NET and Microsoft Graph
damienbod.com
Good, concrete identity plumbing if you manage token behavior with Entra ID and Microsoft Graph.
- 3 Refactoring an ASP.NET Core API with clean architecture
roundthecode.com
Clear walkthrough for splitting API concerns into cleaner layers without turning the app inside out.
Editor's note
I kept this issue deliberately mixed, which is usually where the most useful reading shows up. Meziantou’s OpenTelemetry context propagation piece is practical distributed-systems advice, and Andrew Lock’s look at Blazor web workers is an early preview worth watching if UI responsiveness matters. There’s also a solid low-level performance item on replacing byte-array allocations with ReadOnlySpan and a thoughtful critique of why sagas often feel wrong in practice.
Today's articles
Removing byte array allocations using ReadOnlySpan
csharpdigest.net
no matter which version of .NET you're targeting
Topics: C# Performance
Read articleUsing configurable token lifetimes in Microsoft Entra ID, .NET and Microsoft Graph
damienbod.com
Configurable token lifetimes in the Microsoft identity platform went GA and I thought I would look at implementing this using a .NET console application using Microsoft Graph . This article looks at i...
Topics: Authentication Azure
Read articleRefactoring an ASP.NET Core API with clean architecture
roundthecode.com
Learn how to refactor an ASP.NET Core API using clean architecture by separating validation, business logic, and database access into clear layers. The page Refactoring an ASP.NET Core API with clean ...
Topics: ASP.NET Core Clean Architecture
Read article514: Running Local LLMs in VS Code
mergeconflict.fm
In this episode James and Frank dive into running AI coding models locally versus in the cloud—BYOK/Open Router, VS Code’s chat/agent harness, model runners (Olama, vLLM), and the practicality of 27B ...
Topics: OpenAI Visual Studio Code
Read articleC#: How to Refactor Legacy Code Safely
pietschsoft.com
Legacy C# code is usually not dangerous because it is old. It is dangerous because you do not fully know which parts are stable, which parts are accidentally correct, and which parts are one small cha...
Topics: C#
Read articleHow to Integrate a RESTful SMM Panel API using C# and HttpClient
c-sharpcorner.com
Learn how to automate digital marketing operations by integrating a RESTful SMM Panel API using C# and HttpClient. This step-by-step tutorial covers connecting to SMM Bear, a leading Indian SMM panel,...
Read articlePropagating OpenTelemetry context in .NET
meziantou.net
When building distributed systems, maintaining observability across process boundaries is crucial for understanding the flow of requests through your application. OpenTelemetry provides a standard way...
Topics: .NET Core OpenTelemetry
Read articleThe Misleading IndexOutOfRangeException That Means “Your List Isn’t Thread-Safe”
blog.dotnetframework.org
If you’ve ever seen a stack trace like this in a .NET application: …and you stared at the offending line — something innocuous like myList.Where(x => x.IsActive).ToList() — wondering how on earth a LI...
Topics: C#
Read articleFixing a Blazor App with VS Code's New Agent Browser Sharing
visualstudiomagazine.com
A hands-on Blazor test shows how VS Code 1.119 makes agent browser sharing more visible, permissioned and chat-driven.
Topics: Blazor Visual Studio Code
Read articleRunning background tasks in Blazor with Web Workers: Exploring the .NET 11 preview - Part 1
andrewlock.net
In this post I discuss the new Web Worker template available in .NET 11 for running CPU intensive tasks without blocking the UI
Read articleWhat's new in Microsoft Foundry | April 2026
devblogs.microsoft.com
TL;DR Foundry Local (generally available, GA): Local model inference is production-ready on Windows, macOS on Apple Silicon, and Linux x64. GPT-5.5: The latest GPT-5 family model is available in Micro...
Read article38 | Entity Framework Core In ASP.NET Core 6 | EF Core 6 | Entity Framework | ASP.NET (Hindi/Urdu) (A7zfiZo5l3)
news.google.com
38 | Entity Framework Core In ASP.NET Core 6 | EF Core 6 | Entity Framework | ASP.NET (Hindi/Urdu) (A7zfiZo5l3)
Topics: ASP.NET Core EF Core
Read articleWhy Sagas Feel Broken
codeopinion.com
So, you built an elaborate system with commands, queues, an event-driven architecture, retries, timeouts, and, most importantly, compensating actions all handled within sagas. But do you really? Becau...
Topics: Domain-Driven Design Event Sourcing
Read article