Last post Jan 22, 2021 03:33 PM by bruce (sqlwork.com)
Jan 22, 2021 12:25 PMemail@example.com|LINK
I have simple test for asp net core 5 web api :
I send 20 requests to server.
But my app deployed to IIS can process only 10 requests.
When 10 request is processed, it process next 10 requests.
public async Task<int> GetAsync()
string ConnectionString = "Min Pool Size=20;Pooling=true;Server=172.31.3.177;Database=mantra2017;Integrated Security=SSPI;";
using (SqlConnection c = new SqlConnection(ConnectionString))
using (SqlCommand sc = new SqlCommand("WAITFOR DELAY '00:00:20';", c))
Jan 22, 2021 03:33 PM|bruce (sqlwork.com)|LINK
Check your testing tools network traffic. perhaps it’s doing a head request first.