C# 4, ASP.NET 4, and WPF, with Visual Studio 2010 Jump Start
Publisher: Wiley / Wrox
Final Release Date: April 2010
Pages: 130

This Wrox Blox is a value-packed resource to help experienced .NET developers learn the new .NET release. It is excerpted from the Wrox books: Professional C# 4 and .NET 4, Professional ASP.NET 4, and WPF Programmer’s Reference by Christian Nagel, Bill Evjen, Scott Hanselman, and Rod Stephens, and includes more than 100 print book pages drawn from these three key titles. It is an excellent resource to help .NET developers get up to speed fast on .NET 4, C# 4.0, ASP.NET 4, and WPF, providing all the information needed to program with the important new features, including: C# Dynamic Types and Parallel Tasks; ASP.NET Ajax, Chart Controls, MVC, and Object Caching; and key WPF principles as developers move from WinForms to WPF. In addition, it provides examples built with the native Visual Studio 2010 tools that developers are comfortable with.

Table of Contents

Part I: Professional C# 4 and .NET 4

Covariance and Contra-variance

Covariance with Generic Interfaces

Contra-Variance with Generic Interfaces


The Dynamic Type

Dynamic Behind the Scenes

Code Contracts




Contracts for Interfaces


Starting Tasks

Continuation Tasks

Task Hierarchies

Results from Tasks

Parallel Class

Looping with the Parallel.For Method

Looping with the Parallel.ForEach Method

Invoking Multiple Methods with the Parallel.Invoke Method

Cancellation Framework

Cancellation of Parallel.For

Cancellation of Tasks

Taskbar and Jump List

Part II: Professional ASP.NET 4 in C# and VB

Chart Server Control

ASP.NET AJAX Control Toolkit

Downloading and Installing the AJAX Control Toolkit



.NET 4’s New Object Caching Option

Historical Debugging with IntelliTrace

Debugging Multiple Threads


Defining Model-View-Controller

MVC on the Web Today

Model-View-Controller and ASP.NET

Using WCF Data Services

Creating Your First Service

Adding Your Entity Data Model

Creating the Service

Building an ASP.NET Web Package

Part III: WPF Programmer’s Reference

Code-behind Files

Example Code
Event Name Attribute


Defining Resource

Merged Resource Dictionaries

Styles and Property Trigger

Simplifying Properties

Unnamed Styles


IsMouseOver Triggers

Setting Opacity

Event Triggers and Animation

Event Triggers


Media and Timelines 85


Template Overview


Template Binding

Template Events

Glass Button

Researching Control Template


Resource Skins

Animated Skins

Dynamically Loaded Skins

Printing Visual Objects

Printing Code-Generated Output

Data Binding

Binding Basics

ListBox and ComboBox Templates

Binding Database Objects




Fixed Documents

Flow Documents

Three-Dimensional Drawing

Basic Structure



Building Complex Scenes

Product Details
About the Author
Recommended for You
Customer Reviews
Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook:  $7.99
Formats:  ePub, Mobi