Practical SharePoint 2013 Development Environment

Preview:

DESCRIPTION

SharePoint 2013 Business Intelligence for Business Users: Designed for busy information workers and executives, this presentation will focus on the new SharePoint 2013 Business Intelligence capabilities coupled with Excel 2013, Excel Services, Performance Point and Dashboard Designer, Reporting Services with Report Designer. Learn how new capabilities in SharePoint 2013 can help you implement your BI strategy. We’ll also share a self-service model to help you quickly and easily augment decision-making with SharePoint’s powerful BI features while reducing your reliance on IT. Practical SharePoint 2013 Development Environment: Technical professionals will learn tips and tricks based on a tested exercise of building out an effective SP 2013 Development environment with Windows 2012 Active Directory and DNS, Exchange 2013, SQL Server 2012 with BI Components, SP 2013 with BI Support, OWA 2013, and Workflow Manager. Learn about the real-world challenges to build a SharePoint 2013 Development Environment. We’ll share best practices based on an orderly step-by-step process developed by Netwoven to successfully install and configure development environments.

Citation preview

Practical SharePoint 2013 Development Environment

Rajesh Agadi

Netwoven Inc

My Bio

• Over 18 years of Consulting Experience• Focused on Microsoft Stack of ECM• Worked and deployed across all SharePoint versions.• Organizational Portals/Extranets/Public

Sites/Migration/Branding/Workflows/Custom• Infrastructure/Information/Technical Architecture and

Hardcore development.• Held Consulting Architecture and Organizational Leadership

roles.• MCSD and MSTS in SharePoint• http://www.linkedin.com/in/rajeshagadi• http://rajeshagadi.blogspot.com/

Netwoven

Customers

TECHNOLOGY

CONSULTING

Agenda

• Challenges and Goals

• Baseline Requirements

• Developer Scenarios

• Options

• Infrastructure Design

• Installations

• My Wish List

• Personal Experience

• Highlights

• Points to note

• Evolving

Quick Reflect Back

SharePoint Evolution

Apps

Branding

Enhanced BI

Enhanced Content

management

Enhanced Mobile

Performance

Storage

eDiscovery

SharePoint 2013

Service Application

BI

Infrastructure

Performance

Mobile

SharePoint 2010

Business Platform

Web Content Management

Business Connectivity

Services

Excel Services

Workflow

Enhanced My Sites

SharePoint 2007

Portal Server

Team Sites

Search

SSP

SharePoint 2003

Portal Server(2001)

Team Service (2002)

Digital Dashboard

SharePoint 2001

Sites

List/Libraries

Team Sites

Apps

REST

Claim

OAuth

Service Application

SandBox

CSOM

TRUE ASP.Net

Solutions

ServerSideOB

WSS1.0

SPS 2013

ASP.Net

Ran Inside IIS

ASP

Database

STS

FPES

Folder Based

Evolution of SharePoint Execution Model

Developer Entry Points

• WCF Web Serivice _vti_bin/ client.svc.->JavaScript• RESRful endpoint _api/ Maps to _vti_bin/ client.svc.

_api/publishing_api/search

Developer Scenarios

• Farm Solution

• Branding

• Workflow

• Apps for SharePoint

• Apps for O365

• BI Development

Server Environment

Browser

Workflow Manager

Sub Domain Setup

O365 Developer Site

SQL Server Components

MS Guidelines

• x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable

• Windows Server 2008 R2 Service Pack 1 x64 or Windows Server 2012

• Develop apps for SharePoint for SharePoint 2013 on Windows 7 or Windows 8, you can sign up for an Office 365 Developer Site and develop apps remotely

• Installing SharePoint 2013 on client operating systems (such as Windows 7) is not supported

Options

• All Inclusive Single Server Farm under Corp Network– AutoSPInstaller (http://autospinstaller.codeplex.com)

– AutoSPInstallerGUI (http://autospinstallergui.codeplex.com)

– Using AutoSPInstall to install SharePoint 2013 (http://rajeshagadi.blogspot.com/2013/03/using-autospinstall-to-install.html)

– Still need additional Servers

• Laptop VM – Search/Distributed Cache

• Memory Hungry

– Not efficient

Goals

• *Independent Development Environment

• Comprehensive Setup for Development Opportunities

• Modern Software (2012+2013 Editions)

• Ability to Make and Break

• Repeatability

Platform Combination Map

• Windows 2012 AD, DNS, CA, Exchange 2013

• SQL Server 2012 with BI Components

• SP 2013 with BI Support

• OWA 2013

• Workflow Manager

• VS.Net 2012 (TFS 2012)

• SPD 2013

Foundational Infrastructure

• Hardware (~$2K)– TYAN S8230, Up to 128GB, G34 / (2) – AMD 45nm 8-Core/12-Core Opteron 6100 Series

Processors

• Virtualization– VMWare Server Free (End of support June 30, 2011)– VMWare Workstation

• Sysprep OS Images– Win 2012

• Linked Clone

Infrastructure Design

• DC+DNS+CA• SQL Server• Exchange Server• SP 2013-WFE (Development)• SP 2013-APP1• SP 2013-APP2• OWA• Work Management• UAG

AD

• Static IP

• Choose appropriate Domain and NetBIOS Name

DNS

• Ensure Forwarders are in place

CA

Import-Module ServerManagerAdd-WindowsFeature Adcs-Cert-Authority -IncludeManagementToolsAdd-WindowsFeature Adcs-Enroll-Web-Svc -IncludeAllSubFeature -IncludeManagementToolsAdd-WindowsFeature ADCS-Web-Enrollment -IncludeAllSubFeature -IncludeManagementTools

Preparation on DC

• Service Accounts

• Profile Account configuration

• Implement A record for your Web AppsApp DNS IP

Portal Web Application Portal.mydomain.com 192.168.1.37 (Pointing to SP2013WFE)

My Site Web Application MySite.mydomain.com 192.168.1.37 (Pointing to SP2013WFE)

Search Center Wep Application Search.mydomain.com 192.168.1.37 (Pointing to SP2013WFE)

SQL Server Readiness

• DB Engine + Integration Services

• Analysis Services (MDM and Tabular)

SQL Server Protocols and Ports

• Open Portal (http://support.microsoft.com/kb/968872)

• Enable Named Pipes and TCP/IP

• SQL Server Rights for SharePoint Install Account

SharePoint Servers Readiness

• Windows 2012 Installed, syspreped.

• Linked Cloned Instances

• Setup service account >local administrator.

• Optional SQL Server Alias

• Ensure SQL Connectivity from SharePoint Server

SharePoint Software Readiness

• SP2013 RTM + March 2013 PU Slipstreamed

• April/June 2013 CU separate Install (No Slipstream)

• Complete Install

Configuration Wizard

Desired Services Topology

• Complete Farm Configuration Wizard

Server Role

SP2013WFE Web Applications

SP2013APP1 Central Administration All Service Applications except the Search

SP2013APP2 Dedicated Search Service Application

Web Apps

• Portal

• MySites

• Enterprise Search

• Extranet

• *Configure Object Cache User– Web App Policies

– PowerShell script to set properties (Claim code for User ID)– http://technet.microsoft.com/en-us/library/ff758656.aspx

User Profile Synchronization

• Local Security Policy->Log on locally (FarmAdmin)

• Add to local admin (FarmAdmin)

• Wait…………….

Configure Search on Dedicated Server

• Custom PowerShell script

Reporting ServicesInstall RS in SP Mode

Install RS Add In

Install SQL 2012 SP1

KB2793634 Run Install-SPRSxx command

Start SSRS Service

SP2013WFE (Where SSRS will run)

Yes Yes Yes Yes Yes Yes

SP2013APP1(Hosts CA)

No Yes Yes No Yes No

SP2013APP2(All Other servers)

No Yes Yes No No No

Install PowerPivot for SharePointInstall Configure

SP2013WFE Yes Yes

SP2013APP1 Yes No

SP2013APP2 Yes No

Office Web Apps 2013

1. Install OOTB + CU

2. New OWA Farm PowerShell cmdlet

3. SP Farm binding with OWA Farm cmdLet

• *http(s)

• Browser Compatibility Issues

• False Office Compatibility error message

• Beware of Excel OWA do not support Excel Data Connections (Excel Web App Web Part)

• Use Document Edit option to use Rich Client

Configuring for Apps

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

Configuring for Apps

Configuring for Apps

Workflow Manager

• Install Workflow Manager – (http://technet.microsoft.com/en-us/library/jj193525.aspx)

• Create New Workflow Farm – (http://technet.microsoft.com/en-us/library/jj193514.aspx)

• Service Buss Configuration

• Configuring Development and Client Machines for Workflow Manager 1.0

– (http://technet.microsoft.com/en-us/library/jj658562.aspx)

Install Development Tools

• VS.Net 2012

• Office Developer Tools VS.Net 2012

• SQL Server Data Tools for VS.Net 2012

Several Downloads and Installs Several PowerShell Scripts Sequence is important Ensure appropriate configuration parameters Complete baseline install and configuration Start Development

Uncover several security and further configuration requirements

• Outcome– Inefficiencies in starting effective development

My Wish List For Install and Configuration

• Unified Installation Solution (Patches/Roles)

• Centralized and Remote Farm Installation

• Central Administration based Roles Configuration

My Wish list for Developers

• Universal Development Tools Installer

• Centralized Configuration Assistance

• Better ULS/IIS Log/Debug Review Panel

• Early documentation release

• Clarity with better examples

True Farm Installation Wizard

• Targeted to Server Roles

– Hence mandatory services are selected for you per server role

– Service Account prompt based standardized least security guidance

– Key Feature Search Topology is only PowerShell driven.

– SP 2003/2007 supported topology configuration over browser

Now I am Too Greedy!!!!

• MS preaches do less custom in SP 2013 and stay OOTB

• Lack True Global Navigation OOTB

• Lack OOTB Consistent Breadcrumb across CA and Site Templates

• SP 2010 Hierarchical Nav control is hidden in SP 2013

SharePoint 2013

SharePoint 2010

SharePoint 2007

SharePoint 20XX

Feature Parity with On-Prem and Cloud

Sell to IT Sell to Business

Code and Run Inside Code and Run Outside

More Resource Demanding

Open Platform

More Workloads

Standards Support

Trend

Join us right after the event at the Firehouse Grill! Socialize and unwind after our day of learning.

1765 E. Bayshore RoadEast Palo Alto, CA

Recommended