Questions about publish tool from Visual Studio UI and dotnet cli -publish command.
Publish has many targets and options:
- to file system
- to web package
- to IIS directly
- to clouds
More on the vendor's page: https://learn.microsoft.com/en-us/visualstudio/deployment/quickstart-deploy-to-azure?view=vs-2017