View
3.422
Download
1
Category
Preview:
DESCRIPTION
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)
Citation preview
1
Exploring Visual Studio 2010Sven Vanoirbeek | mshelp.be
2
Overview
Visual Studio 2010 IDE changes
Architecture possibilities
New debugging experience
What’s new for testers?
Extending Visual Studio
Other new features
3
Visual Studio IDE Changes
4
Visual Studio IDE changes WPF Powered UI
Pin your project
Zooming
Multi screen development
Improved multi targeting
Quicker add reference
Highlight references
Improved Intellisense
Improved toolbox
Faster searching: Navigate to
Box selection / entry
More code generation
Consume first
SSMS inside VS2010
Call Hierarchy
5
WPF Powered UI
Chrome is handled by WPF
Completely new text editor• Easier to create extensions (adornments)
More possibilities
6
Pin your project
Pin a project in recent projects on start page
7
Zooming
Zooming in the text editor
CRTL + Scroller
Adjust size manually in code file
8
Multi screen developement
Easier to dock windows
Put your windows wherever you want
Everything is floatable
Even outside of Visual Studio
9
Improved multi targeting
Previous frameworks back to .NET 2.0
Filtered project list based on target framework
Filtered toolbox based on target framework
10
11
Quicker add reference
Add project by default
Other thread loads .NET and COM libraries
12
Highlight references
Highlights types/variables/methods/.. used in code
Navigate to each reference via CTRL + SHIFT UP/DOWN
13
Improved Intellisense
Partial string matching• Build locates StringBuilder class
Pascal case searching• SB locates StringBuilder class
2 to 5 times faster
14
Improved toolbox
Search for controls while typing
Tab to navigate to next search result
Filtered toolbox would be nice
15
Faster searching: Navigate to
Easier and faster searching
Searches everything: classes, functions, different file types, controls, everything..
Edit -> Navigate to || CTRL + ,
16
17
Box selection / entry
Add something on multiple lines
Click ALT and select your region
Not so useful
18
More code generation
VS2008: Generate methods
VS2010: Generate more (classes, structs,interfaces,enums, methods)
Great for TDD
19
Consume first
Stop auto complete from IntelliSense
CTRL + ALT + SPACE
20
SSMS inside VS2010
SQL Management studio inside VS2010
Run T-SQL straight from VS2010
Including Intellisense
21
22
Call Hierarchy
View calls to member
View call from member
Drill down
23
Architecture possibilities
24
Architecture possibilities
DGML
Architecture explorer
New diagrams
Dependency graph
25
DGML
Direct Graph Markup Language
All graphs in VS2010 are built using DGML
New way of visualizing things
Easy to do it yourself, it’s XML
26
Architecture explorer Explore the complete architecture
Assemblies, files, types, members, calls
Create graphs from selection
27
New diagrams
Class diagram
Sequence diagram
Use case diagram
Activity diagram
Component diagram
Layer diagram
Direct Graph Document
28
Dependency graph
View dependencies, calls
Better understand complex architecture
Dependency graph by assembly, namespace, class, custom (filtered view)
29
30
New debugging experience
31
New debugging experience
Collaborative debugging
Breakpoint enhancements
Datatips
Historical debugging aka IntelliTrace
CLR4 crash dump debugging
32
Collaborative debugging
Share debugging state amongst developers
Easier to reproduce bugs
Easier to explain where the problem resides
33
Breakpoint enhancements
Label breakpoints• Easier to track breakpoints
Reuse labels
Filter breakpoints
Import/Export breakpoints
34
35
Datatips
Floating locals,watches
Pin expressions
Import/Export datatips
36
Historical debugging aka IntelliTrace
Collecting historical data dynamically• Events and call information
• Start to exit
Stored in .tdlog files
Go back in time
Easier to reproduce bugs• Better relationship between tester and developer
Integration with Test and Lab manager and TFS
What about application performance?
37
38
CLR4 crash dump debugging
Load dump files of CLR4 application
Perform debugging on dump file
39
What’s new for testers?
40
What’s new for testers?
Microsoft Test/Lab manager
Defining Testing Effort
Create and Run Manual Tests
Record Test Steps for Playback
Create and Run Automated UI Tests
Collect and Add Diagnostic Data to Bugs
Impact analysis
Find Tests to Rerun based on Code Changes
Testing Progress Reporting
Performance and Stress Testing
Not covered in this presentation
41
Extending Visual Studio
42
Extending Visual Studio
New extension manager
VSIX extension package
Different extension projects
Customizing the start page
MP3 player for VS2010
43
New extension manager
Supports MEF components, VSPackages, project templates and item template
Download extensions from Visual Studio Gallery
44
VSIX extension package
Container model for extensions
Based on Open Packaging Convention (OPC), a a ZIP package
Replacement for .VSI (Visual Studio Installer)
VS2010 scans extension folder at startup
45
Customizing the start page
Add custom WPF user controls to the start page
Integrate Company design guidelines, RSS, branding, etc..
46
Different extension projects
47
MP3 player for VS2010
Demo
48
Other new features
49
Other new features
Support for parallel programming
Better support for WPF development
Better and more code analysis
Better performance tuning, profiling
Better support for threading
Better integration with TFS
…
Not covered in this presentation
50
Questions?
Recommended