Find BackgroundService.ExecuteAsync behavior change
ProprietaryFinds methods that override ExecuteAsync from BackgroundService. In .NET 10, the entire method runs on a background thread; synchronous code before the first await no longer blocks host startup.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net10. FindBackgroundServiceExecuteAsyncmod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net10. FindBackgroundServiceExecuteAsyncInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.