##Azure App Service β Key Options for ASP.NET Apps
Azure App Service is a fully managed platform for hosting web apps, REST APIs, and mobile backends. It supports multiple languages and frameworks, and offers built-in scaling, security, and integration features.
Defines pricing tier and available resources (CPU, memory, scaling).
- Free / Shared β For development and testing only
- Basic / Standard / Premium β More power, custom domains, staging slots
- Isolated β Runs in private VNET; higher security and performance
Choose the framework your app runs on:
- ASP.NET (.NET Core or .NET Framework)
- Java, Node.js, Python, PHP, Ruby
- Select the correct version (e.g., .NET 6, .NET 8)
Select an Azure datacenter location for hosting.
- Choose a region close to your users for lower latency
Ways to publish your app to Azure:
- β Visual Studio Publish
- β GitHub Actions / Azure DevOps CI/CD
- β FTP or ZIP deploy
- β Azure CLI / PowerShell
- Set a fixed number of instances
- Scale based on rules (CPU, memory usage)
- Map your own domain (e.g.,
myapp.com)
- Free or bring-your-own
- Store environment variables and connection strings
- Secure sensitive data using Azure Key Vault
- Enable Application Insights for performance and error tracking
- View logs, metrics, and diagnostics in the Azure Portal
You can publish your app to Azure from VS2022 as shown below:
