文档章节

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
Win10开启开发者模式

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

Norman_li
2015/07/16
0
0
微软新一代认证体系MCSE详解

2012年至2013年,微软将要发布大量的升级产品,它们分别是SQL Server 2012、System center 2012、Windows server 2012、Windows 8、Offce 2013、Exchange 2013、Lync 2013、Sharepoin 2013。...

taotie_ksl
06/26
0
0

没有更多内容

加载失败,请刷新页面

加载更多

xilinx资源

本系列教学视频由赛灵思高级战略应用工程师带领你:从零开始,一步步深入 掌握 HLS 以及 UltraFAST 设计方法,帮助您成为系统设计和算法加速的大拿! http://www.eetrend.com/topics/2018-0...

whoisliang
3分钟前
0
0
=====BJmeter性能测试小接=====

一、性能测试分类 1、负载测试: 通过逐步加压的方法,达到既定的性能阈值的目标,阈值的设定应是小于某个值,如cpu使用率小于等于80% 2、压力测试: 通过逐步加压的方法,使得系统的某些资源...

覃光林
7分钟前
0
0
企业级开源四层负载均衡解决方案--LVS

网盘链接 企业级开源四层负载均衡解决方案--LVS 本课程将在Linux环境下,学习配置使用LVS,对Web集群和MySQL集群进行负载均衡,并结合利用Keepalived实现负载均衡器的高可用,实现对后端Rea...

qq__2304636824
12分钟前
0
0
Windows上安装Spacemacs

emacs安装 下载地址emacs 安装比较简单,解压后执行\bin\addpm.exe即可 emacs配置 emacs的默认配置文件路径和.emacs.d文件夹都是在Windows主目录下的 C:\Users\Administrator\AppData\Roami...

yxmsw2007
28分钟前
0
0
OSChina 周一乱弹 —— 鱼生不值得

Osc乱弹歌单(2018)请戳(这里) 【今日歌曲】 @瘟神灬念:分享新裤子的单曲《没有理想的人不伤心 (Remix版)》: 《没有理想的人不伤心 (Remix版)》- 新裤子 手机党少年们想听歌,请使劲儿戳...

小小编辑
今天
171
9

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部