I am trying to get miniprofiler and Dapper on MySql to work together to profile sql statements.
I have managed to get miniprofiler and swagger to work together but the sql generated and executed by dapper are not intercepted for some reason, I believe this is because Miniprofiler.Current always returns null for some reason.
I was wondering if anyone else can help.
sample project is attached.
run docker compose and run api manually.
test api download => https://gofile.io/?c=Qf6boJ