Reputation: 3668
When I click on the Publish method following options show up:
What is the significance of each method?
Upvotes: 37
Views: 24921
Reputation: 2313
Web Deploy: Deploys your app to a local or remote IIS server immediately (one-click publishing), assuming you have access and the server is configured properly.
Web Deploy Package: Similar to Web Deploy, but instead of deploying the app immediately, it creates a zipped deployment package on the local file system to be deployed later to the local or remote IIS server.
FTP: Copies the required app files to an FTP server. You might use this to deploy your app to the (non-Azure) cloud.
File System: Copies the required app files to the local file system. Useful for testing or if you want more control over how the deployment is done.
The two web deploy methods are smarter than the more old-school FTP/file system approaches. For example, they can apply config file transforms during the deployment, and they can be faster as they give you the option to only transfer changes. They are also more secure.
More info here.
Upvotes: 6
Reputation: 2340
Upvotes: 27