Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Exploring Visual Studio 2010


Published on

In this presentation I will show you most of the new features in Visual Studio 2010. Some of the topics included are: IDE enhancements, what's new for architects, testers? How to extend Visual Studio 2010 and improvements in debugging (historical debugging)

Published in: Technology
  • Be the first to comment

Exploring Visual Studio 2010

  1. 1. Exploring Visual Studio 2010<br />Sven Vanoirbeek |<br />1<br />
  2. 2. Overview<br />Visual Studio 2010 IDE changes<br />Architecture possibilities<br />New debugging experience<br />What’s new for testers?<br />Extending Visual Studio<br />Other new features<br />2<br />
  3. 3. 3<br />Visual Studio IDE Changes<br />
  4. 4. Visual Studio IDE changes<br />WPF Powered UI<br />Pin your project<br />Zooming<br />Multi screen development<br />Improved multi targeting<br />Quicker add reference<br />Highlight references<br />Improved Intellisense<br />Improved toolbox<br />Faster searching: Navigate to<br />Box selection / entry<br />More code generation<br />Consumefirst<br />SSMS inside VS2010<br />CallHierarchy<br />4<br />
  5. 5. WPF Powered UI<br />Chrome is handled by WPF<br />Completelynewtexteditor<br />Easier to createextensions (adornments)<br />More possibilities<br />5<br />
  6. 6. Pin your project<br />Pin a project in recent projectson start page<br />6<br />
  7. 7. Zooming<br />Zooming in the texteditor<br />CRTL + Scroller<br />Adjustsizemanually in code file<br />7<br />
  8. 8. Multi screen developement<br />Easier to dock windows<br />Put your windows wherever you want<br />Everything is floatable<br />Even outside of Visual Studio<br />8<br />
  9. 9. Improved multi targeting<br />Previousframeworks back to .NET 2.0<br />Filtered project list basedon target framework<br />Filtered toolbox basedon target framework<br />9<br />
  10. 10. 10<br />
  11. 11. Quickeraddreference<br />Add project bydefault<br />Other thread loads .NET and COM libraries<br />11<br />
  12. 12. Highlight references<br />Highlights types/variables/methods/.. used in code<br />Navigate to eachreference via CTRL + SHIFT UP/DOWN<br />12<br />
  13. 13. ImprovedIntellisense<br />Partialstringmatching<br />BuildlocatesStringBuilderclass<br />Pascal case searching<br />SB locatesStringBuilderclass<br />2 to 5 timesfaster<br />13<br />
  14. 14. Improved toolbox<br />Search forcontrolswhiletyping<br />Tab to navigate to next search result<br />Filtered toolbox wouldbenice<br />14<br />
  15. 15. Faster searching: Navigate to<br />Easier and fastersearching<br />Searcheseverything: classes, functions, different file types, controls, everything..<br />Edit -> Navigate to || CTRL + ,<br />15<br />
  16. 16. 16<br />
  17. 17. Box selection / entry<br />Add something on multiple lines<br />Click ALT and select your region<br />Not so useful<br />17<br />
  18. 18. More code generation<br />VS2008: Generatemethods<br />VS2010: Generate more (classes, structs,interfaces,enums, methods)<br />Greatfor TDD<br />18<br />
  19. 19. Consumefirst<br />Stop auto complete fromIntelliSense<br />CTRL + ALT + SPACE<br />19<br />
  20. 20. SSMS inside VS2010<br />SQL Management studio inside VS2010<br />Run T-SQL straight from VS2010<br />IncludingIntellisense<br />20<br />
  21. 21. 21<br />
  22. 22. CallHierarchy<br />View calls to member<br />View callfrommember<br />Drill down <br />22<br />
  23. 23. Architecturepossibilities<br />23<br />
  24. 24. Architecturepossibilities<br />DGML<br />Architectureexplorer<br />New diagrams<br />Dependencygraph<br />24<br />
  25. 25. DGML<br />Direct GraphMarkupLanguage<br />All graphs in VS2010 are built using DGML<br />New way of visualizingthings<br />Easy to do ityourself, it’s XML<br />25<br />
  26. 26. Architectureexplorer<br />Explore the complete architecture<br />Assemblies, files, types, members, calls<br />Creategraphsfromselection<br />26<br />
  27. 27. New diagrams<br />Class diagram<br />Sequence diagram<br />Use case diagram<br />Activity diagram<br />Component diagram<br />Layer diagram<br />Direct Graph Document<br />27<br />
  28. 28. Dependencygraph<br />View dependencies, calls<br />Betterunderstand complex architecture<br />Dependencygraphbyassembly, namespace, class, custom (filtered view)<br />28<br />
  29. 29. 29<br />
  30. 30. New debuggingexperience<br />30<br />
  31. 31. New debugging experience<br />Collaborative debugging<br />Breakpoint enhancements<br />Datatips<br />Historical debugging aka IntelliTrace<br />CLR4 crash dump debugging<br />31<br />
  32. 32. Collaborative debugging<br />Share debugging state amongst developers<br />Easier to reproduce bugs<br />Easier to explain where the problem resides<br />32<br />
  33. 33. Breakpoint enhancements<br />Label breakpoints<br />Easier to track breakpoints<br />Reuse labels<br />Filter breakpoints<br />Import/Export breakpoints<br />33<br />
  34. 34. 34<br />
  35. 35. Datatips<br />Floatinglocals,watches<br />Pin expressions<br />Import/Export datatips<br />35<br />
  36. 36. Historical debugging aka IntelliTrace<br />Collecting historical data dynamically<br />Events and call information<br />Start to exit<br />Stored in .tdlog files<br />Go back in time<br />Easier to reproduce bugs<br />Better relationship between tester and developer<br />Integration with Test and Lab manager and TFS<br />What about application performance?<br />36<br />
  37. 37. 37<br />
  38. 38. CLR4 crash dump debugging<br />Load dump files of CLR4 application<br />Performdebuggingon dump file<br />38<br />
  39. 39. What’snewfor testers?<br />39<br />
  40. 40. What’s new for testers?<br />Microsoft Test/Lab manager<br />Defining Testing Effort<br />Create and Run Manual Tests<br />Record Test Steps for Playback<br />Create and Run Automated UI Tests<br />Collect and Add Diagnostic Data to Bugs<br />Impact analysis<br />Find Tests to Rerun based on Code Changes<br />Testing Progress Reporting<br />Performance and Stress Testing<br />Not covered in this presentation<br />40<br />
  41. 41. Extending Visual Studio<br />41<br />
  42. 42. Extending Visual Studio<br />New extension manager<br />VSIX extension package<br />Different extension projects<br />Customizing the start page<br />MP3 player for VS2010<br />42<br />
  43. 43. New extension manager<br />Supports MEF components, VSPackages, project templates and item template<br />Download extensions from Visual Studio Gallery<br />43<br />
  44. 44. VSIX extension package<br />Container model forextensions<br />Based on Open PackagingConvention (OPC), a a ZIP package<br />Replacement for .VSI (Visual Studio Installer)<br />VS2010 scans extension folder at startup<br />44<br />
  45. 45. Customizing the start page<br />Addcustom WPF user controls to the start page<br />Integrate Company design guidelines, RSS, branding, etc..<br />45<br />
  46. 46. Different extensionprojects<br />46<br />
  47. 47. MP3 player for VS2010<br />47<br />Demo<br />
  48. 48. Othernew features<br />48<br />
  49. 49. Other new features<br />Support for parallel programming<br />Better support for WPF development<br />Better and more code analysis<br />Better performance tuning, profiling<br />Better support forthreading<br />Betterintegrationwith TFS<br />…<br />Not covered in this presentation<br />49<br />
  50. 50. Questions?<br />50<br />