文档章节

Set up development environment for apps for SharePoint 2013

 木宛城主
发布于 2015/03/02 19:39
字数 463
阅读 1
收藏 0

 

SharePoint 2013 support app development pattern.An app for SharePoint is small and isolate application that provides a specific bit of functionality.In order to provide isolate apps run in their own domain,instead of the same domain name as your farm.Using a different domain name for apps helps prevent cross-site scripting between apps and SharePoint sites.

Because apps run in their own app domain,so you will have to configure DNS in your environment in order to be able to host apps.So I will create a completely new domain for my apps.Creating a new domain specifically to host host apps in     is a bit secure,but it also requires a little bit more configuration.OK,let's begin.

Step 1 Create a new domain to host your apps in

  • Go to 192.168.123.19 Server
  • Select DNS Manager
  • Right Click "Forward Lookup Zone" and Select "New Zone"
  • Pop-up the "New Zone Wizard" and Click "Next" again
  • Specify a zone name

  • Click "Next" again,then "Finish" it.
  • Right click on your new zone and Select "New Alias(CName…)"
  • Pop-up the properties dialog and fill in a * for alias name
  • Click "Browse"
  • Navigate to the Foward Lookup Zone for the domain that hosts the sharepoint sites and then navigate to the record that points to the server that hosts the sharepoint site

Step 2.Configure an isolated app domain

Use PowerShell to Create an app management and subscription setting service application

Add-PSSnapin Microsoft.SharePoint.PowerShell

Set-SPAppDomain "gcp-app.com"
Get-SPServiceInstance | where{$_.GetType().Name -eq "AppManagementServiceInstance" -or $_.GetType().Name -eq "SPSubscriptionSettingsServiceInstance"} | Start-SPServiceInstance
Get-SPServiceInstance | where{$_.GetType().Name -eq "AppManagementServiceInstance" -or $_.GetType().Name -eq "SPSubscriptionSettingsServiceInstance"}
$account = New-SPManagedAccount

$account = Get-SPManagedAccount "gcp-clinplus\SPAppAccount" 
$appPoolSubSvc = New-SPServiceApplicationPool -Name SettingsServiceAppPool_New_R -Account $account
$appPoolAppSvc = New-SPServiceApplicationPool -Name AppServiceAppPool_New_R -Account $account


$appSubSvc = New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPoolSubSvc –Name SettingsServiceApp_New_R –DatabaseName SettingsServiceDB_New_R
$proxySubSvc = New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc

$appAppSvc = New-SPAppManagementServiceApplication -ApplicationPool $appPoolAppSvc -Name AppServiceApp_New_R -DatabaseName AppServiceDB_New_R
$proxyAppSvc = New-SPAppManagementServiceApplicationProxy -ServiceApplication $appAppSvc

Set-SPAppSiteSubscriptionName -Name "fapp" -Confirm:$false

 

Step 3 Add isolate app domain to bypass list in Internet Explorer(* not required)

After create isolate app domain,perform the steps in the following procedure to add that domain to bypass list in IE. To Ensure that you can navigate to this domain after you depoy a sharepoint-hosted app.

  • In Internet Explorer,go to Tool
  • Choose Internet option
  • On the Connection tab,choose the Lan Settings button
  • Clear the automatically detect settings check box
  • Select the Use a proxy server for your Lan check box
  • Choose Advance button, and add "*.gcp-app.com" to the Exception List
  • Choose Ok button and close Internet Option dialog box.

Step 3 Check SharePoint Central Administration Configure

Check you already created an App Management and Subscription Settings Service Application and that already started the App Management and Subscription Settings services on server.

  • Services Applications

  • Services on Server

 

  • Configure App Urls(* Check)

 

 

 

© 著作权归作者所有

共有 人打赏支持
粉丝 2
博文 222
码字总数 199010
作品 0
黄浦
私信 提问
Office web apps 服务器运行一段时间之后CPU就是达到100%

office web apps服务器部署两台,采用服务器场的方式实现高可用,主要为Lync server 2013 提供共享PPT; exchange 2013、SharePoint 2013提供在线预览word、PPT、excel。 原因分析(Cause) ...

杰克斯帕罗
2017/11/02
0
0
SharePoint 2013技巧分享系列 - 隐藏Blog和Apps左侧导航菜单

企业内部网中,不需要员工创建Blog或者创建,安装SharePoint应用,因此需要在员工个人Web页面需要隐藏Blog或者Apps导航菜单, 其步骤设置如下: 该技巧适合SharePoint 2013 和Office 365。 ...

冷秋寒
2013/12/31
0
0
SharePoint 2013技巧分享系列 - 同步Exchange显示高清用户照片

在“SharePoint 2013技巧分享系列 - Active Directory同步显示用户照片”文中介绍了如何同步Active Directory显示用户照片,但是同步完成后,用户照片尺寸和清晰度都不是非常理想。本文将介绍...

冷秋寒
06/29
0
0
纯美资金融证券企业大连研发中心招聘职位--猎头职位A

A. Senior Specialist – Application Security(6K以上,可谈) Your skills and experience • Essential skills • B.E. / B.Tech. / MCA equivalent • At least 4-5 years Java develo......

maomao0312
2011/05/19
483
8
Win10开启开发者模式

https://msdn.microsoft.com/library/windows/apps/xaml/dn706236.aspx 安装好Win10 和Vs2015后调试程序提示 进入Win10设置--->升级与安全--->开发者无选项(Win10 预览者版10074) 解决方法:......

Norman_li
2015/07/16
0
0

没有更多内容

加载失败,请刷新页面

加载更多

python自然语言处理快速入门2常见的NLP操作

在本章中,我们将讨论我们文本数据进行的一些常见数据预处理操作,以适配典型的机器学习算法,如贝叶斯、决策树,逻辑回归等等。这些算法都只适用于数字向量,而不是文本。 那么我们如何将文...

python测试开发人工智能安全
17分钟前
0
0
OSChina 周一乱弹 —— 温柔的人应该这样

Osc乱弹歌单(2018)请戳(这里) 【今日歌曲】 @clouddyy :#每日一歌# 《フィクション-sumika》 《フィクション-sumika》 手机党少年们想听歌,请使劲儿戳(这里) 假期时间干嘛去, @for...

小小编辑
35分钟前
9
4
[LintCode] Serialize and Deserialize Binary Tree(二叉树的序列化和反序列化)

描述 设计一个算法,并编写代码来序列化和反序列化二叉树。将树写入一个文件被称为“序列化”,读取文件后重建同样的二叉树被称为“反序列化”。 如何反序列化或序列化二叉树是没有限制的,你...

honeymose
今天
6
0
java框架学习日志-7(静态代理和JDK代理)

静态代理 我们平时去餐厅吃饭,不是直接告诉厨师做什么菜的,而是先告诉服务员点什么菜,然后由服务员传到给厨师,相当于服务员是厨师的代理,我们通过代理让厨师炒菜,这就是代理模式。代理...

白话
今天
26
0
Flink Window

1.Flink窗口 Window Assigner分配器。 窗口可以是时间驱动的(Time Window,例如:每30秒钟),也可以是数据驱动的(Count Window,例如:每一百个元素)。 一种经典的窗口分类可以分成: 翻...

满小茂
今天
19
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部