Deploying the ASP.NET Core application in Azure

Let's create an ASP.NET Core application that we can deploy in Microsoft Azure:

Deploying the ASP.NET Core application in Azure

The ASP.NET Core application will be created once you click the OK button:

Deploying the ASP.NET Core application in Azure

As the default ASP.NET Core Web Application template uses the Entity Framework, we need to execute the following command in order to create the database migration:

dotnet ef database update

Once you enter the command in Command Prompt (in the project's path), the migration file will be created. This migration file will contain all the changes to ...

Get ASP.NET Core: Cloud-ready, Enterprise Web Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.