Free Sample
+ Collection

Microsoft .NET Framework 4.5 Quickstart Cookbook

Jose Luis Latorre Millas

Get up to date with the exciting new features in .NET 4.5 Framework with these simple but incredibly effective recipes
RRP $23.99
RRP $39.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849686983
Paperback226 pages

About This Book

  • Designed for the fastest jump into .NET 4.5, with a clearly designed roadmap of progressive chapters and detailed examples.
  • A great and efficient way to get into .NET 4.5 and not only understand its features but clearly know how to use them, when, how and why.
  • Covers Windows 8 XAML development, .NET Core (with Async/Await & reflection improvements), EF Code First & Migrations, ASP.NET, WF, and WPF

Who This Book Is For

If you are a .NET developer and would like to learn the new features in .NET 4.5, then this book is just for you. Prior experience with .NET Framework would be useful, but not necessary.

"Microsoft .Net Framework 4.5 Quickstart Cookbook" gives architects and project managers a high-level overview and clear understanding of what .NET 4.5 Framework provides and how it can be used.

Table of Contents

Chapter 1: Windows Store Apps
Building our first Windows Store app
Adding a splash screen (and app tiles) to our app
Improving the application to make it compliant with the Windows 8 lifecycle model
Improving our application tile
Improving our application with toast notifications
Chapter 2: Exploring the Top New Features of the CLR
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
Chapter 3: Understanding the New Networking Capabilities
Using the HttpClient and the new System.Net.Http namespaces
Chapter 4: Understanding the new features of Entity Framework 5.0
Creating our first "Code First" application
Using Code First Migrations
Chapter 5: Understanding the New Features of ASP.NET
Creating our first ASP.NET 4.5 Web Forms application
Configuring our application to use unobtrusive validation
Using Smart Tasks in the HTML editor
Using WAI-ARIA support
Using the Extract to User Control feature
Using the Page Inspector feature
Creating an asynchronous HTTP module
Chapter 6: Implementing WPF's new features
Implementing asynchronous error handling with INotifyDataErrorInfo
Using the WeakEvent pattern with WeakEventManager
Using the dispatcher's new features
Data binding to static properties
Throttling data source update delays
LiveShaping – repositioning elements when its bound data changes
Chapter 7: Applying the New WCF Features
Using the asynchronous features of WCF
Using WebSockets
Using Contract First development
Chapter 8: Creating and Hosting Our First ASP.NET Web API
Creating our first ASP.NET web API
Implementing a CRUD ASP.NET web API
Setting up a self-hosted ASP.NET web API
Chapter 9: Using the New Capabilities of WF
Creating a state machine workflow
Using the enhanced designer features

What You Will Learn

  • Overriding the default reflection context
  • Using Async and Await in .NET 4.5
  • Using the new asynchronous file I/O operations
  • Using the new HttpClient
  • Creating our first EF “Code First” application
  • Using EF Code First Migrations
  • Creating our first ASP.NET 4.5 Web Forms application
  • Creating an asynchronous HTTP Module
  • Implementing Asynchronous Error handling with INotifyDataErrorInfo
  • Using the WeakEvent pattern with WeakEventManager
  • LiveShaping - Repositioning of data when it changes

In Detail

With about ten years since its first release, Microsoft’s .NET Framework 4.5 is one of the most solid development technologies to create casual, business, or enterprise applications. It has evolved into a very stable framework and solid framework for developing applications, with a solid core, called the CLR (Common Language Runtime) Microsoft .NET Framework 4.5 includes massive changes and enables modern application and UI development.

"Microsoft .Net Framework 4.5 Quickstart Cookbook" aims to give you a run through the most exciting features of the latest version. You will experience all the flavors of .NET 4.5 hands on. The “How-to” recipes mix the right ingredients for a final taste of the most appetizing features and characteristics. The book is written in a way that enables you to dip in and out of the chapters.

The book is full of practical code examples that are designed to clearly exemplify the different features and their applications in real-world development. All the chapters and recipes are progressive and based on the fresh features on .NET Framework 4.5.

The book will begin by teaching you to build a modern UI application and improve it to make it Windows 8 Modern UI apps lifecycle model-compliant. You will create a portable library and throttle data source updating delays. Towards the end of the book, you will create you first Web API.


Read More