- Introduction
- Obtaining an Office 365 Free Trial Account
- Creating a SharePoint Developer Site
- Debugging and Publishing the HTML App in SharePoint
- Conclusions
Creating a SharePoint Developer Site
SharePoint is basically a portal made of a number of sites (called a collection). When you create your Office 365 subscription, a new site collection is generated for you. The default site collection includes sites that you can use for various purposes such as sharing documents inside your business, offering news, publishing blogs, managing lists of items, and so on. Among the other options, you can use SharePoint sites to test and debug your apps and to offer those apps to the external world.
Before you can test, debug, and publish an app for SharePoint, you need a site that Visual Studio will use to debug your apps and that will host what you publish, known as the developer site. To create a developer site, follow these steps:
- Log into the portal and click Admin > SharePoint. The default site collection will appear, with the administration toolbar displayed, as shown in Figure 1. (For security, my personal information is blacked out in these figures.)
- Click New > Private Site Collection. SharePoint will ask you to specify details for the new site collection, as shown in Figure 2.
- Enter a title (descriptive text for the site) and the website address (the suffix for the URL of the new site), like this:
- Select Developer Site as the site template; then specify the time zone and a site administrator. In the Storage Quota field, type the size of the space you want to reserve for your new site, in megabytes. Server Resource Quota holds the system-reserved space, also in megabytes. The default value should be enough for most common situations.
- When you're ready, click OK to complete the site creation. After a few seconds, the new site will be listed in the administration page, together with sites of the default collection shown earlier in Figure 1. Now you have a space on Office 365 where you can test and publish your LightSwitch HTML applications, so you can go back to Visual Studio.
https://yourdomain.sharepoint.com/sites/yoursite
In the address, yourdomain represents the account domain you provided when setting up your Office 365 subscription, and yoursite is the suffix representing your site.
Figure 1 SharePoint administration page.
Figure 2 Specifying details for a new site collection.