Debugging Fan-Out Operation Failures With Custom Exception Messages Using Durable Functions Extension For Azure Functions On C#

Durable Functions is an extension for Azure Functions to help write stateful services in a stateless environment. There’s an orchestration pattern named Fan out/fan in that can be helpful for contacting a number of external services and waiting for their replies. When one or more of these services throws an... [Read More]
Tags: azure-functions, durable-functions

IDisposable, IAsyncDisposable, and Tasks: Dispose Behavior With Tasks In C#

While working with HTTP calls that return a Stream via HttpClient’s var response = await SendAsync(request, HttpCompletionOption.ResponseHeadersRead); -> var stream = await response.Content.ReadAsStreamAsync(); method for efficient handling of streamed data Brian Dunnington identified the response should be disposed and pointed me to https://www.stevejgordon.co.uk/using-httpcompletionoption-responseheadersread-to-improve-httpclient-performance-dotnet. [Read More]
Tags: dotnet