Datasheet
xiii
Contents
Chapter 5: Using Silverlight with ASP.NET 139
Creating Custom Controls 142
Setting Up the Project 142
Adding the Silverlight JavaScript Library 146
Adding Xaml Control Properties 150
Rendering the Xaml Control 154
Using ASP.NET AJAX with Silverlight 158
Refactor into a ScriptControl 158
Adding Client-Oriented Properties 160
Creating the Client-Side (JavaScript) Default Type 161
Embedding and Registering the New Client-Side Type 164
Implementing AJAX Extension Methods 164
Creating Dynamic Silverlight User Interfaces with ASP.NET 166
Creating the Button Template 166
Creating the ButtonBar Server-Side Code 170
Creating the ButtonBar Client-Side Code 178
Using the ButtonBar Control 184
Final Thoughts/Recommendations 187
Summary 187
Chapter 6: Silverlight 1.1 and the CLR 189
The CLR 191
The Framework 192
Base APIs 193
Data APIs 194
Communications APIs 195
Presentation APIs 196
Debugging 199
Dynamic Language Support 199
A Quick Silverlight 1.1 Example 199
Summary 200
Chapter 7: Video Player: Silverlight 1.0 Case Example 201
Getting Started 202
Designing the Application Architecture 202
Designing the User Interface 202
Managing the Developer/Designer Workflow 204
Preparing the Media for the Application 205
Creating the Data Layer 206
28401ftoc.qxd:WroxPro 9/12/07 9:36 PM Page xiii