Ahmed Salijee Developer Advisor .

37

Transcript of Ahmed Salijee Developer Advisor .

Page 1: Ahmed Salijee Developer Advisor .
Page 2: Ahmed Salijee Developer Advisor .

DTL307:A Whirlwind Tour of the Microsoft .NET Framework 4

Ahmed SalijeeDeveloper Advisorhttp://dotnet.org.za/ahmeds

aka .NET4 Demofest

Page 3: Ahmed Salijee Developer Advisor .

What This Is

Page 4: Ahmed Salijee Developer Advisor .

Operating System

Common Language Runtime

Base Class Library

ADO.NET and XML

ASP.NETWeb Forms Web Services

Mobile Controls

WindowsForms

Common Language Specification

VB C++ C# J# …Visual Studio.N

ET

A Look Back…

Page 5: Ahmed Salijee Developer Advisor .

.NET Framework 3.5 “Servicing Release”WPF

Enhancements

.NET Framework 3.5

LINQ WF & WCF Enhancements

Add-in FrameworkWPF 3.5

A Look Back…

WPF WCF WF CardSpace

.NET Framework 3.0

.NET Framework 2.0 SP1

SP1

Entity Framework

ADO. NET Data Services ASP.NET MVC

Page 6: Ahmed Salijee Developer Advisor .

A Look Back…

.NET 1.0 .NET 1.1 .NET 2.0

3.0

3.5

.NET 4

2002 2003 2009 Beta2005-08

CLR 1.0 CLR 1.1 CLR 2.0 CLR 4

SP1

Page 7: Ahmed Salijee Developer Advisor .

CLR/BCL

Data

Middle Tier/Services

Language Enhancements

User InterfaceLanguages

DLR

Type Equivalence

Variance

Page 8: Ahmed Salijee Developer Advisor .

Language - Variance, Dynamicdemo

Page 9: Ahmed Salijee Developer Advisor .

Languages

Support for DLRVariance – “things work the way you expect”Code ContractsMoving towards language parity – C#/VBFunctional Programming – F#Better/Easier COM Interop

Page 10: Ahmed Salijee Developer Advisor .

Data

Middle Tier/Services

Languages

Core Runtime/Class Library Enhancements

User Interface

CLR/BCLParallel SxS**MEF

Page 11: Ahmed Salijee Developer Advisor .

Parallel Enhancementsdemo

Page 12: Ahmed Salijee Developer Advisor .

Parallel Computing with .NET 4

Task Parallel Library (TPL)Parallel LINQ (PLINQ)Coordination Data Structures (CDS)System.Threading Improvements

Page 13: Ahmed Salijee Developer Advisor .

MEFdemo

Page 14: Ahmed Salijee Developer Advisor .

Managed Extensibility Framework?

The Managed Extensibility Framework (MEF) is a new library in the .NET Framework that enables greater reuse of applications and components. Using MEF, .NET applications can make the shift from being statically compiled to dynamically composed

Page 15: Ahmed Salijee Developer Advisor .

CLR/BCL

Middle Tier/Services

Languages

Data Enhancements

User Interface

DataModel First POCO*

Page 16: Ahmed Salijee Developer Advisor .

Entity Framework – Model First and POCO

demo

Page 17: Ahmed Salijee Developer Advisor .

In .NET 4.0 The next version of the Entity Framework

POCOLazy-loadingForeign KeysObjectSet<T> & IObjectSet<T>Model First

Page 18: Ahmed Salijee Developer Advisor .

CLR/BCL

Data

Languages

Middle Tier Enhancements

User Interface

Middle Tier/ServicesService Discovery

Workflow v4

Page 19: Ahmed Salijee Developer Advisor .

Workflow v4demo

Page 20: Ahmed Salijee Developer Advisor .

Moving Towards WF 4.0

Major themes in WF 4.0 include…

XAML-only model

Enhanced baseactivity library

Simplifying custom

activities

Simplifyingdata flow

Runtime/designer

improvements

Page 21: Ahmed Salijee Developer Advisor .

WCF Service Discoverydemo

Page 22: Ahmed Salijee Developer Advisor .

New WCF 4.0 Features

Simplified configurationDiscoveryRouter serviceImproved REST supportMisc. advanced features

Page 23: Ahmed Salijee Developer Advisor .

CLR/BCL

Data

Middle Tier/Services

Languages

UI Enhancements

User InterfaceWPF ASP.NET

Page 24: Ahmed Salijee Developer Advisor .

WPF – Controls and Touchdemo

Page 25: Ahmed Salijee Developer Advisor .

WPF 4

New ControlsDataGrid, DatePicker etc

Visual State ManagerMulti-TouchWindows 7 Enhancements

Tasklists (Beta 2)Dialog Boxes

Text Enhancements in Beta 2

Page 26: Ahmed Salijee Developer Advisor .

ASP.NET Enhancementsdemo

Page 27: Ahmed Salijee Developer Advisor .

ASP.NET 4.0

ASP.NET 4.0 WebFormsControl Rendering, Control IDsView StateWebsite URLsXHTML and Accessibility

AJAXClient-Side Templates, Controls and Data BindingRead/Write Database Data from the BrowserCross-Browser CompatibleNot tied to ASP.NET

Page 28: Ahmed Salijee Developer Advisor .

Data

Middle Tier/Services

Languages

Core Runtime/Class Library Enhancements

User Interface

CLR/BCLParallel SxS**MEF

Page 29: Ahmed Salijee Developer Advisor .

CLR InProcdemo

Page 30: Ahmed Salijee Developer Advisor .

CLR 4 - In-Process Side-By-Side

.NET 2.0.NET 4.0

2.0 add-in

3.03.5

Host Process (i.e. Outlook)

3.0 add-in

3.5 add-in

4.0 add-in

Page 31: Ahmed Salijee Developer Advisor .
Page 32: Ahmed Salijee Developer Advisor .

Resources

Will post on http://dotnet.org.za/ahmedsOther breakouts will have more details

Page 33: Ahmed Salijee Developer Advisor .

Related Sessions ( .NET 4)When What Area Code

Mon 8:00 Future Directions for Visual Basic Languages DTL308

Mon 17:15 The State of Dynamic Languages on the Microsoft .NET Framework

Languages DTL304

Tues 9:15 Introduction to F# Languages DTL:319

Tues 16:15 The Future of C# Languages DTL310

Mon 9:15 The Manycore Shift: Making Parallel Computing Mainstream

CLR/BCL DTL206

Tues 17:30 Managed Extensibility Framework CLR/BCL DTL315

Tues 14:30 A First Look at WCF and WF in the Microsoft .NET Framework 4.0

Middle SOA201

Mon 17:15 The ADO.NET Entity Framework 4 Data DTL402

Tues 17:30 An Introduction to the ADO.NET Data Services Framework v1.5

Data DTL208

Page 34: Ahmed Salijee Developer Advisor .

Related Sessions ( .NET 4)TIme Topic Area Code

Mon 15:45 Building Scalable and Available Web Applications with the Microsoft Code Name "Velocity"

Web WUX301

Tues 10:50 A Lap around Microsoft ASP.NET 4.0 and Microsoft Visual Studio 2010

Web WUX203

Wed 9:00 Taking AJAX to the Next Level** Web WUX306

Mon 8:00 Building Rich Business Clients in WPF: New Tools and Controls for Windows Presentation Foundation

Client WUX303

Tues 13:15 Microsoft Visual Studio 2010 Overview for the Business Application Developer

General DTL309

Page 35: Ahmed Salijee Developer Advisor .

Complete a session evaluation and enter to win!

10 pairs of MP3 sunglasses to be won

Page 36: Ahmed Salijee Developer Advisor .

www.microsoft.com/teched Sessions On-Demand & Community

http://microsoft.com/technet Resources for IT Professionals

http://microsoft.com/msdn Resources for Developers

www.microsoft.com/learning Microsoft Certification & Training Resources

Resources

www.microsoft.com/learningMicrosoft Certification and Training Resources

Page 37: Ahmed Salijee Developer Advisor .

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,

IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.