Migrate NuGet-based Logic Apps Standard apps and custom built-in connectors to .NET 10
Migrating Logic Apps Standard to .NET 10 is straightforward, requiring no changes to C# code or workflow definitions. The primary tasks involve retargeting projects, resolving dependency conflicts, and adjusting host configurations. This guide specifically addresses NuGet-based applications and custom built-in connectors, building upon previous discussions about custom code. Understanding which host runs your app is crucial, as a .NET 10 connector requires a .NET 10 host.Azure and local environments select the .NET 10 host differently: Azure by removing LOGICAPP_INPROC_REDIRECT, and local development (using Azure Functions Core Tools 4.16.0+) by setting FUNCTIONS_WORKER_RUNTIME to "dotnet-isolated". Prerequisites include .NET 10 SDK (403+), Core Tools (4.16.0+), Microsoft.Azure.Workflows.WebJobs.Extension (1.170.91+), and Microsoft.NET.Sdk.Functions (4.5.0+). It's vital to maintain a stable .NET 8 deployment until the .NET 10 version is validated.Project files need several updates: global.json should pin SDK version 10.0.403, and both connector and Logic Apps .csproj files must set TargetFramework to "net10.0". Dependency downgrades, like NU1605, need explicit package references. Host.json should remove any extensionBundle section, and local.settings.json needs FUNCTIONS_WORKER_RUNTIME set to "dotnet-isolated" for local testing.Verify locally by running Core Tools 4.16.0+ from bin\Debug\net10.0, ensuring no service provider errors and workflows are listed. In Azure, update app settings to remove LOGICAPP_INPROC_REDIRECT and any extension bundle settings, while keeping FUNCTIONS_WORKER_RUNTIME as "dotnet". Deploy the .NET 10 build and verify functionality.