replied with this on another post, but you can add `-p:PublishReadyToRun=true` to your `dotnet publish` command to do AOT. it blows up your binary in size, but pretty much gives your warmed up code from the start.
it runs few tier for JIT, it still ship with IL and the JIT
don't advertise ReadyToRun as "hey we got AOT at home, says Microsoft salesman"
because all it does is makes me want to use Go instead, it feels and sounds bloaty