comment tirer partie de visual studio online pour vos développements sharepoint

35
Comment tirer partie de Visual Studio Online pour vos développements SharePoint Gilles Pommier – MVP Office 365 - SmartView

Upload: gilles-pommier

Post on 22-Aug-2015

169 views

Category:

Presentations & Public Speaking


4 download

TRANSCRIPT

Comment tirer partie de Visual Studio Online pour vos développements

SharePoint

Gilles Pommier – MVP Office 365 - SmartView

Qui suis-je ?

Gilles Pommier

Office 365 MVP, MCT and co-founder of SmartView http://www.smartview.fr –

[email protected]

SmartViewAgileSharePoint/Office 365Business IntelligenceCoaching/Training

Agile + SharePoint = OpenOffice365Adoption

Pablo, our Agile guy ! 3

Agenda

SharePoint and ALM Why use Visual Studio Online with SharePoint Demo for a sprint Demo for continuous build & deployment Demo for Load Testing

This session is not…

... a training on SharePoint development… a training on SharePoint

You already have SharePoint 2013 or Office 365

… a training on Agile/Scrum methodology

BUT : we will talk about those subjects all together

Audience

1. All SharePoint Developers (the old fashion ones and brand new ones)

2. Developers who are against afraid of SharePoint

3. Architects

Level of session : 300

Prerequisite #1

SharePoint farm is ready to use (or Office 365 )

Prerequisite #2

SharePoint Governance Plan has been created

Approaches To Delivering Solutions On SharePoint

Empowerment and Agility

IT Managed SOLUTIONS

Power UserSOLUTIONS

Information Worker SOLUTIONS

“Self Service”Leverage out of the box capabilities with configuration and customization

“IT Minor Project”Rapidly develop business solutions without having to write code

Sophistication and Control

“IT Major Project”Build (or buy) tailored solutions to address strategic requirements

Don’t forget this SP rule

Questions

I am developing Visual Studio SharePoint projects ?I am packaging all custom code as a WSP or APP ?I am using source control ?I am using SPDisposeCheck ?I am using a build server ?I am doing automated deployment ?I am doing unit testing/load testing ?

Why ?

SharePoint is a “business solution” TFS = too much investment (time, infrastructure, experts)

for just “20%” SharePoint development is not really development (but

this is legend)

Where are you?

No Source Control

Source control

Automated Builds

Automated Deployment

Automated Testing

What is Visual Studio Online ?

Agile

Build Test

Deploy

InsightsCode

Online

Online

VSO and SharePoint ?

SharePoint is a business software TFS = too much investment (time, infrastructure,

experts)

Demo VSOAgile

VSO and Scrum / Agile

Les possbilités de hosting

Developer Site

NapaµOffice 365 Development Tools

SharePoint-hosted App Autohosted App Provider-hosted App

Office 365 Development Environments

Visual StudioOffice Developer Tools

SharePoint Client Components

SharePoint 2013 Virtual Machines

SharePoint-hosted AppProvider-hosted App Server-side solution

On-Prem Development Environments

Visual StudioOffice Developer Tools

SharePoint Client Components

Demo VSO

Solution Deployment – SharePoint Hosted

On-Premises Farm(Integration/Systems testing environment)

Integration/Systems testing site collection

Office 365 SharePoint Online (Integration/Systems Testing site

collection)

Check in to Team Foundation Server

Deployment of compiled .app to SharePoint target environment

Test execution

Solution DeploymentVisual Studio

Office Developer ToolsSharePoint Client Components

Features, Package, manifest, etc.

Supporting files, certificate(s), etc.

Pages, JavaScript, libraries, etc.

SharePoint Continuous Integration Build Process Template/Workflow

SharePoint Continuous Integration App Deploy PowerShell Scripts (requires

SharePoint Online Management Shell extensions)

Team Foundation Server or Visual Studio Online

SharePoint App Build Definition

Coded UI/Build Verification Tests

SharePoint App Build Definition

On-Premises Farm(Integration/Systems testing environment)

Integration/Systems testing site collection

Office 365 SharePoint Online (Integration/Systems Testing site

collection)

Provider hosted infrastructure (Azure/IaaS/on-premises web and data)

Check in to Team Foundation Server

Deployment of compiled .app to SharePoint target environment

Approve application trust level

Deployment of cloud hosted components to target

infrastructure

Test execution

Solution Deployment – Provider Hosted

Visual StudioOffice Developer Tools

SharePoint Client ComponentsFeatures, Package,

manifest, etc.

Supporting files, certificate(s), etc.

Pages, JavaScript, libraries, etc.

Provider/Auto hosted Web Project

SharePoint App Project

SharePoint Continuous Integration Build Process Template/Workflow

SharePoint Continuous Integration App Deploy PowerShell Scripts (requires

SharePoint Online Management Shell extensions)

Team Foundation Server or Visual Studio Online

SharePoint App Build Definition

Coded UI/Build Verification Tests

SharePoint App Build Definition

VSO – SP and Continuous Integration

Demo VSOContinuous integration & deployment

Trusting the App !

Demo VSOLoad Testing in the cloud

http://www.visualstudio.com/en-us/get-started/hosted-build-controller-vs.aspxQ:Does your build process take less than an hour to run?A:Yes. Then you can use the hosted build controller.Q:Does your build process use less that 75GB of total storage on a build server?A:Yes. Then you can use the hosted build controller.Q:Do any of the processes for your build need administrator privileges?A:No. Then you can use the hosted build controller.Q:Do you need to log on to the build server?A:No. Then you can use the hosted build controller.Q:Do you need to run your build service in interactive mode?A:No. Then you can use the hosted build controller.

Please check also TFS vs VSO : http://msmvps.com/blogs/vstsblog/archive/category/1513.aspx

Hosted build controller , some restrictions

Sign in to VSO if you haven’t already done VSO works well with SharePoint, helps your

team process, tools, and delivery for free … more or less No need to setup your own infrastructure Get infra in the cloud when you need it Scale out easily

Last but not least : SharePoint Development is REAL development !

So ! some important things to keep in mind

Some materials

Hosting a TFS Build Controller on Windows Azure and connecting to Visual Studio Online : here

Build and test a Windows Store app using Team Foundation Build : here

Code samples for SharePoint 2013 : here Walkthrough: Creating a O365

SharePoint 2013 App with ASP.NET MVC 5 : here

Thanks!

Thank you for your attention!This presentation will be available on the Casablanca SharePoint Days web site after the event.

Merci de votre attention !Cette présentation sera disponible sur le site internetde SharePoint Days Casablanca, après l’événement.

SVP évaluez ma session!Complétez le sondage et courez la chance

de gagner une tablette Surface

Please rate this session!Fill out the survey and get a chance to win a Surface