In this chapter, we will cover:
.NET 4.5 brings many benefits, such as improvements in performance, compatibility, garbage collection, and new features in its structure to provide the overall scenarios it is targeted for, for example, Windows Store apps development.
One of its most important characteristics is that it is an in-place substitution of the .NET 4.0 and only runs on Windows Vista SP2 or later systems.
.NET 4.5 breathes asynchronous features and makes writing async code even easier. It also provides us with the Task Parallel Library (TPL) Dataflow Library to help us create parallel and concurrent applications.
Another very important addition is the portable libraries, which allow us to create managed assemblies that we can refer through different target applications and platforms, such as Windows 8, Windows Phone, Silverlight, and Xbox.
We couldn't avoid mentioning Managed Extensibility Framework (MEF), which now has support for generic types, a convention-based programming model, and multiple scopes.
Of course, this all comes together with a brand-new tooling, Visual Studio 2012, which you can find at http://msdn.microsoft.com/en-us/vstudio.Just be careful if you have projects in .NET 4.0 since it is an in-place install.
There are some features that we will not be able to explore through recipes as they are just there and are part of the CLR but are worth explaining for better understanding:
<gcServer>
element in the runtime configuration schema.Next we will explore, in practice, some of these features to get a solid grasp on what .NET 4.5 has to offer and, believe me, we will have our hands full!