Mid
From PDF
Azure
Microsoft Azure
How do you configure startup tasks in App Service?
Short answer: 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
Example code
{
public static void Main(string[] args)
{
var host = CreateHostBuilder(args).Build(); // Custom startup logic here host.Run(); }
}
Real-world example (ShopNest)
ShopNest’s API runs on Azure App Service with staging slots—swap staging to production after smoke tests.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png