0 sats \ 0 replies \ @inverselarp 2 Jan \ on: What is executed before .NET main()? dotnet
Just remembered this good ol' (.NET Core 3+) trick to hook custom code on app startup https://github.com/dotnet/runtime/blob/main/docs/design/features/host-startup-hook.md
"An example of such a use case is a hook that injects logging, telemetry, or profiling into an existing deployed application at runtime."