Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I posted a comment under the question, regarding differences between Cloud Service &amp; Web Site, but to answer your question about packaging: Cloud Services &amp; Web Sites take two different approaches to deployment, and there's not really "works for both" packaging:</p> <ul> <li>Web Sites are designed to accept your code deployment from either a source code repository. The idea is that you have a labeled version of your code, and push it out from TFS, git, Bitbucket, etc. You can also push your code up with ftp, or drop it into a dropbox folder. Because Web Sites run in IIS, and because you don't have any control over the VM farm running your Web Sites, you cannot push up <code>startup scripts</code> as you can with Cloud Services; you cannot install registry updates, COM objects, msi's...</li> <li>Cloud Services are designed around a stateless VM model. Every time you scale out (add instances), a baseline Windows Server VM is spun up, and the contents of your deployment package is copied to the new VM instance and executed. This includes startup scripts, installers, etc. Since you have admin-level access to each VM, you can configure it as you need to, from your startup scripts / <code>OnStart()</code>. Definitions for each role are combined into a single deployment package. To update one or more roles, you need to redeploy the package.</li> </ul> <p>Web Sites have no tooling pre-requisites, while Cloud Services require Visual Studio or Eclipse to help you manage the deployment package. You can also use PowerShell and Visual Studio command line tools to build the package, as @Ben Robinson mentioned in the comments above. You can also use PowerShell to create and administer Web Sites. Both Cloud Services and Web Sites provide <em>Staging</em> and <em>Production</em> slots.</p> <p>You can't push a deployment package to Web Sites.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload