windows 8 for .net developers

15
Windows 8 for .NET Developers Michael F. Collins, III Desert Code Camp November 2011

Upload: michael-collins

Post on 27-Jan-2015

2.631 views

Category:

Technology


0 download

DESCRIPTION

Windows 8 for .NET Developers presentation. Presented at Desert Code Camp, November 5, 2011.

TRANSCRIPT

Page 1: Windows 8 for .NET Developers

Windows 8 for .NET DevelopersMichael F. Collins, III

Desert Code Camp

November 2011

Page 2: Windows 8 for .NET Developers

.NET 4.5 Announced!

Base Class Library improvements

.NET for Metro applications Asynchronous file I/O

Customize reflection behavior on a class

ZIP compression improvements

Managed Extensibility Framework improvements

Page 3: Windows 8 for .NET Developers

.NET 4.5 Announced!

ASP.NET Improvements HTML5 Support

WebSockets

AntiXSS

Unobtrusive JavaScript

Better Content Delivery Network support

Asynchronous HTTP requests

Asynchronous modules and handlers

ASP.NET MVC 4 Mobile support

Page 4: Windows 8 for .NET Developers

.NET 4.5 Announced!

Windows Presentation Foundation Improvements Ribbon control

Synchronous and asynchronous data validation

Improved VirtualizingPanel and Dispatcher

Improved performance for large data set

Access collections on non-UI threads

Data binding

Static properties

Custom types

Better Win32/WPF interop

Page 5: Windows 8 for .NET Developers

.NET 4.5 Announced!

Windows Communication Foundation Improvements Contract-first development

Improvements to ASP.NET compatibility mode

Changes to default transport properties

Validation of WCF configuration files by Visual Studio

Asynchronous streaming

WebSockets

HTTPS protocol mapping

Configure services in code

ChannelFactory caching

Page 6: Windows 8 for .NET Developers

.NET 4.5 Announced!

Workflow Foundation Improvements State machines

C# expressions

Designer improvements

Versioning enhancements

Contract-first workflow services

Page 7: Windows 8 for .NET Developers

Windows 8

Windows Core OS Services

JavaScript

(Chakra)C/C++ C#, VB

Metro style apps

Communication

& Data

Application Model

Devices & Printing

WinRT APIs

Graphics & Media

XAMLHTML /

CSS

HTMLJS

CC++

C#VB

Desktop apps

Win32

.NET SL

IESyst

em

Serv

ices

Vie w

Mod

el

Con

trolle

r

Cor

e

Page 8: Windows 8 for .NET Developers

Windows Runtime (WinRT)

Windows Metadata

& Namespac

e

Language Projection

Windows Core

Windows Runtime Core

XAML Storage …Network

UI Pickers MediaControls

Metro style app

Runtime Broker

Language Support

(CLR, WinJS, CRT)

Web Host (HTML, CSS, JavaScript))

Page 9: Windows 8 for .NET Developers

WinRT Services

FundamentalsAuthentic

ationCryptogr

aphyGlobaliza

tion.NET Win32

App Lifetime

Communications & Data

Contracts XML Web

Networking

Notifications

Local & Cloud StorageMedia

Capture

PlayTo

Devices

Sensors

Geolocation

Portable Devices

NFC

User InterfaceHTML5 /

CSSXAML DirectX Controls

InputAccessibilit

yPrinting

Data Binding

Tiles

Streams

Background Transfer

SVG

AtomPub

SMS

Printer

Visual Effects

Transcoding

Page 10: Windows 8 for .NET Developers

What’s Important?

.NET is not going away.

The full .NET client stack can be used to create Windows applications that run in the Windows shell.

A subset of .NET can be used to build Metro applications using the WinRT framework.

.NET applications on Metro are still compiled to MSIL.

Page 11: Windows 8 for .NET Developers

Windows 8 Metro Applications

Windows Runtime

JavaScript

C#/VBC++

Page 12: Windows 8 for .NET Developers

How does .NET Compare: C++

.NET .NET compiles to MSIL

Will be just-in-time compiled for the host machine

Can be built in AnyCPU mode

Uses the WinRT framework

Uses XAML for the UI

Subset of the .NET Framework

Garbage collection

C++ C++ is compiled as native

code Will load and run faster than

C#

No just-in-time compilation

Needs to be built for each architecture

Uses the WinRT framework

Uses XAML for UI

Uses Standard Template Library

Automatic reference counting

Page 13: Windows 8 for .NET Developers

How does .NET Compare: HTML5

.NET

.NET compiles to MSIL Will be just-in-time

compiled for the host machine

Uses the WinRT framework

Uses XAML for the UI

Subset of the .NET Framework

Garbage collection

HTML 5

HTML5 apps use the Internet Explorer core hosted in a shell application provided by Metro

Uses WinRT

Most JavaScript libraries can be reused: jQuery, KnockoutJS, etc.

Metro JavaScript library supports data binding and list controls

Metro applications have full HTML 5 support and CSS 3

HTML 5 applications are not limited to same server policy

Page 14: Windows 8 for .NET Developers

Start the New Year the Right Way

Neudesic is hiring!

We need: SharePoint

Mobility: iPhone, iPad, Android, Windows Phone 7

Silverlight/WPF

Web: HTML 5, JavaScript, ASP.NET MVC

WCF and BizTalk

User Experience

Come work with some of the top developers in the Phoenix region!

Email your resume to [email protected] today!

Page 15: Windows 8 for .NET Developers

Contact Information

Email [email protected]

[email protected]

Blog: http://www.michaelfcollins3.me

Twitter: @mfcollins3

Linked In: http://www.linkedin.com/in/michaelfcollins3

Facebook: http://www.facebook.com/mfcollins3