330 likes | 501 Views
What is New in Visual Studio 2010?. Heiki Tähis IT Kolledž. Agenda. Visual Studio IDE & .NET Framework 4.0 Enhancements. Breakpoint Labeling Breakpoint Searching Breakpoint Import/Export Dynamic Data Tooling WPF Tree Visualizer Call Hierarchy Improved WPF Tooling Historical Debugging
E N D
What is New in Visual Studio 2010? Heiki Tähis IT Kolledž
Agenda • Visual Studio IDE & .NET Framework 4.0 Enhancements
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 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
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
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
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 • IntelliTraceTM • Record & playback application execution
.NET Framework 4.0 • Differentiated User Experience • Silverlight - cutting edge RIAs • Exploit Windows 7 and Office 2010 • Better support for standards based web experiences • Extend the .NET Continuum • Consistent programming model across Client, Server, RIA • Dev + Designer collaboration • Superior Developer Productivity • Testability becomes mainstream • N-tier apps are as easy to build as one tier applications • Platform and process transparency • Deep Investments in the Core • Agility and deployment flexibility • Managing .NET deployments is simple • Core server platform advances • Core client platform advances
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
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
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
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
ADO.NET 4.0 • Entity Framework v2 • Persistent Ignorance (POCO Objects) • Complex Types • Model-First Support • TDD-Support • Foreign-Key Support • Lazy Loading
New Features in C# 4.0 &VB 10 New in VB10/C#4 Already exists in VB9/C#3
Dynamic Language Interop Statically typed to be dynamic dynamic calc = GetCalculator(); int sum = calc.Add(10, 20); Dynamic method invocation Dynamic conversion
F# • Included with Visual Studio 2010 • Functional Programming • Multi-Paradigm Programming Language • Immutable Types • Strongly-Typed, Type-Inference
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]
SharePoint platform and product Microsoft Product Your Product {your opportunities here} Built on / Built with Base Platform
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)
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
WPF Taskbar Integration • Thumbnails toolbars • Icon overlays • Progress bars • Jumplists
WPF Ribbon • Features • Fulfills office fluent UI licensing requirements • Ribbon with resizing and layout behavior • Ribbontabs • Ribbongroups • Ribbonapplicationmenu (Pearl) • Quickaccesstoolbar • Keytips • Design time support
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
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
Silverlight in Visual Studio 2010 • WYSIWYG Design Surface • XAML IntelliSense • Data Binding, Layout • WCF RIA Services Integration
ASP.NET Enhancements • Performance • Session State Compression • Application Auto-Start • Performance Monitoring • Explicit ViewStateMode • Extensibility • Output Caching • HTML/URL Encoding (Routing) • Request Validation • Minimized Web.config • Web.config transforms
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!
Take your skills to the Cloud • Integrated Windows Azure tools • Familiar experience • .NET development Compute Storage Management Relational data Management Connectivity Access control
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
Tänan • http://www.heiki.org