...

/

Publishing and Web Deploy

Publishing and Web Deploy

In this lesson, we will learn the various publication options offered by the ASP.NET Core software development kit (SDK), and how to publish our application from within Visual Studio.

A web application can be published to various targets and in several ways. Among them, to a target Web Server through FTP or other protocols, or to a local folder from where it can be moved manually to its target location. The ASP.NET Core software development kit offers a unique, powerful publish command that unifies all types of publications into a unique simple experience.

.NET publish command

All publication types supported by the .NET SDK can be executed with the command below. This must be launched from within the Web project folder:

dotnet publish -p:PublishProfile=MyPublishProfile

Where ...

Access this course and 1400+ top-rated courses and projects.