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.
例子:
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);
3. App中的Client Web Part是否加入到Feature或者package中不影响App中的内容,App文件会将项目中的所有信息加入进去;
4.
SharePoint 2013 App,布布扣,bubuko.com
原文:http://www.cnblogs.com/qijiage/p/3907556.html