44

Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •
Page 2: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

Practical SharePoint 2013 Development Environment

Rajesh Agadi

Netwoven Inc

Page 3: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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/

Page 4: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

Netwoven

Customers

TECHNOLOGY

CONSULTING

Page 5: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 6: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 7: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

Evolution of SharePoint Execution Model

Page 8: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

Developer Entry Points

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

_api/publishing_api/search

Page 9: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 10: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 11: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 12: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

Goals

• *Independent Development Environment

• Comprehensive Setup for Development Opportunities

• Modern Software (2012+2013 Editions)

• Ability to Make and Break

• Repeatability

Page 13: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 14: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 15: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

Infrastructure Design

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

Page 16: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

AD

• Static IP

• Choose appropriate Domain and NetBIOS Name

Page 17: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

DNS

• Ensure Forwarders are in place

Page 18: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

CA

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

Page 19: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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)

Page 20: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

SQL Server Readiness

• DB Engine + Integration Services

• Analysis Services (MDM and Tabular)

Page 21: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 22: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 23: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

SharePoint Software Readiness

• SP2013 RTM + March 2013 PU Slipstreamed

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

• Complete Install

Page 24: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

Configuration Wizard

Page 25: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 26: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 27: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

User Profile Synchronization

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

• Add to local admin (FarmAdmin)

• Wait…………….

Page 28: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

Configure Search on Dedicated Server

• Custom PowerShell script

Page 29: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 30: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

Install PowerPivot for SharePointInstall Configure

SP2013WFE Yes Yes

SP2013APP1 Yes No

SP2013APP2 Yes No

Page 31: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 32: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

Configuring for Apps

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

Page 33: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

Configuring for Apps

Page 34: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

Configuring for Apps

Page 35: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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)

Page 36: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

Install Development Tools

• VS.Net 2012

• Office Developer Tools VS.Net 2012

• SQL Server Data Tools for VS.Net 2012

Page 37: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 38: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

My Wish List For Install and Configuration

• Unified Installation Solution (Patches/Roles)

• Centralized and Remote Farm Installation

• Central Administration based Roles Configuration

Page 39: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 40: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 41: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 42: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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

Page 43: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •
Page 44: Practical SharePoint 2013 Development Environment · MS Guidelines • x64-capable CPU, and at least 16 GB of RAM to install and run SharePoint 2013; 24 GB of RAM is preferable •

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