文档章节

Set up development environment for apps for SharePoint 2013

 木宛城主
发布于 2015/03/02 19:42
字数 463
阅读 2
收藏 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显示用户照片,但是同步完成后,用户照片尺寸和清晰度都不是非常理想。本文将介绍...

冷秋寒
2018/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

没有更多内容

加载失败,请刷新页面

加载更多

如何在 Linux 系统查询机器最近重启时间

在你的 Linux 或类 UNIX 系统中,你是如何查询系统上次重新启动的日期和时间?怎样显示系统关机的日期和时间? last 命令不仅可以按照时间从近到远的顺序列出该会话的特定用户、终端和主机名...

来来来来来
今天
2
0
Redis协议是什么样的

前言 我们用过很多redis的客户端,有没有相过自己撸一个redis客户端? 其实很简单,基于socket,监听6379端口,解析数据就可以了。 redis协议 解析数据的过程主要依赖于redis的协议了。 我们...

春哥大魔王的博客
今天
4
0
乱入Linux界的我是如何学习的

欢迎来到建哥学Linux,咳!咳!咳!开个玩笑哈,我是一个IT男,IT界的入门选手,正在学习Linux。 在之前,一直想进军IT界,学习IT技术,但是苦于没有人指导,也不知道学什么,最开始我自己在...

linuxCool
今天
3
0
携程Apollo统一配置中心的搭建和使用(java)

一.Apollo配置中心介绍 1、What is Apollo 1.1 Apollo简介 Apollo(阿波罗)是携程框架部门研发的开源配置管理中心,能够集中化管理应用不同环境、不同集群的配置,配置修改后能够实时推送到...

morpheusWB
今天
3
0
远程获得的有趣的linux命令

使用这些工具从远程了解天气、阅读资料等。 我们即将结束为期 24 天的 Linux 命令行玩具日历。希望你有一直在看,如果没有,请回到开始,从头看过来。你会发现 Linux 终端有很多游戏、消遣和...

Linux就该这么学
今天
6
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部