Home Archive Spans, Blazor workers, and tracing – .NET News Daily Issue #457 (May 18, 2026)

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.

Spans, Blazor workers, and tracing

Built for builders. Not buzzwords. San José 2026

500+ speakers. 18 content tracks. Workshops, masterclasses, and the people actually shipping the tools you use every day. WeAreDevelopers World Congress — September 23–25. Use code GITPUSH26 for 10% off.

Enjoying the newsletter? Your feedback helps us grow and reach more developers.

Share your testimonial →

Today's Articles

Removing byte array allocations using ReadOnlySpan

https://csharpdigest.net/newsletters/2273-removing-byte-array-allocations-using-readonlyspan

no matter which version of .NET you're targeting

Article preview

Using configurable token lifetimes in Microsoft Entra ID, .NET and Microsoft Graph

https://damienbod.com/2026/05/11/using-configurable-token-lifetimes-in-microsoft-entra-id-net-and-microsoft-graph/

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

Article preview

Refactoring an ASP.NET Core API with clean architecture

https://www.roundthecode.com/dotnet-tutorials/refactoring-asp-net-core-api-clean-architecture

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

Article preview

514: Running Local LLMs in VS Code

http://www.mergeconflict.fm/514

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

Article preview

C#: How to Refactor Legacy Code Safely

https://www.pietschsoft.com/post/2026/05/11/csharp-how-to-refactor-legacy-code-safely

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

Article preview

How to Integrate a RESTful SMM Panel API using C# and HttpClient

https://www.c-sharpcorner.com/article/how-to-integrate-a-restful-smm-panel-api-using-c-sharp-and-httpclient/

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

Article preview

Propagating OpenTelemetry context in .NET

https://www.meziantou.net/propagating-opentelemetry-context-in-dotnet.htm?utm_medium=social&utm_source=syndication

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

Article preview

The Misleading IndexOutOfRangeException That Means “Your List Isn’t Thread-Safe”

https://blog.dotnetframework.org/2026/05/11/the-misleading-indexoutofrangeexception-that-means-your-list-isnt-thread-safe/

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

Article preview

Fixing a Blazor App with VS Code's New Agent Browser Sharing

https://visualstudiomagazine.com/articles/2026/05/11/fixing-a-blazor-app-with-vs-codess-new-agent-browser-sharing.aspx

A hands-on Blazor test shows how VS Code 1.119 makes agent browser sharing more visible, permissioned and chat-driven.

Article preview

Running background tasks in Blazor with Web Workers: Exploring the .NET 11 preview - Part 1

https://andrewlock.net/exploring-the-dotnet-11-preview-1-running-background-tasks-in-blazor-with-web-workers/

In this post I discuss the new Web Worker template available in .NET 11 for running CPU intensive tasks without blocking the UI

Article preview

What's new in Microsoft Foundry | April 2026

https://devblogs.microsoft.com/foundry/whats-new-in-microsoft-foundry-apr-2026/

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

Article preview

38 | Entity Framework Core In ASP.NET Core 6 | EF Core 6 | Entity Framework | ASP.NET (Hindi/Urdu) (A7zfiZo5l3)

https://news.google.com/rss/articles/CBMidkFVX3lxTE9ROVFUM3dERXdXRENSTUVmN0N1MUJBX05lTkctajBxZlJMMnY1RWdZcVpjUkw1X2JOdmRBeTQwbDMzOXdBNmlPQzJEbzVUZmZ0Nld1ZDIzOGY2blkwckFpQ05uNjFxUXNkZkpLemhYUVlNVjczcHc?oc=5

38 | Entity Framework Core In ASP.NET Core 6 | EF Core 6 | Entity Framework | ASP.NET (Hindi/Urdu) (A7zfiZo5l3)

Article preview

Why Sagas Feel Broken

https://codeopinion.com/why-sagas-feel-broken/

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

Article preview

Jasen's take on today's picks

Removing byte array allocations using ReadOnlySpan

A useful reminder that span-based APIs can remove allocations without requiring the latest runtime.

Using configurable token lifetimes in Microsoft Entra ID, .NET and Microsoft Graph

Good, concrete identity plumbing if you manage token behavior with Entra ID and Microsoft Graph.

Refactoring an ASP.NET Core API with clean architecture

Clear walkthrough for splitting API concerns into cleaner layers without turning the app inside out.

514: Running Local LLMs in VS Code

Interesting if you're weighing local AI workflows in VS Code against cloud-hosted model access.

C#: How to Refactor Legacy Code Safely

Safe legacy refactoring advice stays timeless: isolate risk, add coverage, then change behavior carefully.

How to Integrate a RESTful SMM Panel API using C# and HttpClient

Very practical HttpClient integration piece, though the domain is niche compared to the underlying REST patterns.

Propagating OpenTelemetry context in .NET

One of the more immediately useful observability reads here; context propagation mistakes are easy to miss.

The Misleading IndexOutOfRangeException That Means “Your List Isn’t Thread-Safe”

A nice cautionary debugging story about concurrency symptoms surfacing as misleading exceptions.

Fixing a Blazor App with VS Code's New Agent Browser Sharing

Shows where VS Code’s agent/browser sharing is becoming more usable for real UI troubleshooting.

Running background tasks in Blazor with Web Workers: Exploring the .NET 11 preview - Part 1

Early preview coverage, but the Blazor Web Worker story is worth tracking for CPU-heavy client apps.

What's new in Microsoft Foundry | April 2026

Mostly platform-update material, but relevant if you follow local model inference and Microsoft’s AI stack.

Why Sagas Feel Broken

Strong architectural pushback on saga assumptions and compensating-action folklore.

Related issues

📬 Get daily .NET content delivered to your inbox