---
title: "Discussion on \"Ambient State in .NET 11 Async Code\" | Hashnode"
description: "Discussion on \"Ambient State in .NET 11 Async Code\". An asynchronous method can look almost empty and still carry a surprising amount of state."
url: "https://hashnode.com/posts/ambient-state-in-net-11-async-code/6af8ab2d576765a570c65186"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Ambient State in .NET 11 Async Code](https://dotnetdigest.com/ambient-state-in-net-11-async-code?utm_source=hashnode&utm_medium=feed)

An asynchronous method can look almost empty and still carry a surprising amount of state.

6h ago · 8 min read · dotnetdigest.com  
Read the article

-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#microsoft](https://hashnode.com/tag/microsoft)
-   [#dotnet-11](https://hashnode.com/tag/dotnet-11)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)

## Written by

[Patrick Kearns](https://hashnode.com/@fullstackcity)

@fullstackcity · Dublin

  
[View profile](https://hashnode.com/@fullstackcity)

Senior .Net Engineer

Senior Software Engineer specialising in cloud architecture, distributed systems, and modern .NET development, with over two decades of experience designing and delivering enterprise platforms in financial, insurance, and high-scale commercial environments. My focus is on building systems that are reliable, scalable, and maintainable over the long term. I’ve led modernisation initiatives moving legacy platforms to cloud-native Azure architectures, designed high-throughput streaming solutions to eliminate performance bottlenecks, and implemented secure microservices environments using container-based deployment models and event-driven integration patterns. From an architecture perspective, I have strong practical experience applying approaches such as Vertical Slice Architecture, Domain-Driven Design, Clean Architecture, and Hexagonal Architecture. I’m particularly interested in modular system design that balances delivery speed with long-term sustainability, and I enjoy solving complex problems involving distributed workflows, performance optimisation, and system reliability. I enjoy mentoring engineers, contributing to architectural decisions, and helping teams simplify complex systems into clear, maintainable designs. I’m always open to connecting with other engineers, architects, and technology leaders working on modern cloud and distributed system challenges.

## Responses 1

Markdown supported · ⌘↵ to post

[OneLifeVibe](https://hashnode.com/@onelifevibe)

[5h ago](https://hashnode.com/posts/ambient-state-in-net-11-async-code/6af8ab2d576765a570c65186/comment/6af8b5838547acf1fca4e949)

The distinction between where a continuation runs and which ambient state travels with it is the part that sticks. The reminder that a logging scope or a tracing activity can introduce AsyncLocal state through a dependency is especially useful, since searching a codebase for new AsyncLocal would miss it entirely. The six scenario benchmark also looks like a careful way to separate the cost of a stable value from the cost of changing it on every suspension.
