How to: Publish a Cloud Business App to Office 365 [paved over]

You can publish a cloud business app as an auto-hosted SharePoint app, which will automatically provision space in Office 365 for both the app and an intrinsic database. Specifically, the app will be hosted in Windows Azure and the database in SQL Azure. After you publish your app, others can start it from SharePoint on their computers and mobile devices.

Note

You can also publish a cloud business app to SharePoint 2013. See Publish apps for SharePoint.

To publish an app

  1. In Solution Explorer, open the shortcut menu for the top-level application node, and then choose Publish.

    The LightSwitch Publish Application Wizard appears.

  2. On the SharePoint options page, choose the Autohosted option button, and then choose the Publish button.

    When your app is published, Windows Explorer appears and displays the Publish directory for your project.

  3. In a web browser, open your SharePoint for Office 365 Developer site.

  4. In the Apps in Testing list, choose the ellipsis (…) link next to the name of your app.

  5. Choose the Remove link to remove the previous version of the app.

  6. In the Apps in Testing list, choose new app to deploy.

  7. In the Deploy App dialog box, choose the upload link.

    The Upload App dialog box appears.

  8. In the Publish directory of your app, enter the full path for the ApplicationName.SharePoint.app file, and then choose the OK button.

    Once the file has been uploaded, the Deploy App dialog box appears.

  9. In the Deploy App dialog box, choose the Deploy button.

  10. In the Upload App dialog box, choose the Trust It button.

  11. In the Apps in Testing list, choose the app after it finishes installing.

See Also

Other Resources

Create Cloud Business Apps in Visual Studio [paved over]