If our web server can accept FTP (or FTPS) connections, the best way to publish our project is to create a FTP-based Publish Profile that will automatically upload our web project to our web server using the FTP/FTPS protocol. All we need to do is link the FTP destination folder to a new website project using IIS, and we'll be able to publish/update our website in a real-time fashion, as everything will be put online as soon as the publishing task will be done.
FTP Publish Profile
As we said earlier, we're doing all this assuming that we have a web server accessible through FTP, since it's one of the most common deployment scenarios. If that's not the case, we might as well skip this paragraph and configure a different publishing profile, ...
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.