Deploying applications on SharePoint
While developing an application, you can deploy it from Visual Studio. This is very handy when working with a test site, while in a production environment other deployment methods are used.
In the current recipe, we will deploy a compiled SharePoint application on a web portal.
How to do it...
Access your SharePoint site, and open the Apps in Testing page, then open the List ribbon tab and click Deploy App:
In the Deploy App page, click the upload it link to upload your application to the site:
The default path to the SharePoint application assembly is under the
Projects
folder of your Visual Studio installation:\NavSharepointApp\NavSharepointApp\bin\Debug\app.publish\1.0.0.0\ NavSharepointApp.app
.Open the upload dialog and select the app package.
After uploading the application to SharePoint, enter the name of the site where you want your application to be deployed, and click Deploy:
The
NavSharePointApp
project is added to the list of applications....