Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence<br />	Joe Kuemerle<br />	PreEmptive Solutio...
Background of Joe Kuemerle<br />Lead Developer at PreEmptive Solutions<br />Over 15 years of development experience with a...
PreEmptive Solutions, LLC Background<br />3,000 corporate clients<br />Over 40,000 registered installations in 100+ countr...
Agenda<br />Overview of Runtime Intelligence<br />Visual Studio 2010 Editor Extension Walkthrough<br />Visual Studio 2010 ...
Runtime Intelligence<br />Application, feature-usage, & environmental data collected from the field<br />Dotfuscator (Suit...
Application Analytics?   CEIP!<br />
What can you find out?<br />What’s running <br />What applications, versions of applications, components and features with...
Walkthrough<br />Arch Explorer<br />Code Editor<br />
Demo - Margin<br />Custom margin<br />Viewport tracking<br />
Margin<br />MEF Export<br />
Document Map And Method Tracking<br />Glyphs to track methods in the source file<br />
Data Management<br />
Background Parsing<br />
Adornments<br />Inline WPF control adornment<br />Lightbox adornment for target method(s)<br />
Adornment Handling<br />MEF Exports<br />
Helping you build better software<br />
Questions<br />
References<br />Visual Studio SDK:  http://msdn.com/vsx<br />Visual Studio Blog: http://blogs.msdn.com/visualstudio<br />V...
References<br />Microsoft CEIP: http://www.microsoft.com/products/ceip/EN-US/default.mspx<br />Usefulness of CEIP for Offi...
Feedback?<br />Twitter: @jkuemerle<br />Email: jkuemerle@preemptive.com<br />SpeakerRate: http://speakerrate.com/jkuemerle...
Upcoming SlideShare
Loading in …5
×

Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence - CNUG

2,299 views

Published on

Come see how PreEmptive Solutions built an editor extension for Visual Studio 2010 that provides in-line visualizations of usage and stability data collected from applications in production via Runtime Intelligence Services. Learn about the new code editor’s extensibility model, how to write editor extensions using the Managed Extensibility Framework, how to interact with the text buffer, how to create custom margins and Windows Presentation Foundation-based adornments, and how to distribute the extension.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,299
On SlideShare
0
From Embeds
0
Number of Embeds
33
Actions
Shares
0
Downloads
18
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Need field or instrument photos
  • Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence - CNUG

    1. 1. Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligence<br /> Joe Kuemerle<br /> PreEmptive Solutions, LLC<br /> www.preemptive.com<br /> @jkuemerle @PreEmptive<br />
    2. 2. Background of Joe Kuemerle<br />Lead Developer at PreEmptive Solutions<br />Over 15 years of development experience with a broad range of technologies<br />Focused on application and data security, coding best practices and regulatory compliance<br />Presenter at user groups, code camps, CodeMash, MSDN Developer Conference 2009 and devLink<br />
    3. 3. PreEmptive Solutions, LLC Background<br />3,000 corporate clients<br />Over 40,000 registered installations in 100+ countries <br />Dotfuscator has been included in Visual Studio since 2003 <br />Software is on over 6 million desktops<br />Starting in Visual Studio 2010, Dotfuscator adds basic Runtime Intelligence<br />Helping Software Succeed<br />
    4. 4. Agenda<br />Overview of Runtime Intelligence<br />Visual Studio 2010 Editor Extension Walkthrough<br />Visual Studio 2010 Editor Extension Code<br />Q&A<br />
    5. 5. Runtime Intelligence<br />Application, feature-usage, & environmental data collected from the field<br />Dotfuscator (Suite and CE in Visual Studio 2010) injects instrumentation<br />Runtime Intelligence Service aggregates, analyzes and distributes runtime intelligence data allowing you to make better decisions faster.<br />
    6. 6. Application Analytics?  CEIP!<br />
    7. 7. What can you find out?<br />What’s running <br />What applications, versions of applications, components and features within applications, and methods within those features? <br />Under what conditions? <br />What operating system and framework, cpu, memory, and disk capacity? What about screen resolution or video chip? <br />How’s it doing?<br />How stable, what are the performance characteristics, what user patterns and practices are emerging? <br />How does it compare?<br />Are new features being adopted, is the hosted version performing better than the installed equivalent? <br />Is it making a difference?<br />What is the development ROI? Are sales increasing, productivity improving, and satisfaction trending upwards? <br />
    8. 8. Walkthrough<br />Arch Explorer<br />Code Editor<br />
    9. 9. Demo - Margin<br />Custom margin<br />Viewport tracking<br />
    10. 10. Margin<br />MEF Export<br />
    11. 11. Document Map And Method Tracking<br />Glyphs to track methods in the source file<br />
    12. 12. Data Management<br />
    13. 13. Background Parsing<br />
    14. 14. Adornments<br />Inline WPF control adornment<br />Lightbox adornment for target method(s)<br />
    15. 15. Adornment Handling<br />MEF Exports<br />
    16. 16. Helping you build better software<br />
    17. 17. Questions<br />
    18. 18. References<br />Visual Studio SDK: http://msdn.com/vsx<br />Visual Studio Blog: http://blogs.msdn.com/visualstudio<br />VSX Samples: http://code.msdn.com/vsx<br />Extensions Gallery: http://visualstudiogallery.msdn.com/vsx<br />WPF Data Visualization Toolkit: http://wpf.codeplex.com<br />Managed Extensibility Framework: http://mef.codeplex.com<br />VS 2010 Editor Extension Demo: http://rieditorextension.codeplex.com/<br />PreEmptive Solutions Blog: http://www.preemptive.com/blog<br />Runtime Intelligence Portal: http://www.runtimeintelligence.com<br />
    19. 19. References<br />Microsoft CEIP: http://www.microsoft.com/products/ceip/EN-US/default.mspx<br />Usefulness of CEIP for Office 2007: http://blogs.msdn.com/jensenh/archive/2006/04/05/568947.aspx<br />CEIP for Windows 7:http://arstechnica.com/microsoft/news/2009/10/windows-7-had-8-million-testers-biggest-beta-ever.ars<br />PreEmptive Runtime Intelligence: http://www.preemptive.com/products/runtime-intelligence/overview<br />PreEmptive CEIP: http://www.preemptive.com/solutions/ceip/overview<br />
    20. 20. Feedback?<br />Twitter: @jkuemerle<br />Email: jkuemerle@preemptive.com<br />SpeakerRate: http://speakerrate.com/jkuemerle<br />

    ×