The options available for deploying apps depend on your deployment scenario and application type. There are three main application types and each one requires a different deployment scenario. Table 7-1 summarizes these various scenarios.
|APP TYPE||APP CODE DEPLOYED TO||APP PACKAGE DEPLOYED TO|
|SharePoint-hosted||N/A||App catalog or Marketplace|
|Provider-hosted||Azure or other||App catalog or Marketplace|
|Autohosted||Azure||App catalog or Marketplace|
Provider-hosted apps are a bit more complex and consist of just an app package without any Web deploy package in it. This is because the provider of the app is already required to be hosting it either in Azure or some other Internet-accessible location. The provider of the app manages running the code for the app and any associated databases or dependent resources.
Autohosted app packages are the only ones that contain Web deploy packages and/or database packages. This is because Autohosted apps are the only app types where SharePoint needs to take both the Web deploy package and database package and deploy them to Azure when the app is installed. Azure is currently the only option for autodeployment ...