Upload
santosh-kumar-thallam
View
1.230
Download
1
Tags:
Embed Size (px)
DESCRIPTION
Citation preview
Codename “Rosario” a.k.a
“Visual Studio 2010”
BySantosh Kumar Thallam
Breakpoint Labeling, Breakpoint Searching, Breakpoint Import/Export, Dynamic Data Tooling, WPF Tree Visualizer, Call Hierarchy, Improved WPF Tooling, Historical Debugging, Mini-Dump Debugging, Quick Search, Better Multi-Monitor Support, Highlight References, Parallel Stacks Window, Parallel Tasks Window, Document Map Margin, Generate From Usage, Concurrency Profiler, Inline Call Tree, Extensible Test runner, MVC Tooling, Web Deploy, Jquery Intellisense, SharePoint Tooling, HTML Snippets, Web.config Transformation, Click-Once Enhancements for Microsoft Office, IDE Rewritten in WPF, New Gadgets Subsystem, Zoom, Box Selection, Call Hierarchy, Navigate To, Highlighting References, Intellisense Suggestion Mode, Generate From Usage ,Online Templates…
Too Much Stuff to Cover in 1 hour
…and that was a short-list of new IDE features ALONE!
Focus of this presentation is on:
Visual Studio 2010: A close look at the new IDE
CAVEAT: I’ll cover the stuff I liked the most
Too Much Stuff to Cover in 1 Hour – Cont’d
2002: Visual Studio .NET 2002 (.NET 1.0) 2003: Visual Studio .NET 2003 (.NET 1.1) 2005: Visual Studio 2005 (.NET 2.0) 2007: Visual Studio 2008 (.NET 2.0/3.0/3.5)
2010: Visual Studio 2010 (.NET 2.0/3.0/3.5/4.0)
.NET Framework Timeline & Roadmap
A lot more than an empty web site…It even pre-wires the membership, roles and profile providers.
New Web Application Template
It’s really empty…
New Empty Website Template
Config Transformations
General Improvements Debugging Architectural Diagrams Parallelism Extensibility UI rewritten in WPF Visual Studio is no longer just a Code Editor,
it is also a Platform!
What’s New in
Editor improvements focus primarily on: Writing code Understanding code Navigating and debugging code Publishing code
Editor improvements focus on Productivity!
as an Editor
General improvements Zoom Docking Windows and Multi-Monitor Support Call Hierarchy Highlighting References “Generate From” Usage “Navigate To” Usage Intellisense: Smart List and Consume-First Mode Multi-Targeting Snippets
as an Editor – Cont’d
Zoom CTRL + Mouse Wheel Enhances the ability to zoom the
code editor canvas Very useful for pair programming,
peer code reviews, training,presentations, etc.
as an Editor – Cont’d
Docking Windows and Multi-Monitor Support New docking visuals Windows can be docked anywhere Better use with multiple monitors
as an Editor – Cont’d
Call Hierarchy Keyboard shortcut: CTRL + K, T Available in C# Used to see calls to and from a method Great way to see calls
as an Editor – Cont’d
Highlighting References Automatic highlighting of a symbol Can be used with declarations and references,
and many other symbols
as an Editor – Cont’d
“Generate From” Used to automatically create stub code Enables you to use classes and members
before defining them Great for refactoring code If you are familiar
as an Editor – Cont’d
“Navigate To” Keyboard shortcut: CTRL + , Provides search-as-you-type support for files,
types, and members Enables quick searching based on case
as an Editor – Cont’d
Smart List Intellisense
Also support fuzzy and Pascal casing
IntelliSense does Search
Consume-First Development
Pressing space or tab here accidentally is quite annoying…
Normal IntelliSense…
Ctrl + Alt + Space toggles Consume-First
Can then use Ctrl + . to generate method or class
With Consume-First
Multi-Targeting VS 2008 was the first release of Visual Studio that included
multi-targeting support for .NET .NET 2.0, .NET 3.0, and .NET 3.5 all ran on top of the same
version of the CLR Worked, but wasn’t perfect
VS 2010 now ships with “reference assemblies” for each version of .NET. A “reference assembly” contains only the metadata of a
particular framework assembly – much smaller in size. Ensures that VS 2010 can always provide 100% accurate
intellisense when targeting a particular version of the .NET framework
VS 2010 debugger, profiler and compilers are able to target multiple versions of the CLR.
as an Editor – Cont’d
Code Snippets
Typing “<inp” then tabbing twice…
Gives you an input tag with appropriate attributes that you can tab through
Html Snippets more like in Code
DEMO
What’s new in Visual Studio 2010: Editor
Integrated Online Gallery Extension Manager
Gallery
Online Templates
Debugging Improvements IntelliTrace(Historical Debugging)
Debugging
Breakpoint Labels Importing/Exporting Breakpoints Pinned DataTips Can add labels to breakpoints All breakpoints are now searchable Floating Data Tips DataTips that float in the source window Floating DataTips remain visible until the
debugging session ends
Debugging Improvements
IntelliTrace
Traditional debuggers show you the state of your application at the current time
IntelliTrace runs in the background, recording important events
Allows you to look back at past states of the application where events of interest have been recorded
What is it…?
The effect of a problem might not be noticeable until much later in the run of your application.
Trace files can be created by IntelliTrace or Test Manager and given to developers.
Why…?
DEMO
What’s new in Visual Studio 2010: Editor
Architecture Diagrams
UML Class diagrams UML Sequence Diagrams UML Use Case Diagrams UML Activity Diagram UML Component Diagram Layer Diagram
UML Stuff…
Parallel Extensions for LINQ To Utilize the power of Multi Cores
Parallelism
SharePoint Dev ToolsWindows Azure ToolsWindows Phone 7 ToolsF#
What is not Covered…
ASP.NET 4 & VS 2010 Quick Hits http://www.asp.net/learn ~ 30 videos
His Gu-ness http://
weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx
MSDN http://
msdn.microsoft.com/en-us/vstudio/dd582936.aspx http://
msdn.microsoft.com/en-us/library/bb386063%28VS.100%29.aspx
Resources
Any questions? Anything else you want to see?
So that’s about it…