首页 > 移动平台 > 详细

SharePoint 2013 App

时间:2014-08-12 18:03:34      阅读:452      评论:0      收藏:0      [点我收藏+]

1. App Web & Host Web

The special website to which the app is deployed is called an App Web.

The website to which the app is installed is called the Host Web.

 例子:

Suppose, you are developing a SharePoint 2013 app for your organization. In that, you would require the App to access and to use the SharePoint components such as the lists, content types, workflows, and pages. In this Case, all your SharePoint components should be deployed in a separate SharePoint site, called as the App Web.
 
The Host Web is nothing but the SharePoint site where the App is actually installed. So, to conclude, all the resources accessed by a SharePoint web has to be deployed in a different site, named as the App web. And, the actual site where the app is deployed (from VS) is called the Host Web.
 
2. Client Authentication with Office 365
使用SharePointOnlineCredentials对象
bubuko.com,布布扣
ClientContext context = new ClientContext("https://gjq.sharepoint.com/");
            System.Security.SecureString passWord = new System.Security.SecureString();
            foreach (char c in "abcd1234%".ToCharArray())
            {
                passWord.AppendChar(c);
            }
            context.Credentials = new SharePointOnlineCredentials("cn0jacky@gjq.onmicrosoft.com", passWord);
bubuko.com,布布扣

3. App中的Client Web Part是否加入到Feature或者package中不影响App中的内容,App文件会将项目中的所有信息加入进去;

4. 

SharePoint 2013 App,布布扣,bubuko.com

SharePoint 2013 App

原文:http://www.cnblogs.com/qijiage/p/3907556.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!