Deploying the .NET Core web application to the Azure App Service
More and more users are switching to the .NET core framework these days. ASP.NET Core is a cross-platform framework for building modern applications. It offers many advantages over the traditional ASP.NET with many out-of-the-box features, such as dependency injection, which is suited for containers and those who want high performance.
Note
For more on ASP.NET Core and its benefits, visit http://bit.ly/2P0vMfn.
In this recipe, we will create a simple ASP.NET Core web app and deploy it into Azure App Service.
Getting ready
Here, we will just use the dotnet
command to create the basic ASP.NET core application and commit it into the git repository. Then, we will create a new build pipeline to build the application and produce the artifact.
Creating the ASP.NET Core application
- Ensure that you have the latest .NET Core SDK installed. If not, install the recommended version from https://dotnet.microsoft.com/download/dotnet-core.
You can...