Deploying Dockerized ASP.NET Core Web API on Azure App Service
Learn how to deploy a Dockerized ASP.NET Core Web API on Azure App Service using a Docker image stored in Azure Container Registry. In this step-by-step tutorial, we configure the Web App container, set the required port values, connect the API to Azure SQL Database, test the deployed API using Swagger, and understand how to redeploy or roll back Docker image versions.
This tutorial is ideal for developers who want to understand container-based deployment in Azure without using Kubernetes. You will see both Azure CLI-based deployment and Azure Portal-based deployment, along with the important settings required to run an ASP.NET Core Web API successfully inside Azure App Service for Containers.
In this video, you will learn:
What Azure App Service for Containers is
Difference between code-based and container-based deployment
How Azure Container Registry stores Docker images
How to create an App Service Plan and Azure Web App
How to configure ACR credentials for image pull
Why is WEBSITES_PORT=8081 required
Why ASPNETCORE_URLS=http://+:8081 matters
How to configure ASPNETCORE_ENVIRONMENT
How to add Azure SQL Database connection strings securely
How to restart and test the deployed API using Swagger
How to redeploy with a new Docker image version
How to roll back from v2 to v1
How to perform the same deployment from Azure Portal
Full source code & written guide:
Deploying Dockerized ASP.NET Core Web API on Azure App Service: https://dotnettutorials.net/lesson/de...
Connect with Us for Live Training:
📞 Contact Number/WhatsApp: +91 7021801173
💬 WhatsApp Group: https://chat.whatsapp.com/JcYveKZsw0c...
📧 Email: [email protected]
📢 Telegram Group: https://telegram.me/dotnettutorials
🌍 Website: https://dotnettutorials.net/
Follow & Subscribe for More .NET Tutorials:
📺 Subscribe to our YouTube Channel: / @dotnettutorials
👥 Join Our Facebook Group: / 501905403704561
📘 Like & Follow Our Facebook Page: / tutorialsdotnet
💼 Join Our LinkedIn Group: / 14539101
🏢 Follow Our LinkedIn Company Page: / dot-net-tutorials
#azure #docker #dockercontainer #aspnetcore #dotnet #webapi #azureappservice #azurecontainerregistry #devops #microservices #cloudcomputing #azuretutorial #aspnetcorewebapi