Set up development environment for apps for SharePoint 2013
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)
Set up development environment for apps for SharePoint 2013的更多相关文章
- BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 理解三个SharePoint 部署模型 Apps
BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 理解三个SharePoint 部署模型 Apps ...
- 在 SharePoint 2013 中配置 Office Web Apps
原文发布于 2012 年 7 月 23 日(星期一) 如您所知或您即将知道,SharePoint 2013 中的 Office Web Apps 不再是 SharePoint 场中的服务应用程序.相反 ...
- Interoperability between Java and SharePoint 2013 on Premises
http://ctp-ms.blogspot.com/2012/12/interoperability-between-java-and.html Introduction One of the ...
- 优化移动设备上SharePoint 2013网站
优化移动设备上SharePoint 2013网站 本文由SPFarmer翻译自Waldek Mastykarz的文章 移动市场在持续的增长.在不远的将来,使用移动设备浏览站点将会超过电脑.为了保证用户 ...
- The Google Test and Development Environment (持续更新)
最近Google Testing Blog上开始连载The Google Test and Development Environment(Google的测试和开发环境),因为blogspot被墙,我 ...
- BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第3章节--SharePoint 2013 开发者工具 SharePoint中基于Web开发
BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第3章节--SharePoint 2013 开发者工具 SharePoint中基于Web开发 之前提到过, ...
- BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第1章节--SharePoint 2013 介绍 SharePoint 管理中心
BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第1章节--SharePoint 2013 介绍 SharePoint 管理中心 虽然这本书不重于管理.对 ...
- BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 总结
BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 总结 SharePoint Apps这三个新 ...
- BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 SharePoint 2013 App 模型
BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第2章节--SharePoint 2013 App 模型概览 SharePoint 2013 App 模型 你能够通过两个 ...
随机推荐
- 【转】使用 Android 的日志工具LogCat
Android中的日志工具类是 Log(android.util.Log),这个类中提供了如下几个方法来供我们打印日志. 1. Log.v() 这个方法用于打印那些最为琐碎的,意义最小的日志信息 ...
- 【转】 Java多态特性:重载和覆写的比较
Java重载: 在同一个类中 方法具有相同的名字,相同或不同的返回值,但参数不同的多个方法(参数个数或参数类型) public class MethoDemo{ public static void ...
- APUE 3rd
以下是APUE 3rd edition 的preface,从04年的第二版到现在的第三版,APUE内容有所更新.点击下载. It’s been almost eight years since I fi ...
- Apache Rewrite规则详解
参考链接:http://slj.me/2009/04/apache-rewrite-regular/ 1.Rewrite规则简介 Rewirte主要的功能就是实现URL的跳转,它的正则表达式是基于Pe ...
- 这两天使用JSP开发程序,记录一些基本方法
一.截取字符串 第一步 导入包:<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn ...
- python解析命令行参数
常常需要解析命令行参数,经常忘记,好烦,总结下来吧. 1.Python 中也可以所用 sys 的 sys.argv 来获取命令行参数: sys.argv 是命令行参数列表 参数个数:len(sys.a ...
- string format 格式化小数位
String具体的格式化数据的方法 int a = 12345678;格式为sring输出Label1.Text = string.Format("asdfadsf{0}adsfasdf&q ...
- django之创建第2个项目
如上为项目结构 1.创建项目helloworld 2.把目录切换到django/helloworld目录下创建blog站点 3.需要修改的信息如下: 1)修改blog站点的views.py # Cre ...
- P2093 零件分组【贪心算法练习题】
题目链接: http://codevs.cn/problem/4888/ https://www.luogu.org/problem/show?pid=2093 题目描述 某工厂生产一批棍状零件,每个 ...
- Ubuntu 安装asciidoc时默认推荐了巨大的安装包
$ sudo apt-get install asciidocReading package lists... DoneBuilding dependency tree Reading s ...