quickstarts/dotnet-isolated/Program.cs (5 lines of code) (raw):

using Microsoft.Extensions.Hosting; var host = new HostBuilder() .ConfigureFunctionsWorkerDefaults() .Build(); host.Run();