Search code examples
asp.net-core-webapi.net-5dotnet-httpclient

ASP.NET Core 5 Web API : slow response for the first REST call


My ASP.NET Core 5.0 Web API (HTTPS) is running on Windows 7 SP1.

The first HttpClient REST call (from a .NET 5.0 client) gets a very slow response, the next call is very fast, after a while (around 2 minutes), the next call is again very slow, and calls after that are very fast again, and so on.

What can cause this strange issue?


Solution

  • the problem is resolved by reinstalling Windows