# IT:AD:WebDeploy #
* [[../|(UP)]]
{{indexmenu>.#2|nsort tsort}}
* See:
* [[IT/AD/MSDeploy/]]
* [[IT/AD/ASP.NET/]]
>Standard MSI based web deploy packages were dropped from VS2012. `MSDeploy` (in the form of `WebDeploy`) is now the preferred way to deploy *websites* (Windows Services, Console Apps, etc. are better suited with different deployment strategies).
WebDeploy creates *Deployment Packages*, that are combinations of:
* zip
* parameter file
* a default bat file to run one of the [[IT/AD/MSDeploy/]] statements.
* This can be replaced with a custom bat or [[IT/AD/Powershell/]] script to run more powerful scripts.
## Facts ##
* [[IT/AD/WebDeploy/]] creates *Deployment Packages*, that are combinations of zip + parameter file + bat file to run [[IT/AD/MSDeploy/]] statements.
* WebDeploy is not a technology/command in itself -- but a packaging and batching of [[IT/AD/MSDeploy/]] statements (see [http://www.asp.net/web-forms/tutorials/deployment/web-deployment-in-the-enterprise/deploying-web-packages](http://www.asp.net/web-forms/tutorials/deployment/web-deployment-in-the-enterprise/deploying-web-packages) for confirmation of this).
* [[IT/AD/WebDeploy/]] provides the ease of [[IT/AD/Visual Studio/]] integrated tools -- but only a small fraction of the power in MSDeploy.
* It's easy to deploy over the wire from a dev VS to an ST server in the same network, but will rarely get approval to deliver the same way to a remote QAT or PROD server.
* **IMPORTANT:** A WebDeploy package is intended to be configured per Build Configuration, refined with [[IT/AD/WebDeploy/HowTo/Create a Publish Profile/Parameters.xml|Parameters.xml]] file per target server.
* Packages can be developed and deployed from the [[IT/#CLI|CommandLine]] ([[IT/AD/WebDeploy/Publishing/]])
* It's important to understand that the ease of the [[IT/AD/Visual Studio/]] `Publish...` button hides the power that comes with knowing how to build deployment scripts by hand using [[IT/AD/MSDeploy/]] commands.
* ie: do take the time to know the [[IT/AD/WebDeploy/MSDeploy/Syntax/]]
## Resources ##
* [http://www.asp.net/web-forms/tutorials/deployment/web-deployment-in-the-enterprise/deploying-web-packages](http://www.asp.net/web-forms/tutorials/deployment/web-deployment-in-the-enterprise/deploying-web-packages)
* [MSDN Summary](http://msdn.microsoft.com/en-us/library/dd394698.aspx)
* My kind of [good notes](http://bit.ly/yi5iwS)
* How to write a website to manage a server at a distance: http://bit.ly/yD2Awp