Products Technologies Demo Docs Blog Support Company

Deploying an ASP.NET Core Web App to Azure App Services

This article shows how to create and deploy an ASP.NET Core Web App to Azure App Services with Docker. It shows all the necessary steps to create the application and the Dockerfile to deploy the application to App Services.

Deploying an ASP.NET Core Web App to Azure App Services

Use Azure App Service to build and host web applications without managing the infrastructure. Azure takes care of auto-scaling and high availability. This tutorial will show you how to deploy a Docker container that was created with the application that uses the TX Text Control .NET Server.

Prerequisites

The creation of the application and the container is not part of this tutorial.

Creating the Container

To learn how to create a Docker container required for an Azure App Services deployment, follow the steps in this tutorial.

Deploying an ASP.NET Core Web App with Docker

In order to complete this tutorial, the following prerequisites are required:

Pushing the Image to Docker Hub

For use in Azure App Services, the image must be pushed to the Docker Hub. You can push images directly to your Docker Hub account in Docker for Windows.

Docker

Alternatively, use the CLI to push the image to the Docker Hub.

docker login --username yourusername
docker tag txcore bjoernzett/txcore
docker push bjoernzett/txcore

Docker

Learn more

To learn how to push images to Docker Hub, refer to the Docker documentation.

Share the application

Create App Services

The resulting Docker container can then be deployed as an Azure Windows Container App on the Azure App Service.

  1. Open the Azure Portal and sign in with your Azure account.

  2. Find App Services in the left-hand menu and open it. Select + Add from the menu to create a new service. In the opened dialog, enter a name for the instance, select Docker container as the Publish option and select Windows as the Operating System.

    Azure

    Click Next : Docker.

  3. In the opened page, select Docker Hub as the Image Source, select the access type (visibility) and type in your image and tag.

    Azure

  4. Follow the next steps if you want to change any of these settings, and then click the Create button on the last tab to create the instance.

    Azure

  5. If the deployment has been successful, a summary page will be displayed.

    Azure

If you open a browser and navigate to the newly created resource, you will be able to see our tutorial that uses TX Text Control .NET Server.

Azure

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

Related Posts

ASP.NETCloudASP.NET Core

Why an Unlimited Runtime License (OEM) for TX Text Control is Perfect for…

Platforms such as AWS Fargate and Azure App Services enable developers to build and deploy applications that dynamically scale to meet demand. For these deployments, this article explains why it…


ASP.NETASP.NET CoreDeployment

Deploying an ASP.NET Core Web App with Docker

This article shows how to create and deploy an ASP.NET Core Web App with Docker. It shows all the necessary steps to create the application and the Dockerfile to deploy the application.


ASP.NETASP.NET CoreDeployment

Deploying an ASP.NET Core Web Application using the Document Editor with Docker

This tutorial shows how to deploy an ASP.NET Core web application that uses the document editor using Docker. It shows how to include the TCP service and the required backend ASP.NET Core web…


ASP.NETASP.NET CoreDocker

Announcing the Official DS Server Docker Image on Docker Hub

The official DS Server Docker image is now available on Docker Hub. This makes it easier to deploy the DS server in a containerized environment and manage and scale your applications. Based on the…


ASP.NETASP.NET CoreDocker

Using a Private NuGet Feed to Build and Restore .NET Apps for Docker Deployment

Learn how to set up a private NuGet feed for your .NET applications and use them in Docker containers. This guide covers the steps to create a private NuGet feed with GitHub, configure your .NET…