As a developer, one must be aware of the limitations in SharePoint 2010 when developing and deploying SharePoint solutions, namely, the requirement that Visual Studio and SharePoint coexist on the same box. Luckily, with app development for the Office365 Preview (and SharePoint 2013 Preview), developer tools such as Visual Studio are no longer required to be on the same box as the SharePoint server. In this post, we will demonstrate the ways to remotely deploy apps to the Office 365 Preview and SharePoint 2013 Preview using the tools listed below:
- Visual Studio 2012 RC Preview
- "Napa" Office 365 Development Tools
Using Visual Studio 2012 RC Preview
- Prepare your environment to create an app for the SharePoint 2013 Preview.
- If it does not already exist, create a new Site Collection using the Developer Site template:
- During the "Create New App for SharePoint" process, enter your developer site URL (as mentioned above) to "What SharePoint site do you want to use for debugging your App?" Keep the default setting Autohosted for "How do you want to host your app for SharePoint?"
Note: If you have already created a project for an app, just select Properties and enter your developer site URL to "Site URL":
- Develop your app and, once completed, hit F5 to begin deployment.
- You will be presented with a login screen to authenticate to your Office365 site. Enter User ID and Password:
Look at the status bar of Visual Studio to see the background process of the deployment: App is installing for SharePoint...
- Trust the app in your Office 365 site to make it available:
Using "Napa" Office 365 Development tools
- Add "Napa" Office 365 Development Tools from the SharePoint Store to your developer site.
- Click on Napa on the Site Contents page:
- Add New Project:
- Various apps will be available for your choosing. Select App for SharePoint. Give the app a name and click "Create":
- Within the Napa window, develop your new app:
- Click Run Project to deploy your app to your Office 365 Preview:
Your project is being packaged and installed on your SharePoint Server:
Note: You can also open this project in Visual Studio 2012 Preview, edit properties, or remove the app by using the following available buttons:
Aug 14 2012, 01:00 PM
nothing about him.