Pages

Thursday, July 18, 2013

Configure SharePoint 2013 for Apps

This blog is part of Series : Comprehensive SharePoint 2013 Development Environment Installation and Configuration

Overview

This blog article discusses how to configure your environment for SharePoint 2013 Apps.

Reference: http://technet.microsoft.com/en-us/library/fp161236.aspx

Steps

Create new Zone

Under your DNS, first create a forward lookup zone for the app domain name

clip_image001[1]

clip_image002

clip_image003

clip_image004

clip_image005

clip_image006

clip_image007

Create a wildcard Alias (CNAME) record for the new domain name

clip_image008

clip_image009

clip_image010

clip_image011

Ensure Servers are started

clip_image012

Validate Service Applications

Create Subscripts Settings Service Application via Powershell

# Gets the name of the managed account and sets it to the variable $account for later use.

$account = Get-SPManagedAccount corp\spservices

# Creates an application pool for the Subscription Settings service application.
# Uses a managed account as the security account for the application pool.
# Stores the application pool as a variable for later use.

$appPoolSubSvc = New-SPServiceApplicationPool -Name SettingsServiceAppPool -Account $account

# Creates the Subscription Settings service application, using the variable to associate it with the application pool that was created earlier.
# Stores the new service application as a variable for later use.

$appSubSvc = New-SPSubscriptionSettingsServiceApplication –ApplicationPool $appPoolSubSvc –Name SettingsServiceApp –DatabaseName SettingsServiceDB

# Creates a proxy for the Subscription Settings service application.

$proxySubSvc = New-SPSubscriptionSettingsServiceApplicationProxy –ServiceApplication $appSubSvc

clip_image013

clip_image014

clip_image015

Configure App Domain

Set-spappdomain -appdomain "mydomainapps.com"

Set-spappSiteSubscriptionName -Name "app"

clip_image016

Configure the app URLs to use

clip_image017

clip_image018

clip_image019

clip_image020

clip_image021

clip_image022

clip_image023

clip_image024

clip_image025

From your VS.net 2012 create a new sample App

clip_image026

clip_image027

clip_image028

clip_image029

clip_image030

1 comment:

محمّد سددقالی . سوفٹوارے ڈولوپر said...

Excellent post Rajesh. Thanks for your simple step by step and detailed description