What is New in Visual Studio 2010?

abashedwhimsicalΛογισμικό & κατασκευή λογ/κού

2 Νοε 2013 (πριν από 3 χρόνια και 10 μήνες)

112 εμφανίσεις

Change the Rules

What is New in Visual Studio
2010?

Heiki Tähis

IT Kolledž

Change the Rules

Agenda


Visual Studio IDE & .NET Framework 4.0
Enhancements

2

Change the Rules

Huge List of New Features!


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



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

Change the Rules

New IDE Improvements


Visual Studio Environment


WPF
-
based Editor


Better Multi
-
Monitor Support


Navigation


Quick Search


Highlight references


Project System


100% source code compatible


Multi
-
Targeting

Change the Rules

Code Focused Development


Consume First, Declare Later


Generate from usage


Code insight


Call hierarchy


Inline call tree


Layers


Rich formatting of code


Overlays of contextual information


Document Map Margin

Change the Rules

DEMO
:

NEW
IDE
ENHANCEMENTS

Change the Rules

Debugger


Richer platform support


64
-
bit mixed
-
mode debugging


Minidump

debugging support for

managed and mixed
-
mode


WPF
Visualizer


Breakpoint improvements


Grouping and labeling


Import/export


IntelliTrace
TM


Record & playback application execution


Change the Rules

DEMO:

DEBUGGER FEATURES

.NET Framework 4
.0

Change the Rules

Client Profile


Subset
of the full .NET Framework



Leveraged for faster deployments



Two Sections


Client Profile


Extended



Streamlined pieces of


Windows
Presentation Foundation (WPF
)


Windows Forms


Windows
Communication Foundation (WCF
)


ClickOnce

Change the Rules

Base Class Library Improvements


Managed Extensibility Framework


Easy declaration/consumption of extensibility points


Monitoring for new runtime extensions


Watching a specific directory for new extensions


Additional core data structures


Numerics

(
BigInteger

&
ComplexNumber
)


Tuple
,
SortedSet


I/O Improvements


Memory
-
Mapped Files


Enumeration of Directories and Files


Covariance and Contravariance in Generics

Change the Rules

Parallel Computing


Task Parallel Library (TPL)


Imperative Task Parallelism


Work
-
Stealing Algorithm for maximum efficiency


Higher
-
level abstraction (no more Thread
knowledge necessary)


Parallel
Linq

(PLINQ)


Declarative Data Parallelism (focus on the
*what*
,
not the
*how*
)


Simple Parallelism via
Linq
-
To
-
Objects


Data Structures for Parallel Programming


Common structures to help with parallelism tasks


Change the Rules

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

Change the Rules

DEMO:

DEBUGGING PARALLEL APPLICATIONS

Change the Rules

ADO.NET 4.0


Entity Framework v2


Persistent Ignorance

(POCO Objects)


Complex Types


Model
-
First
Support


TDD
-
Support


Foreign
-
Key Support


Lazy Loading

Change the Rules

New Features in C# 4.0 &

VB 10

Feature

VB10

C#4

Auto
-
implemented Properties

Collection Initializers

Statement Lambdas

Implicit Line Continuation

N/A

Named/Optional Parameters

Latebinding

support (dynamic)

Omit ref

on COM calls

Interop

with Dynamic Languages

Co/
contravariance

PIA deployment not needed

New in
VB10/C#4

Already exists in VB9/C#3

Change the Rules

Dynamic Language Interop

17



dynamic calc =
GetCalculator
();


int

sum =
calc.Add
(10, 20);

Statically

typed
to be dynamic

Dynamic method
invocation

Dynamic
conversion

Change the Rules

F#


Included with V
isual Studio 2010


Functional Programming


Multi
-
Paradigm Programming Language


Immutable Types


Strongly
-
Typed, Type
-
Inference

Change the Rules

F# Primer


* binding names to values


let
s = "Hello World"


let
(x, y) = (45, 54)


let
answer = x +
y



* functions as values


let
square x = x * x


let
squares =
List.map

(
fun
x
-
> x * x) [1..10
]


let
squares =
List.map

square [1..10
]

Web Portal UI

Document Library

User Self Service

BCS Data Integration


SharePoint Designer

Contextual Ribbon

Sites and Lists

Claims Authentication

Human Workflow


Wiki Pages

Web Parts

Authorization UI

Comprehensive SDK


SharePoint platform and product

{your opportunities here
}

.NET Framework 3.5

ASP.NET

Windows Workflow
Foundation

Change the Rules

Visual Studio 2010
&

Office


Removes dependency
on Office PIAs


Language enhancements


C
#

Optional
Parameters, Named Arguments,
Dynamic types


VB

Implicit
line continuation, Dynamic types,
Auto
-
properties


Deployment enhancements


Multi
-
Solution deployment


Post deployment activities


User Interface Enhancements (Ribbon)

Change the Rules

DEMO:

VISUAL STUDIO 2010 & SHAREPOINT
& OFFICE

2
2

Change the Rules

WPF for Windows 7


Multi
-
Touch


Taskbar


Ribbon


Common dialogs


File Explorer presence and customization


More…


Use these with .NET and via XAML in WPF


Change the Rules

WPF Taskbar Integration


Thumbnails toolbars


Icon overlays


Progress bars


Jumplists



Change the Rules

WPF Ribbon


Features


Fulfills office fluent UI licensing requirements


Ribbon with resizing and layout behavior


Ribbontabs


Ribbongroups


Ribbonapplicationmenu

(Pearl)


Quickaccesstoolbar


Keytips


Design time support

Change the Rules

Silverlight for Windows Phone 7 Series


Silverlight is
the

development platform for delivering
applications on Windows Phone, outside the Web Browser



XNA is for Casual, Social and High Performance Gaming



Silverlight for Windows Phone includes core Silverlight
features:


High Quality Video, Smooth Streaming and DRM
,
Audio
,
Graphics and Animation
,
Deep Zoom
,
.NET and XAML



Silverlight for Windows Phone optimizes for Device features:


Multi
-
touch
,
Location and Maps
,
Microphone & Camera
,
Push notifications
,
Integration with the core Windows Phone 7 Series experience and Hubs

Change the Rules

Building Applications for Windows Phone


Windows Phone Developer Tools


Visual Studio 2010 Express and full versions (with Add
-
in)


Expression Blend 4 for Windows Phone


XNA Game Studio 4.0 for Windows Phone


Windows Phone Emulator enables testing without a device


Free download of development and design tools from

www.silverlight.net


Change the Rules

Silverlight in Visual Studio 2010


WYSIWYG Design Surface


XAML IntelliSense


Data Binding, Layout


WCF RIA Services Integration

Change the Rules

ASP.NET Enhancements

Change the Rules

ASP.NET MVC 2


Builds on the previous version


Areas, allowing composition of apps


Templated

helpers


Asynchronous Controller Actions


Caching Improvements


Strongly Typed
HTML

Helpers


Even better tooling!

Change the Rules

Take your skills to the Cloud





Change the Rules

Summary


Great functionality to enhance your
development productivity


Tight integration with SharePoint Server
and Microsoft Office


Using same knowledge and tools to focus
on development for


Windows & Silverlight


Web & Cloud


Windows Phone

Change the Rules

Tänan




http://www.heiki.org