Niko Uusitalo

Niko Uusitalo

Hi I'm Niko Uusitalo, I write software, grow others and try to balance shipping with best practices.

  • Home
  • Blog
  • About
  • Contact

HttpClient

A collection of 2 posts

July 30, 2020

Why is .GetAwaiter().GetResult() bad in C#?

Why is .GetAwaiter().GetResult(), or .Wait() or .Result bad? It ends up boiling down to deadlocks and threadpool starvation. This post gives a gentle, high up look at why this may happen.

C# ThreadPool HttpClient

April 4, 2020

Pooling in C#

We all know pooling is useful for performance, so let's check out what .NET comes with out of the box and see how it's all used.

C# Pool Pooling HttpClient ArrayPool TPL ADO.NET EF6 Entity Framework MemoryStream ThreadPool

Page 1 of 1

Niko Uusitalo © 2021. This work is licensed under a Creative Commons Attribution 4.0 International License. Royce theme by Just Good Themes. Powered by Ghost.

Back to top