Hello @David Thielen
Azure App Service itself doesn't recompile the application; it hosts the compiled binaries that you deploy.
When you publish from Visual Studio, you have the option to choose the configuration. In the publish profile you can select DEBUG or RELEASE mode.
in GitHub Actions you can use dotnet build
or dotnet publish
command with the --configuration
flag set to either Release
or Debug
mode.