Slowness in the first request sent to the IIS.
Scenario: When sending the first request to a website in IIS or sending a request after some downtime the response takes much longer than expected.
The following actions have been tried to resolve the issue.
- Set Application Pool Start Mode property to AlwaysRunning
- I compiled as DLLs with Ngen
I identified this problem with code .Net Framework 4.X and .Net Core greater than 2.x WCF and API.