+ All Categories
Home > Documents > Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Date post: 22-Feb-2016
Category:
Upload: kermit
View: 35 times
Download: 0 times
Share this document with a friend
Description:
FT23. Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence. Bill Leach (CTO) and Gabriel Torok (CEO) PreEmptive Solutions www.preemptive.com. Agenda and Goals of This Session. Motivations and objectives for integrating Runtime Intelligence and Visual Studio 2010 - PowerPoint PPT Presentation
Popular Tags:
29
Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence Bill Leach (CTO) and Gabriel Torok (CEO) PreEmptive Solutions www.preemptive.com FT23
Transcript
Page 1: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Extending the Visual Studio 2010 Code Editor to Visualize Runtime IntelligenceBill Leach (CTO) and Gabriel Torok (CEO)PreEmptive Solutions

www.preemptive.com

FT23

Page 2: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Agenda and Goals of This Session> Motivations and objectives for

integrating Runtime Intelligence and Visual Studio 2010

> Demonstration and code walk> Key takeaways and summary

Page 3: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Runtime Intelligence

> Application, feature-usage, & environmental data collected from the field> Dotfuscator (Suite and CE in Visual Studio

2010) injects instrumentation> Runtime Intelligence Service aggregates,

analyzes and distributes runtime intelligence data allowing you to make better decisions faster.

Page 4: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Motivations and objectives> Improve software quality and

developer productivity> Higher return on development

investments> http://channel9.msdn.com/shows/10-4/10-4-

Episode-35-PreEmptive-Solutions-Runtime-Intelligence/

“With Visual Studio 2010 and Runtime Intelligence, usage data can be surfaced throughout the development lifecycle for all developers

to help them further improve software quality based on real-world usage patterns.“

Jason Zander, general manager Visual Studio at Microsoft Corp.

“Developers no longer need to rely solely on spotty support tickets and in-house testing to gauge what features are really being used and to what end.” – Gabriel Torok

Page 5: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Extending the Visual Studio Editor

Gabriel TorokPreEmptive Solutions

Keynote Extension Demo

Page 6: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Extending the Visual Studio Editor

Bill LeachCTOPreEmptive Solutions

One more time – with the curtain lifted…

Page 7: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Let’s Build It…> Margin> Document Map and Method Tracking> Inline Adornments

Page 8: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Custom margin

Viewport tracking

Page 9: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

MEF Export

Margin

Page 10: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Extending the Visual Studio Editor

Demo: Creating the Margin

Page 11: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Where Are We?> Margin> Document Map and Method Tracking> Inline Adornments

Page 12: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Glyphs to track methods in the

source file

Page 13: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Data Management

Page 14: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Background Parsing

Page 15: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Extending the Visual Studio Editor

Demo: Building the Document Map

Page 16: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Where Are We?> Margin> Document Map and Method Tracking> Inline Adornments

Page 17: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Inline WPF control

adornment

Lightbox adornment for

target method(s)

Page 18: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Adornment Handling MEF Exports

Page 19: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Extending the Visual Studio Editor

Demo: Embedding Adornments Inline

Page 20: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Helping You Build Better Software

• Application, Versions, Features, and Methods

What’s Running?

• Stability, Performance, and Patterns / Practices

How’s it Doing?

• Hosted vs non-hosted, across application versions

How’s it Compare

?

• Business Outcome, and R&D ROI

Is it Making a

Difference?

• Measure stability and quality• Measure usage, patterns and coverage• Reduce end user burden and improve

participation

Beta Cycle

• Automate end-user experience improvement program

• Measure business impact• Measure and improve R&D ROI

Production Lifecycle

• Connect usage to sales cycle• Manage de-activation and/or extension

Evaluation Process

Use Case Scenarios

Any extension of Visual Studio should provide actionable value, not just eye candy.

Page 21: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Key Takeaways> Our integration not possible with VS

2008.> Amount of work to enable extension is

very reasonable – most work is in data management, parser, WPF controls, etc.

> WPF makes it easy to look like a rock star.

> If you can’t sing get a voice coach. Involve a UI Designer to help you look like a rock star.

> “No blinky tags”

Page 22: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

In Summary> Two predictions for when we meet

here again at the next PDC:1. Many of you will be using runtime

intelligence to make better decisions faster.

2. There will be lots of cool VS2010 code editor extensions available.

Page 23: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Visual Studio Extensibility Resources> Visual Studio SDK:

msdn.com/vsx> Visual Studio Blog: blogs.msdn.com/

visualstudio> VSX Samples:

code.msdn.com/vsx> Extensions Gallery:

visualstudiogallery.msdn.com/vsx

Page 24: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Resources> WPF Data Visualization Toolkit:

wpf.codeplex.com> Managed Extensibility Framework:

mef.codeplex.com> PreEmptive Solutions Blog:

www.preemptive.com/blog> Runtime Intelligence Portal:

www.runtimeintelligence.comSee PreEmptive in booths 216 & 217

Page 25: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Related TalksCode Visualization, UML, and DSLs Cameron Skinner Tuesday 4:30 PMExtending the Microsoft Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Gabriel Torok & Bill Leach Wednesday 4:30 PM

A Lap Around Microsoft Visual Studio and Team Foundation Server 2010

Cameron Skinner & Mario Rodriguez Thursday 10:00 AM

Microsoft Visual Studio Lab Management to the Build Setup Rescue Vinod Malhotra Thursday 10:00 AM Scrum in the Enterprise and Process Customization with Microsoft Visual Studio 2010

Simon Bennett & Stuart Preston Thursday 1:45 PM

Advanced Diagnostics, IntelliTrace™ and Test Automation Habib Heydarian Thursday 1:45 PM

Power Tools for DebuggingKapil Vaswani & Sandeep Karanth Thursday 3:00 PM

Automating "Done Done" in the Team Workflows with Microsoft Visual Studio Ultimate and Team Foundation Server 2010

Jamie Cool & Brian Randell Thursday 3:00 PM

Page 26: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

YOUR FEEDBACK IS IMPORTANT TO US! Please fill out session evaluation

forms online atMicrosoftPDC.com

Page 27: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Learn More On Channel 9> Expand your PDC experience through

Channel 9

> Explore videos, hands-on labs, sample code and demos through the new Channel 9 training courses

channel9.msdn.com/learnBuilt by Developers for Developers….

Page 28: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Page 29: Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence

Recommended