Skip to content

janluksoft/Azure_AppService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

☁ Hosting applications on Azure

##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.

πŸ”Ή App Service Plan

Defines pricing tier and available resources (CPU, memory, scaling).

πŸ“Œ Choose a Tier:

  • 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

πŸ”Ή Runtime Stack / Framework

Choose the framework your app runs on:

  • ASP.NET (.NET Core or .NET Framework)
  • Java, Node.js, Python, PHP, Ruby

πŸ“Œ For ASP.NET apps:

  • Select the correct version (e.g., .NET 6, .NET 8)

πŸ”Ή Region

Select an Azure datacenter location for hosting.

πŸ“Œ Best Practice:

  • Choose a region close to your users for lower latency

πŸ”Ή Deployment Method

Ways to publish your app to Azure:

  • βœ… Visual Studio Publish
  • βœ… GitHub Actions / Azure DevOps CI/CD
  • βœ… FTP or ZIP deploy
  • βœ… Azure CLI / PowerShell

πŸ”Ή Scaling (via App Service Plan)

πŸ“Œ Manual Scaling:

  • Set a fixed number of instances

πŸ“Œ Auto-Scaling:

  • Scale based on rules (CPU, memory usage)

πŸ”Ή Custom Domain & SSL

πŸ“Œ Custom Domain:

  • Map your own domain (e.g., myapp.com)

πŸ“Œ SSL Certificates:

  • Free or bring-your-own

πŸ”Ή App Settings & Configuration

  • Store environment variables and connection strings
  • Secure sensitive data using Azure Key Vault

πŸ”Ή Monitoring & Logs

  • Enable Application Insights for performance and error tracking
  • View logs, metrics, and diagnostics in the Azure Portal

πŸ”· Publishing your app to Azure.

You can publish your app to Azure from VS2022 as shown below:

About

Hosting applications on Azure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published