Upload
gilles-pommier
View
169
Download
4
Tags:
Embed Size (px)
Citation preview
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 –
SmartViewAgileSharePoint/Office 365Business IntelligenceCoaching/Training
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
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
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
VSO and SharePoint ?
SharePoint is a business software TFS = too much investment (time, infrastructure,
experts)
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
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
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
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.