Windows 8 for .NETDevelopersMichael F. Collins, IIIDesert Code CampNovember 2011
.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
.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
.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
Windows Runtime (WinRT) Language Metro style app Support (CLR, WinJS, CRT) Language Projection UI Pickers Controls Media Web Host (HTML, CSS, J Windows XAML Storage Network … avaScript))Metadata &Namespace Runtime Windows Runtime Core Broker Windows Core
WinRT Services User Interface Devices Communications & Data Media Fundamentals
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.
How does .NET Compare: C++ .NET C++ .NET compiles to MSIL C++ is compiled as native code Will be just-in-time compiled for the host Will load and run faster machine than C# No just-in-time compilation Can be built in AnyCPU mode Needs to be built for each architecture Uses the WinRT framework Uses the WinRT framework Uses XAML for the UI Uses XAML for UI Subset of the .NET Uses Standard Template Framework Library Garbage collection Automatic reference counting