Josef Ottosson

Josef Ottosson

Freelancing Developer ยท Microsoft MVP

Subscribe via RSS
© Josef Ottosson 2025

httpclientfactory

A collection of 4 posts

Testing your Polly policies
httpclient

Testing your Polly policies

Polly enables you to configure policies to handle different error scenarios when sending http requests. I show you how you can test these policies.

2 years ago October 31st, 2023 3 min read
dotnet

Prefix your http requests without touching the actual HttpClient code

Prefix your http calls without modifying the actual HttpClient code using a custom DelegatingHandler

2 years ago December 21st, 2022 3 min read
How to test configuration of HttpClient when using AddHttpClient
httpclient

How to test configuration of HttpClient when using AddHttpClient

Shows how to test the code written inside the AddHttpClient extension method

3 years ago January 16th, 2022 4 min read
httpclient

You're (probably still) using HttpClient wrong and it is destabilizing your software

I try to optimize the fetching and deserialization of data in dotnet core as much as possible. HttpClientFactory and streams are my best friends

6 years ago March 10th, 2019 20 min read
Subscribe via RSS
© Josef Ottosson 2025