1 / 29

Extending the Microsoft Visual Studio 2010 Code Editor to Visualize Runtime Intelligence Data

Required Slide. SESSION CODE: DEV306. Extending the Microsoft Visual Studio 2010 Code Editor to Visualize Runtime Intelligence Data. Joe Kuemerle Lead Developer PreEmptive Solutions - www.preemptive.com. Agenda. Overview of Runtime Intelligence

kaylana
Download Presentation

Extending the Microsoft Visual Studio 2010 Code Editor to Visualize Runtime Intelligence Data

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Required Slide SESSION CODE: DEV306 Extending the Microsoft Visual Studio 2010 Code Editor to Visualize Runtime Intelligence Data Joe Kuemerle Lead Developer PreEmptive Solutions - www.preemptive.com

  2. Agenda • Overview of Runtime Intelligence • Motivations for integrating Runtime Intelligence and Visual Studio 2010 • Visual Studio 2010 Editor Extension Walkthrough • Visual Studio 2010 Editor Extension Code

  3. 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.

  4. Runtime Intelligence Use Cases • What’s running • What applications, versions of applications, components and features within applications, and methods within those features? • Under what conditions? • What operating system and framework, cpu, memory, and disk capacity? What about screen resolution or video chip? • How’s it doing? • How stable, what are the performance characteristics, what usage patterns are emerging? • How does it compare? • Are new features being adopted, is the hosted version performing better than the installed equivalent? • Is it making a difference? • What is the development ROI? Are sales increasing, productivity improving, and satisfaction trending upwards?

  5. Motivations • Improve software quality • Higher return on development investment • Reduces risk of low customer involvement • Increases developer awareness of usage scenarios

  6. Editor Extension Walkthrough Joe KuemerleLead DeveloperPreEmptive Solutions DEMO

  7. Editor Extension Code • Margin • Document Map and Method Tracking • Inline Adornments

  8. Margin Custom margin Viewport tracking

  9. Margin Components MEF Export

  10. Creating the Margin Joe KuemerleLead DeveloperPreEmptive Solutions DEMO

  11. Editor Extension Code • Margin • Document Map and Method Tracking • Inline Adornments

  12. Document Map Glyphs to track methods in the source file

  13. Data Management

  14. Background Parsing

  15. Building the Document Map Joe KuemerleLead DeveloperPreEmptive Solutions DEMO

  16. Editor Extension Code • Margin • Document Map and Method Tracking • Inline Adornments

  17. Inline Adornments Inline WPF control adornment Lightbox adornment for target method(s)

  18. Adornment Handling MEF Exports

  19. Embedding Adornments Inline Joe KuemerleLead DeveloperPreEmptive Solutions DEMO

  20. 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

  21. Visual Studio Extensibility Resources • Visual Studio SDK http://msdn.com/vsx • Visual Studio Blog http://blogs.msdn.com/visualstudio • VSX Samples on Code Gallery http://code.msdn.com/vsx • Extensions Gallery http://visualstudiogallery.msdn.microsoft.com/

  22. 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.com • Runtime Intelligence for CodePlex projects runtimeintelligence.codeplex.com See PreEmptive in booth #318

  23. Required Slide Speakers, please list the Breakout Sessions, TLC Interactive Theaters , Labs and Demo Stationsthat are related to your session. Related Content • DEV402 : Build Your Own Cool Visualizations Using DGML • DEV403 : Building Extensions for the Microsoft Visual Studio Architecture Tools • DPR306 : Metrics That Matter: Real Measures to Improve Software Development • DEV05-INT : What's Wrong with My .NET Extensible MEF Application? • DPR05-INT : Developers Are from Mars, Testers Are from Venus • DEV08-INT : Using Microsoft Visual Studio 2010 to Understand Your Applications • DEV03-HOL : Code Discovery Using Microsoft Visual Studio 2010 Ultimate Architecture Tools • DEV06-HOL : Introduction to Managed Extensibility Framework

  24. Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Track Resources • Visual Studio – http://www.microsoft.com/visualstudio/en-us/ • Soma’s Blog – http://blogs.msdn.com/b/somasegar/ • MSDN Data Developer Center – http://msdn.com/data • ADO.NET Team Blog – http://blogs.msdn.com/adonet • WCF Data Services Team Blog – http://blogs.msdn.com/astoriateam • EF Design Blog – http://blogs.msdn.com/efdesign

  25. Required Slide Resources Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers http://microsoft.com/technet http://microsoft.com/msdn

  26. Required Slide Complete an evaluation on CommNet and enter to win!

  27. Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registrationJoin us in Atlanta next year

  28. © 2010 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.

  29. Required Slide

More Related