How do you configure startup tasks in App Service?
- Use the startup command for Linux apps (App Service Plan) in Azure Portal.
- For Windows apps, configure web.config or use Program.cs in ASP.NET Core:
public class Program
public static void Main(string[] args)
var host = CreateHostBuilder(args).Build();
// Custom startup logic here
host.Run();