290 likes | 755 Views
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
E N D
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 • 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 Keynote Extension Demo Gabriel Torok PreEmptive Solutions
Extending the Visual Studio Editor One more time – with the curtain lifted… Bill Leach CTO PreEmptive Solutions
Let’s Build It… • Margin • Document Map and Method Tracking • Inline Adornments
Custom margin Viewport tracking
Margin MEF Export
Extending the Visual Studio Editor Demo: Creating the Margin
Where Are We? • Margin • Document Map and Method Tracking • Inline Adornments
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 Any extension of Visual Studio should provide actionable value, not just eye candy. Use Case Scenarios
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: • Many of you will be using runtime intelligence to make better decisions faster. • 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.com See PreEmptive in booths 216 & 217
YOUR FEEDBACK IS IMPORTANT TO US! Please fill out session evaluation forms online at MicrosoftPDC.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/learn Built by Developers for Developers….