core .net framework 4.0 enhancements

23
Core .NET Framework 4 Enhancements

Upload: robert-maclean

Post on 24-May-2015

2.142 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Core .NET Framework 4.0 Enhancements

Core .NET Framework 4 Enhancements

Page 2: Core .NET Framework 4.0 Enhancements

Your presenter for today?

Robert MacLean− sadev.co.za− @rmaclean

Page 3: Core .NET Framework 4.0 Enhancements

What to expect

Page 4: Core .NET Framework 4.0 Enhancements

What are we covering?

Common Language Runtime

DLR

JITNGEN

Garbage Collector

Type System

Exception

handling

Hosting APIsLoader and

binderDebugging, …

Base Class Libraries

AS

P.N

ET

WC

F

WP

F

LIN

Q

AD

O.N

ET

C#

VB

.NET

C+

+

Page 5: Core .NET Framework 4.0 Enhancements

All the small things

<demo/>

Page 6: Core .NET Framework 4.0 Enhancements

IObservable

Publisher

Subscriber Subscriber Subscriber

Data

Data

Data

Update

Page 7: Core .NET Framework 4.0 Enhancements

IObservable

<demo/>

Page 8: Core .NET Framework 4.0 Enhancements

In-process side-by-side (SxS)

.NET 2.0

.NET 4.0.NET 3.0

.NET 3.5

2.0 addin

3.0 addin

3.5 addin

4.0 addin

Host Process (eg: Outlook)

Page 9: Core .NET Framework 4.0 Enhancements

In Process SxS

<demo/>

Page 10: Core .NET Framework 4.0 Enhancements

Primary Interop Assemblies (PIA)

COM

.NET

PIA

Meta Data(Headers)

Helper classes

Page 11: Core .NET Framework 4.0 Enhancements

PIA

<demo/>

Page 12: Core .NET Framework 4.0 Enhancements

Tour of .NET 4

Part 2

<demo/>

Page 13: Core .NET Framework 4.0 Enhancements

Parallel

OS

Thread

ThreadPool

Task Parallel Library

PLINQ.N

ET F

ram

ew

ork

Page 14: Core .NET Framework 4.0 Enhancements

Parallel Enhancements

<demo/>

Page 15: Core .NET Framework 4.0 Enhancements

System.Device.Location

<demo/>

Page 16: Core .NET Framework 4.0 Enhancements

Location

− Windows 7 only− Status will be Disabled for other platforms

− Geosense for Windows− http://geosenseforwindows.com/

Page 17: Core .NET Framework 4.0 Enhancements

Is this everything?

System.Numerics.ComplexTimeSpan Parsing Improvements

String Improvements

New helper method for StringBuilderNew helper method for StopWatch

New helper method and parsing options for EnumNew helper method for Streams

New helper method for System.IO.PathNew helper methods for UIntPtr and IntPtr

Better stream compression optionsNew helper method for Monitors

New helper method for ThreadImproved parsing for GUID

Improvements for Registries

New options for performance monitoring which are not invasiveF#

TuplesNew File and Directory Enumeration options based on generics

Memory Mapped Files

New ways to detect 64bit OS’s and processesImprovements to System.Enviroment

All the new security enhancements in networkingSupport for Teredo

Garbage Collection Improved

Ngen Improved

Page 18: Core .NET Framework 4.0 Enhancements

Future?

http://bcl.codeplex.com− BigRational− LongPath− PerfMonitor− TraceEvent

Page 19: Core .NET Framework 4.0 Enhancements

Questions and AnswersReminder:www.sadev.co.za

<questions/>

Page 21: Core .NET Framework 4.0 Enhancements

Complete your evaluation and enter to win!

Win a Wireless Entertainment Desktop 8000!

Page 22: Core .NET Framework 4.0 Enhancements

* Terms & conditions apply

Submit an Entry Form at the BB&D Stand and Win*!A Dell Netbook valued at R4,000

Page 23: Core .NET Framework 4.0 Enhancements

© 2010 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.