Chapter 2. Exploring the Top New Features of the CLR

In this chapter, we will cover:

  • Creating a portable library
  • Controlling the timeout in regular expressions
  • Defining the culture for an application domain
  • Overriding the default reflection behavior
  • Using the new ZipArchive class
  • Understanding async and await in .NET 4.5
  • Using the new asynchronous file I/O operations

Introduction

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

Get Microsoft .NET Framework 4.5 Quickstart Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.