If I have async middleware in ASP.NET Core 6/7 and I am getting 1000 requests, will there be 1000 threads (created by async) and one main thread?
public async Task InvokeAsync(HttpContext context)
{
await _next(context);
}
If I have async middleware in ASP.NET Core 6/7 and I am getting 1000 requests, will there be 1000 threads (created by async) and one main thread?
public async Task InvokeAsync(HttpContext context)
{
await _next(context);
}