I have an asp net core 2.0 mvc webpage using MySql, and the first request from a MySql database takes anywhere from 5-10 seconds to load, but any subsequent requests were much faster, about half a second each. Is there a way to load the MySql dependency when kestrel starts, so there is no lag-time on the webpage?
I've read about Assembly Injections, but those were based around core 1.0. How would I achieve this in core 2.0?