Steve Gordon 10/8/2024

Implementing ASP.NET Core Automatic Span (Activity) Linking for Internal Redirects with Middleware on .NET 9

Read Original

This technical article details a method to enhance OpenTelemetry tracing in ASP.NET Core applications by automatically linking spans (activities) across internal HTTP redirects. It focuses on a .NET 9-specific API, using middleware and TempData to propagate trace context, aiding in visualizing request causality in scenarios like OAuth flows.

Implementing ASP.NET Core Automatic Span (Activity) Linking for Internal Redirects with Middleware on .NET 9

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week