Extending the Visual Studio 2010 Code Editor to Visualize Runtime IntelligenceBill Leach (CTO) and Gabriel Torok (CEO)PreEmptive Solutions
www.preemptive.com
FT23
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
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.
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
Extending the Visual Studio Editor
Gabriel TorokPreEmptive Solutions
Keynote Extension Demo
Extending the Visual Studio Editor
Bill LeachCTOPreEmptive Solutions
One more time – with the curtain lifted…
Let’s Build It…> Margin> Document Map and Method Tracking> Inline Adornments
Custom margin
Viewport tracking
MEF Export
Margin
Extending the Visual Studio Editor
Demo: Creating the Margin
Where Are We?> Margin> Document Map and Method Tracking> Inline Adornments
Glyphs to track methods in the
source file
Data Management
Background Parsing
Extending the Visual Studio Editor
Demo: Building the Document Map
Where Are We?> Margin> Document Map and Method Tracking> Inline Adornments
Inline WPF control
adornment
Lightbox adornment for
target method(s)
Adornment Handling MEF Exports
Extending the Visual Studio Editor
Demo: Embedding Adornments Inline
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.
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”
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.
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
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
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
YOUR FEEDBACK IS IMPORTANT TO US! Please fill out session evaluation
forms online atMicrosoftPDC.com
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….
© 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.