Quickstart
Execute the following:
dotnet new mvc
dotnet add package ZipDeploy
Open Startup.cs, and add:
using ZipDeploy;
...
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddZipDeploy();
Now you can do:
dotnet publish
… zip up the generated publish folder, and FTP it up to the root of your running site.
A more detailed walkthrough is covered here: Walkthrough