sharepoint continuous integration with vs online and azure - matthias einig

27
SharePoint Continuous Integration with VS Online and Azure Matthias Einig, MVP RENCORE AB

Upload: sharepoint-and-project-conference-adriatics

Post on 01-Jun-2015

139 views

Category:

Technology


1 download

DESCRIPTION

With the Cloud Services Azure and VS Online professional SharePoint Development has never been easier. Having the infrastructure available on demand and only paying per use allows you to build complete production-like SharePoint farms in no time at minimal costs. VS Online on the other hand provides everything you need to develop projects alone or in a team. SourceControl, WorkItems, TeamBuild, Automated Testing including the traceability of all of it and detailed reporting. Even better, with an MSDN subscription both VS Online and Azure is already included. This session will show you how to – use VS Online to automatically build your SharePoint solutions and apps – automatically deploy your SharePoint solutions to the staging farm with VS Online – automatically deploy your Provider Hosted Apps to SharePoint Online and Azure.

TRANSCRIPT

Page 1: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

SharePoint Continuous Integration

with VS Online and Azure

Matthias Einig, MVPRENCORE AB

Page 2: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig
Page 3: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

Who is that guy?

[email protected]

www.matthiaseinig.de

Matthias EinigCEO, SharePoint MVP

Stockholm, Sweden

Page 4: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

Continuous what?

Build centralized

Check Quality

Continuous

Integration

Code Quality

Build centralized

Check Quality

Deploy

Continuous

Deployment

Process Quality

Build centralized

Check Quality

Deploy

Test

Continuous

Delivery

Functional Quality

Page 5: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

Why?

•Fail fast and early in the development process

•Deliver smaller increments == less defects

•Know exactly what is deployed

•Reproducable

•No dependency on specific people

Page 6: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

Manual deployment

!=

Fun

Page 7: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

What should be included?

Farm Solutions

Apps

Database schema

Code

WSP, App, Data, PowerShell

Farm / Site settings

Site Structure

Feature Activations…

Configuration

Files, List Data

Taxonomies

Database Content…

Content

Page 8: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

Dev Challenges•Deployment of VMs time consuming, resource and performance hungry

•Multiple environments required (SP2010/2013, CUs/Service Packs, Websites, O365 tenants)

•Deployment/Testing requires „clean“ production-like environment

• VMs for different versions of the own solution(s)

•Deployment process complicated and error-prone

Page 9: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

The solution!

Source Control

Workitem Tracking

Project Management

Automated Build

Test Management

Analytics

Websites

Virtual Machines

Storage

Databases

Active Directory

Networks

Page 10: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

Source Control

Workitem Tracking

Project Management

Automated Build

Test Management

Analytics

Websites

Virtual Machines

Storage

Databases

Active Directory

Networks

Page 11: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

Why Cloud?

•Quick to set up

•Scalable

•Easy to tear down

•No IT Pros involved

• Included in MSDN subscription

•Pay per use

Page 12: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

CD for Farm/SB Solutions

VSO

QADEV

DEV

Page 13: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

CD FOR FARM/SB SOLUTIONS

Page 14: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig
Page 15: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig
Page 16: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig
Page 17: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig
Page 18: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

CD for Provider Hosted Apps

VSO

DEV

SPODev site

AzureDev site

SPOProd site

AzureProd site

Page 19: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

CD FOR PROVIDER HOSTED APPS

Page 20: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

CD for Farm/SB Solutions

VSO

QADEV

DEV

Page 21: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

Release Management Server

TFS

QA

DEV

RM

PROD

Page 22: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

Release Management 2013

Page 23: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

Release Management 2013

Page 24: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

Summary• Find problems earlier and save time & money

• VS Online + Azure = perfect for SharePoint CD

• Can be implemented in several steps

• Deployment of Farm Solutions with PowerShell

• Deployment of Apps with ootb VS Online

It‘s worth it!

Page 25: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

References• SharePoint Solution Deployer

spsd.codeplex.com

• SharePoint Code Analysis Frameworkspcaf.com

• SharePoint/TFS Continuous Integration Starter Pack (Chris O’Brien)matte.in/SharePointCI

• Continuous Integration for SharePoint (MSDN)matte.in/CI4SharePointMSDN

• Configure a TFS Build Server for SharePoint Projects (MSDN)matte.in/TFSBuild4SP

• Deploying Provider Hosted SharePoint Apps to Azure (Kirk Evans)matte.in/CDSPApp2Azure

Page 26: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

questions?

WWW.MATTHIASEINIG.DE

@MATTEIN

Page 27: SharePoint Continuous Integration with VS Online and Azure - Matthias Einig

thank you.

SHAREPOINT AND PROJECT CONFERENCE ADRIATICS

ZAGREB, 10/15/2014 - 10/16/2014