1 / 130
文档名称:

C# 4, 4, and WPF, with Visual Studio 2010 Jump Start-[Christian Nagel, Bill Evjen, Rod Stephens, Scott Hanselman, Jay Glynn, Devin Rader, Karli Watson, Morgan Skinner].pdf

格式:pdf   大小:13,763KB   页数:130页
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

C# 4, 4, and WPF, with Visual Studio 2010 Jump Start-[Christian Nagel, Bill Evjen, Rod Stephens, Scott Hanselman, Jay Glynn, Devin Rader, Karli Watson, Morgan Skinner].pdf

上传人:联系 2017/6/29 文件大小:13.44 MB

下载得到文件列表

C# 4, 4, and WPF, with Visual Studio 2010 Jump Start-[Christian Nagel, Bill Evjen, Rod Stephens, Scott Hanselman, Jay Glynn, Devin Rader, Karli Watson, Morgan Skinner].pdf

文档介绍

文档介绍:Join the discussion @ p2p. Wrox Programmer to Programmer™
C# 4, 4, & WPF
with Visual Studio 2010
Jump Start

Christian Nagel, Bill Evjen, Rod Stephens
C# 4, 4, & WPF
with Visual Studio 2010
Jump Start
Christian Nagel
Bill Evjen
Jay Glynn
Karli Watson
Morgan Skinner
Scott Hanselman
Devin Rader
Rod Stephens
CONTENTS
Contents
Part I: Professional C#4 and .NET 4
Covariance and Contra-variance 2
Covariance with Generic Interfaces 3
Contra-Variance with Generic Interfaces 4
Tuples 5
The Dynamic Type 6
Dynamic Behind the Scenes 7
Code Contracts 11
Preconditions 13
Postconditions 14
Invariants 15
Contracts for Interfaces 15
Tasks 17
Starting Tasks 18
Continuation Tasks 19
Task Hierarchies 19
Results from Tasks 20
Parallel Class 21
Looping with the Method 21
Looping with the Method 24
Invoking Multiple Methods with the Method 24
Cancellation Framework 25
Cancellation of 25
Cancellation of Tasks 27
Taskbar and Jump List 28
Part II: Professional 4 in C# and VB
Chart Server Control 35
AJAX Control Toolkit 39
Downloading and Installing the AJAX Control Toolkit 40
ColorPickerExtender 42
Extending <outputCache> 43
.NET 4’s New Object Caching Option 44
Historical Debugging with IntelliTrace 47
iii
CONTENTS
Debugging Multiple Threads 49
MVC 50
Defining Model-View-Controller 50
MVC on the Web Today 51
Model-View-Controller and 52
Using WCF Data Services 55
Creating Your First Service 57
Adding Your Entity Data Model 57
Creating the Service 59
Building an Web Package 64
Part III: WPF Programmer’s Reference
Code-behind Files 69
Example Code 69
Event Name Attributes 70
Resources 72
Defining Resources 72
Merged Resource Dictionaries 74
Styles and Property Triggers 77
Simplifying Properties 77
Unnamed Styles 78
Triggers 79
IsMouseOver Triggers 80
Setting Opacity 80
Event Triggers and Animati