vs 2010 codename rosario

40
Codename “Rosarioa.k.a Visual Studio 2010” By Santosh Kumar Thallam

Upload: santosh-kumar-thallam

Post on 20-Nov-2014

1.230 views

Category:

Education


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: VS 2010 codename Rosario

Codename “Rosario” a.k.a

“Visual Studio 2010”

BySantosh Kumar Thallam

Page 2: VS 2010 codename Rosario

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

Page 3: VS 2010 codename Rosario

…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

Page 4: VS 2010 codename Rosario

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

Page 5: VS 2010 codename Rosario

A lot more than an empty web site…It even pre-wires the membership, roles and profile providers.

New Web Application Template

Page 6: VS 2010 codename Rosario

It’s really empty…

New Empty Website Template

Page 7: VS 2010 codename Rosario

Config Transformations

Page 8: VS 2010 codename Rosario

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

Page 9: VS 2010 codename Rosario

Editor improvements focus primarily on: Writing code Understanding code Navigating and debugging code Publishing code

Editor improvements focus on Productivity!

as an Editor

Page 10: VS 2010 codename Rosario

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

Page 11: VS 2010 codename Rosario

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

Page 12: VS 2010 codename Rosario

Docking Windows and Multi-Monitor Support New docking visuals Windows can be docked anywhere Better use with multiple monitors

as an Editor – Cont’d

Page 13: VS 2010 codename Rosario
Page 14: VS 2010 codename Rosario

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

Page 15: VS 2010 codename Rosario

Highlighting References Automatic highlighting of a symbol Can be used with declarations and references,

and many other symbols

as an Editor – Cont’d

Page 16: VS 2010 codename Rosario

“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

Page 17: VS 2010 codename Rosario

“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

Page 18: VS 2010 codename Rosario

Smart List Intellisense

Page 19: VS 2010 codename Rosario

Also support fuzzy and Pascal casing

IntelliSense does Search

Page 20: VS 2010 codename Rosario

Consume-First Development

Page 21: VS 2010 codename Rosario

Pressing space or tab here accidentally is quite annoying…

Normal IntelliSense…

Page 22: VS 2010 codename Rosario

Ctrl + Alt + Space toggles Consume-First

Can then use Ctrl + . to generate method or class

With Consume-First

Page 23: VS 2010 codename Rosario

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

Page 24: VS 2010 codename Rosario

Code Snippets

Page 25: VS 2010 codename Rosario

Typing “<inp” then tabbing twice…

Gives you an input tag with appropriate attributes that you can tab through

Html Snippets more like in Code

Page 26: VS 2010 codename Rosario

DEMO

What’s new in Visual Studio 2010: Editor

Page 27: VS 2010 codename Rosario

Integrated Online Gallery Extension Manager

Gallery

Page 28: VS 2010 codename Rosario

Online Templates

Page 29: VS 2010 codename Rosario

Debugging Improvements IntelliTrace(Historical Debugging)

Debugging

Page 30: VS 2010 codename Rosario

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

Page 31: VS 2010 codename Rosario

IntelliTrace

Page 32: VS 2010 codename Rosario

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…?

Page 33: VS 2010 codename Rosario

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…?

Page 34: VS 2010 codename Rosario

DEMO

What’s new in Visual Studio 2010: Editor

Page 35: VS 2010 codename Rosario

Architecture Diagrams

Page 36: VS 2010 codename Rosario

UML Class diagrams UML Sequence Diagrams UML Use Case Diagrams UML Activity Diagram UML Component Diagram Layer Diagram

UML Stuff…

Page 37: VS 2010 codename Rosario

Parallel Extensions for LINQ To Utilize the power of Multi Cores

Parallelism

Page 38: VS 2010 codename Rosario

SharePoint Dev ToolsWindows Azure ToolsWindows Phone 7 ToolsF#

What is not Covered…

Page 40: VS 2010 codename Rosario

Any questions? Anything else you want to see?

So that’s about it…