What’s new in the .Net Framework 3.5 (Orcas)

Visual Studio (VS) 2008 and .Net 3.5, code named “Orcas”, will be released in the near future. This release includes a number of new features and bug fixes. The release includes new major features such as LINQ, Cider (The VS WPF designer), “Crossbow” (WPF and WinForms interoperability), and my personal favorite, the Managed Add-in Framework, etc…

In the past, I outlined, provided sample code, and did some presentations on what’s new in 2.0. Given the pending Orcas release and following my 9/12/07 presentation to ~78 ISV and enterprise partners on what’s new in Orcas, I wanted to share the content I presented. Thanks to all the attendees for your feedback. It is always a pleasure speaking with our customers.

BCL Additions or enhancements

· System.TimeZoneInfo

· System.DateTimeOffset

· System.Collections.Generic.HashSet

· System.IO.Pipes

· EventSchemaTraceListener

· Event Tracing for Windows Vista (ETW)

· System.Threading.ReaderWriterLockSlim

Garbage Collector (GC)

· ``Overview

· ``System.Runtime.GCSettings.LatencyMode

· System.GC.Collect(int generation, System.GCCollectionMode mode)

CLR Security

· Support for “Suite B” crypto algorithms on Vista

o Elliptic Curve Diffie Hellman for key exchange (ECDiffieHellmanCng class)

o Elliptic Curve Digital Signature Algorithm for signing (ECDsaCng class)

o FIPS certified Advanced Encryption Standard (AES) for symmetric encryption (AesCryptoServiceProvider class)

o FIPS certified SHA2 for cryptographic hashing (SHA256Cng or SHA256CryptoServiceProvider classes)

· Support for the trusted publisher list for managed controls in the browser

o Enables a simple elevation model for controls in the browser

· New opt-in reflection security model

o Apps can reflect on the private members of libraries at the same or lower trust level. Useful for script engine scenarios

Extensibility (aka., Add-in’s, Add-on’s, Plug-in’s, Component models, …)

· System.AddIn*

o For those who offer, or wish to offer, application extensibility, the CLR now offers a robust solution with a number of features including; Discovery, Activation, Isolation, Unloadability, Sandboxing, Lifetime management, and WPF support.

CLR ThreadPool

o We invested significant development resources improving the managed implementation to be as close to native socket scaling/perf.

o Most of the code is now in managed code, eliminating unnecessary VM transitions

Misc

· MSDN Article on CLR enhancements

· Add-In team Blog

· BCL Team blog