san diego asp.net meeting oct 21st

40
What’s New: Visual Studio 2010 Woody Pewitt Technology Evangelist Microsoft

Upload: woody-pewitt

Post on 13-May-2015

3.081 views

Category:

Technology


0 download

DESCRIPTION

This is the deck I used at the San Diego ASP.NET user group meeting on Oct 12st the code in the VS 2010 / .NET Framework 4.0 Training Kit http://bit.ly/3KVJix is the sample code I used for the demos.

TRANSCRIPT

Page 1: San  Diego  ASP.NET Meeting Oct 21st

What’s New:Visual Studio 2010

Woody PewittTechnology EvangelistMicrosoft

Page 2: San  Diego  ASP.NET Meeting Oct 21st

Getting in Touch

Blog: http://blog.pewitt.org

Twitter: http://twitter.com/woodyp

Email: [email protected]

Page 3: San  Diego  ASP.NET Meeting Oct 21st

Visual Studio for Everyone!

Users

Featu

res

Less

More

Hobbyist Enterprise

Professional

Team System

Express

Page 4: San  Diego  ASP.NET Meeting Oct 21st

Visual Studio 2008

Visual Studio 2008 Professionalwith MSDN Professional

Visual Studio 2008 Professionalwith MSDN Premium

Visual Studio Team System 2008Team Editions with MSDN Premium

Visual Studio Team System 2008Team Suite with MSDN Premium

Page 5: San  Diego  ASP.NET Meeting Oct 21st

Visual Studio 2010

Page 6: San  Diego  ASP.NET Meeting Oct 21st

Test and Lab Manager

Manual Testing

Layer Diagram

UML Modeling

Load Testing Web Testing

Test Case Management

IntelliTrace™

Architecture Explorer Test Record & Playback

Logical Class Designer

Cloud Development

Office Development

Windows Development

New WPF Editor Customizable IDE

Multi-core Development

Silverlight Tools

Web Development

SharePoint Development

Generate from Usage

Static Code Analysis

Database Deployment

Code Metrics

Database Unit Testing Test Data Generation

Test Impact AnalysisUI Test Automation

Code Coverage

Performance Profiling

Database Change Mgmt

Page 7: San  Diego  ASP.NET Meeting Oct 21st

Moving Parts

Visual Studio 2010 .NET Framework Version 4 Languages Changing

Visual C# 2010 Visual Basic 2010 Visual F# 2010 Visual C++ 2010

Page 8: San  Diego  ASP.NET Meeting Oct 21st

The VS2010 Roadmap

Beta 1, Currently Available

Beta 2, Now!

RTM, March 2010

Page 9: San  Diego  ASP.NET Meeting Oct 21st

Huge List of New Features 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

Page 10: San  Diego  ASP.NET Meeting Oct 21st

Overview

General Improvements

Debugging

Parallelism

Web

Extensibility

Page 11: San  Diego  ASP.NET Meeting Oct 21st

The Two Faces of Visual Studio 2010

Visual Studio As An Editor

Visual Studio As A Platform

Page 12: San  Diego  ASP.NET Meeting Oct 21st

As An Editor

An improved focus on…

Writing code,

Understanding code,

Navigating code,

Publishing code

Page 13: San  Diego  ASP.NET Meeting Oct 21st

General Improvements

Page 14: San  Diego  ASP.NET Meeting Oct 21st

General Improvements

Zoom Docking Windows Call Hierarchy Highlighting References Generate from Usage Intellisense Consume-First Mode

Page 15: San  Diego  ASP.NET Meeting Oct 21st

Zoom

CTRL + Mouse Wheel

New feature that enhances the size of your code

Very useful for pair programming (or similar scenarios)

Page 16: San  Diego  ASP.NET Meeting Oct 21st

Docking Windows

New docking visuals

Windows can be docked anywhere

Better use with multiple monitors

Page 17: San  Diego  ASP.NET Meeting Oct 21st

Generate from Usage

Used to automatically create stub code

Enables you to use classes and members before you define them

Page 18: San  Diego  ASP.NET Meeting Oct 21st

Call Heirarchy

CTRL + ALT + K

Available in C#

Used to see calls to and from a method

Great way to see calls at design time

Page 19: San  Diego  ASP.NET Meeting Oct 21st

Highlighting References

Automatic highlighting of a symbol

Can be used with declarations and references, and many other symbols

Page 20: San  Diego  ASP.NET Meeting Oct 21st

Navigate To

CTRL + ,

Provides search-as-you-type support for files, types, and members

Enables quick searching based on case usage

Page 21: San  Diego  ASP.NET Meeting Oct 21st

Intellisense Consume-First Mode

CTRL + ALT + SPACE

Used when when classes and members are used before they are defined

Helps to reduce situations where IntelliSense inserts unintended text into the editor

Page 22: San  Diego  ASP.NET Meeting Oct 21st

General Improvements

Page 23: San  Diego  ASP.NET Meeting Oct 21st

Debugging

Page 24: San  Diego  ASP.NET Meeting Oct 21st

Breakpoints

Can add labels to breakpoints

All breakpoints are now searchable

Import / Export now available

Page 25: San  Diego  ASP.NET Meeting Oct 21st

Floating Data Tips

DataTips can now float in the source window

Floating DataTips remain visible until the debugging session ends

Page 26: San  Diego  ASP.NET Meeting Oct 21st

Threading

Completely redesigned threading window

Now provides filtering, call-stack searching and expansion, and grouping

New columns added: Affinity masks Process names Managed IDs

Page 27: San  Diego  ASP.NET Meeting Oct 21st

Dumps

You can save a dump file and debug it later, either on the build computer or on another computer that has the source files and debugging symbols

Can read dump files that contain information about managed code, unmanaged code, or a mixture of both

Page 28: San  Diego  ASP.NET Meeting Oct 21st

Debugging

Page 29: San  Diego  ASP.NET Meeting Oct 21st

Parallelism

Page 30: San  Diego  ASP.NET Meeting Oct 21st

Parallel Tasks and Stacks Used to visualize and

debug parallel code that is written in C++, C#, or Visual Basic

Using the Parallel Stacks window, you can view multiple call stacks at the same time in a single view

Parallel Tasks allow you to see multiple tasks and the corresponding status of those tasks

Page 31: San  Diego  ASP.NET Meeting Oct 21st

Web

Page 32: San  Diego  ASP.NET Meeting Oct 21st

One-Click Web Deployment With Visual Studio

2010, MSDeploy is integrated directly into Visual Studio

Once you have your profiles configured, you can easily deploy to a given environment with a single click

Page 33: San  Diego  ASP.NET Meeting Oct 21st

Web.config Transforms

You can create configuration file transforms to modify your project's Web.config file to work with various deployment environments

Page 34: San  Diego  ASP.NET Meeting Oct 21st

Extensibility

Page 35: San  Diego  ASP.NET Meeting Oct 21st

As A Platform

New Extensible Editor allows editor to be easily extended to provide a rich and robust editing experience

Online Visual Studio Gallery integrated directly into Visual

Studio

Page 36: San  Diego  ASP.NET Meeting Oct 21st

Extensions

Online Visual Studio Gallery integrated directly into Visual Studio

New Extensible Editor allows editor to be easily extended to provide a rich and robust editing experience

Page 37: San  Diego  ASP.NET Meeting Oct 21st

The Visual Studio Gallery

Page 38: San  Diego  ASP.NET Meeting Oct 21st

Extensibility

Page 39: San  Diego  ASP.NET Meeting Oct 21st

Resources

The 10-4 Show on Channel9 channel9.msdn.com/shows/10-4/

Visual Studio 2010 home page http://bit.ly/1skkN0

Get the VS 2010 / .NET Framework 4.0 Training Kit http://bit.ly/3KVJix

Page 40: San  Diego  ASP.NET Meeting Oct 21st