+ Agile BuildTest Deploy Insights Code.

36

Transcript of + Agile BuildTest Deploy Insights Code.

Page 1: + Agile BuildTest Deploy Insights Code.
Page 2: + Agile BuildTest Deploy Insights Code.

Tarek MadkourGPM – Visual Studio IDEMicrosoft Corp.

@tarekmadkour✉ [email protected]

Money, Fame, and Flexibility: New Extensibility for Visual Studio and Visual Studio Online

2-772

Will SmythePM – Visual Studio OnlineMicrosoft Corp.

@willsmythe✉ [email protected]

Sam HarwellLead EngineerCoverity by Synopsys

@samharwell✉ [email protected]

Page 3: + Agile BuildTest Deploy Insights Code.

Why do it? Why me?Targeting the VS clientDemo and CodeTargeting VS OnlineMore Demos

Agenda

Page 4: + Agile BuildTest Deploy Insights Code.

… a way to add or modify VS

functionality for yourself and for

others …

What is an Extension?

Page 5: + Agile BuildTest Deploy Insights Code.

Published to the VS Gallery

Page 6: + Agile BuildTest Deploy Insights Code.

For >1M Developers

Visual Studio Enterprise

Visual Studio Professional

Visual Studio Community

+

Page 7: + Agile BuildTest Deploy Insights Code.

Online

Page 8: + Agile BuildTest Deploy Insights Code.

Agile

Build Test

Deploy

InsightsCode

Cloud services for busy teams

Page 9: + Agile BuildTest Deploy Insights Code.

Why Build An Extension?

for you

for your team

for money and fame

for reach

for fun and community

$$

OpenSource

Page 10: + Agile BuildTest Deploy Insights Code.

Targeting the Visual Studio IDE Client

Sam HarwellLead EngineerCoverity by Synopsys

@samharwell✉ [email protected]

Page 11: + Agile BuildTest Deploy Insights Code.

What Is Possible?

Providing a new command

Page 12: + Agile BuildTest Deploy Insights Code.

What Is Possible?

Adding a new tool window

Page 13: + Agile BuildTest Deploy Insights Code.

What Is Possible?

Adding a debugger visualizer

Page 14: + Agile BuildTest Deploy Insights Code.

What Is Possible?

Adding a refactoring option

Page 15: + Agile BuildTest Deploy Insights Code.

• Simplified, practical templates• Open-source samples extensions• “Clone and Go”• Many use MIT and/or Apache 2.0 licenses

• Friendly faces, friendly people

Dive In

Page 16: + Agile BuildTest Deploy Insights Code.

• Target multiple versions of Visual Studio

• New APIs or old – use what you need

DevelopNew in 2015:

Roslyn analyzers

Light bulbs

Image service (high-DPI)

Asynchronous service provider

Common Project System

Rule-based UI context engine

Page 17: + Agile BuildTest Deploy Insights Code.

• Simplicity• “VSIX” packaging supports almost every scenario• Straightforward installation and upgrades

• Quality• Unmatched performance• High DPI support• Revisiting localization

• Audience• With Community Edition, nearly all users have access to extensions

Deliver

Page 18: + Agile BuildTest Deploy Insights Code.

Developing an extensionDemo

Page 19: + Agile BuildTest Deploy Insights Code.

Targeting Visual Studio Online

Will SmythePM – Visual Studio OnlineMicrosoft Corp.

@willsmythe✉ [email protected]

Page 20: + Agile BuildTest Deploy Insights Code.

Teams today typically use a mix of tools and services to develop, build, test, and release software…

Support/feedbackBuildPlanning Collaboration

Page 21: + Agile BuildTest Deploy Insights Code.

Visual Studio Online and TFS have the integration points necessary to weave a solution that is perfectly tailored for your teams and processes …

Page 22: + Agile BuildTest Deploy Insights Code.

Integrate with virtually any tool or service

Built on open standards (REST, JSON, web hooks, OAuth 2)

Enables integration from virtually all platforms, devices, and services

First-class integration within VSO web access

Integrate custom services

Public gallery for extension discovery (future)

Marketplace for simplified building (future)

Connect Visual Studio Online to your favorite tools and services

Create first-class, integrated experiencesPrevie

w

Page 23: + Agile BuildTest Deploy Insights Code.

• Lightweight and easy to work with

• Integrate from virtually any device,

platform, or technology stack • Common API set between VSO and

TFS • OAuth 2.0 support

REST APIsAPIs:

Build

Work item tracking

Version control

Git

Test management

Team room

Service hooks

Account and profile

Collection, project, and team

https://www.visualstudio.com/integrate/api/overview

Page 24: + Agile BuildTest Deploy Insights Code.

• Send notifications or perform actions on external services when events happens in your project

• Supports popular services like Slack and Trello out-the-box

• Avoids delays typically seen with polling

Service hooksEvents: build completed, code checked in, work item changed, pull request, and more.

Services: AppVeyor, Campfire, Flowdock, HipChat, Jenkins, Kato, MyGet, Slack, Trello, UserVoice, Zendesk, Zapier, and more…https://www.visualstudio.com/get-started/integrate/integrating-with-service-hooks-vs

Page 25: + Agile BuildTest Deploy Insights Code.

Service hooksDemo

Page 26: + Agile BuildTest Deploy Insights Code.

Extensions for VS Online

Create integrated experiences within Visual Studio Online (like you can do in Visual Studio)

Develop one extension that works in both VSO and TFS (fall 2015)

Publish and discover extensions in a central gallery

Page 27: + Agile BuildTest Deploy Insights Code.

Where you can plug in ...

Actions in context menus and toolbars

Hubs (like Commits, Backlogs) and hub groups (like Work)

In the future .. project overview tiles, build and release tasks, work item forms, and more.

Page 28: + Agile BuildTest Deploy Insights Code.

First look: extensionsDemo

Page 29: + Agile BuildTest Deploy Insights Code.

Baseline Analysis From eDev

Page 30: + Agile BuildTest Deploy Insights Code.

Work Item Visualization (Example)

From Jeff Levinson, Microsoft

Page 31: + Agile BuildTest Deploy Insights Code.

Impact Analysis (Example)From VSAnywhere

Page 32: + Agile BuildTest Deploy Insights Code.

Want To Get Started?

Page 33: + Agile BuildTest Deploy Insights Code.

• Visit the VS Extensibility website to learn morehttp://aka.ms/extendvs

• Watch the in-depth video for creating VS IDE extensions

http://aka.ms/vsixvideo• Create an extension and publish it to the VS Gallery

http://visualstudiogallery.com• Invite others to collaborate on GitHub

http://microsoft.github.io/extendvs

Want To Get Started?

Page 34: + Agile BuildTest Deploy Insights Code.

• Take the Code Challenge

• Visit the Partner Program boothhttp://www.vsipprogram.com/join

• Visit the Visual Studio Partner booths

Resources at //BUILD/

Page 35: + Agile BuildTest Deploy Insights Code.

What?

Talk to a Visual Studio team member about your experience with Extensibility of VS and VSO and have an early look at what we’re developing

Share your story, see what’s new!

When?

Schedule a time with George Englebeck in the back of the room or email [email protected]

Why?

Your input and feedback will influence future Visual Studio tools

Page 36: + Agile BuildTest Deploy Insights Code.

© 2015 Microsoft Corporation. All rights reserved.