SharePoint 2013 App

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对象

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("[email protected]", passWord);

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

4. 

SharePoint 2013 App

时间: 2024-10-11 16:14:33

SharePoint 2013 App的相关文章

BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 理解三个SharePoint 部署模型 Apps

BEGINNING SHAREPOINT? 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 理解三个SharePoint 部署模型 Apps 由于SharePoint 2013 正逐步移动到云,有三类部署模型可用来帮助你完毕这个目标(关于SharePoint Apps): SharePoint-hosted: Autohosted: Provider-hosted: 每一类部署模型都含有特色,使它成为针对不同类型App开发的理想的(选择).以下的部

BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 SharePoint 2013 App 模型

BEGINNING SHAREPOINT? 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 SharePoint 2013 App 模型 你可以通过两个主要的方式安装SharePoint.对于SharePoint 2010,你可以安装完整版本的SharePoint Server,并且在内部部署环境运行所有的资产和内容.可选的是,你可以提供一个Office 365(O365)实例,然后利用SharePoint Online(或者一个SharePoin

BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 移到云端

BEGINNING SHAREPOINT? 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 移到云端 .APP结构使你能够配置和部署Apps到SharePoint,同时也能构建.打包和引用部署到云上的库.尽管新的App模型非常"以云为中心",你也不必每次都部署代码到云端.可选的是,你可以部署云数据到内部部署的IIS服务器上.在这个部署情形中,代码 并不存活在SharePoint服务器上,但是你仍在使用云App模型部署它到IIS.在这个非云

BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 理解三个SharePoint 部署模型 Apps

BEGINNING SHAREPOINT? 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 理解三个SharePoint 部署模型 Apps 因为SharePoint 2013 正逐步移动到云,有三类部署模型可用来帮助你完成这个目标(关于SharePoint Apps): SharePoint-hosted: Autohosted: Provider-hosted: 每一类部署模型都含有特色,使它成为针对不同类型App开发的理想的(选择).下面的部

BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 总结

BEGINNING SHAREPOINT? 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 总结 SharePoint Apps这三个新的部署模型分别是:SharePoint-hosted.Autohosted和Provider-hosted App 模型. SharePoint-hosted App模型应该用到轻量级.更小的Apps上,不需要服务器端代码.你可以使用客户端对象模型.HTML及JavaScript构建它们.SharePoint-ho

BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 SharePoint 2013 App 模型

BEGINNING SHAREPOINT? 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 SharePoint 2013 App 模型 你能够通过两个基本的方式安装SharePoint. 对于SharePoint 2010,你能够安装完整版本号的SharePoint Server,而且在内部部署环境执行全部的资产和内容. 可选的是.你能够提供一个Office 365(O365)实例,然后利用SharePoint Online(或者一个ShareP

BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览

BEGINNING SHAREPOINT? 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 本章中你将学到: 理解Office Apps和SharePoint Apps各是什么: 介绍三个新的SharePoint 部署模型 Apps. 本章练习代码:http://www.wrox.com/WileyCDA/WroxTitle/productCd-1118495845.html. 代码分成两部分:AutohostedEmployeeList.zip:

[转]SharePoint 2013 App 开发 (2) - 建立开发环境

这篇文章属于SharePoint 2013 App开发系列文章,到这篇文章为止,此系列的文章包括: SharePoint 2013 App开发 (1) - 什么是SharePoint App? SharePoint 2013 App开发 (2) - 建立开发环境 (本文) 在开发SharePoint App之前,开发人员需要有一个SharePoint开发环境.无论是开发何种类型的应用程序,开发人员都需要在开发机器上准备相应的开发环境.比如,如果是开发ASP.NET Web应用,那么在开发机器上除

SharePoint 2013 App 局部开发,可替换 WebPart 开发

SharePoint 2013 新加入了APP 开发,较以往的自定义WebPart开发又多了一种开发选择.APP页面局部显示,就是在APP程序里添加WebPart:添加方法与“WebPart”类似,这里将详细介绍如何局部开发,以达到替换WebPart 的目的. 我是以SharePoint online 为测试环境,测试实例. 1 建立一个SharePoint 2013 的应用程序的解决方案 ,托管模式选择“SharePoint 托管”,项目名为:“Notice”,如下图: 2 右击项目,添加一个