Creating a Publish profile

The most convenient way to deploy a web-based project in Visual Studio is by creating one or more Publish profiles. Each one of them is basically an XML configuration file with a .pubxml extension that contains a set of deployment-related information, most of which depends on the server/target we're deploying our application into--Azure, FTP, filesystem, and more.

We can easily set up one or more Publish profile files using the Publish profile wizard. As soon as we have at least one ready, we'll be able to execute it with a single mouse click and have our application published.

To open the Publish profile wizard, right click on the project's root node--TestMakerFreeWebApp in our case--and select the Publish option ...

Get ASP.NET Core 2 and Angular 5 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.