did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781933988429

Silverlight 2 in Action

by
  • ISBN13:

    9781933988429

  • ISBN10:

    1933988428

  • Format: Paperback
  • Copyright: 2008-10-01
  • Publisher: Manning Pubns Co
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $44.99

Summary

Microsoft describes Silverlight as a cross-browser, cross- platform plug-in for delivering the next generation of .NET based media experiences and rich interactive applications for the Web. That's a really boring description for a really exciting new technology. Anyone who has looked at the demos and gotten a taste of what Silverlight can do knows that Silverlight represents an entirely new level of rich web interface technology for Microsoft developers. With Silverlight 2, developers can use JavaScript, VB, C#, Python, and Ruby to build user- friendly, interactive, and visually-dazzling web applications that work in most major browsers. Silverlight 2 in Action is the first book to cover Silverlight 2, a far more robust implementation of Silverlight than the current 1 release that supports only JavaScript. The much-anticipated 2 release adds powerful new features along with the ability to code in multiple languages and integrate your work with Visual Studio and the new Expression suite of tools. This book delivers real-world examples and in-depth walkthroughs to help you confidently enhance your web applications using Silverlight 2.

Author Biography

Chad Campbell is a Microsoft MVP and solutions architect. He has been developing enterprise-level web applications with a wide variety of technologies since 1999. Beginning with the initial public release of what would become Silverlight in 2006, Chad hit the ground running and has not looked back. He holds MCSD and MCTS certifications. In addition, Chad has a BS degree from Purdue University where he focused his studies on computer science and minored in psychology.

Table of Contents

Forewordp. xiii
Prefacep. xv
Acknowledgmentsp. xvii
About this bookp. xx
Introducing Silverlightp. 1
Silverlight up your lifep. 2
Productivityp. 2
Performancep. 3
Portabilityp. 3
Why can't we be friends?p. 6
The developer experiencep. 7
The designer experiencep. 8
XAMLp. 8
Code behindp. 9
Namespacesp. 10
Compound propertiesp. 12
Attached propertiesp. 12
Blending it togetherp. 13
Summaryp. 21
Harmony with the webp. 22
The relationship between Silverlight and the Html Domp. 23
The HTML Document Object Modelp. 24
The Silverlight plug-inp. 25
The Silverlight Object Modelp. 25
Creating a Silverlight plug-inp. 26
The Silverlight utility file: Silverlight.jsp. 27
Creating an instance of the Silverlight plug-inp. 28
Integrating a Silverlight plug-inp. 29
Relating the Silverlight application to the HTML DOMp. 30
Clarifying the initial experiencep. 32
Handling plug-in eventsp. 36
Sending initialization parametersp. 38
The Silverlight Application Modelp. 39
The manifest filep. 40
The Silverlight applicationp. 41
Application dependenciesp. 44
Interacting with the HTML DOMp. 44
Managing the web page from managed codep. 44
Working with the user's browser windowp. 48
Bridging the scripting and managed code worldsp. 51
Summaryp. 55
Back to the basics: Layout and textp. 56
A Canvas for your imaginationp. 57
Arranging content of a Canvasp. 58
The Canvas: packing a punchp. 60
The StackPanel: Stack 'em deepp. 61
The power Gridp. 62
Arranging Grid contentp. 63
Sizing it upp. 65
Working with the Grid programmaticallyp. 68
Customizing cell boundariesp. 69
Displaying textp. 72
Font propertiesp. 72
Flow controlp. 76
Text propertiesp. 76
Spacingp. 78
The UIElement and FrameworkElementp. 80
Propertiesp. 80
Methodsp. 85
Summaryp. 86
Handling user interactionp. 88
Understanding device supportp. 89
Capturing the keyboardp. 89
Trapping the mousep. 92
Delivering text controlsp. 96
Handling basic textp. 96
Collecting sensitive datap. 98
Button controlsp. 99
The Buttonp. 100
The HyperlinkButtonp. 101
The RadioButtonp. 102
The CheckBoxp. 104
The ItemsControlp. 105
The ListBoxp. 105
The ComboBoxp. 107
The TabControlp. 108
Date controlsp. 110
Calendarp. 110
DatePickerp. 113
Choosing from a numeric rangep. 114
Using the ProgressBarp. 115
Implementing a Sliderp. 115
Displaying visual promptsp. 116
Popping up a dialog boxp. 116
Prompting for a filep. 118
Miscellaneous controlsp. 121
Creating a borderp. 121
Collecting drawingsp. 121
Summaryp. 124
Getting down with data bindingp. 126
Binding with your datap. 127
Mastering the binding syntaxp. 127
Choosing a binding modep. 129
Understanding your data sourcep. 131
Binding to a propertyp. 131
Binding to an objectp. 133
Binding to a collectionp. 134
Customizing the displayp. 136
Converting values during bindingp. 136
Creating data templatesp. 139
The DataGridp. 141
Displaying your datap. 142
Editing grid datap. 147
Sorting itemsp. 148
Language Integrated Query (LINQ)p. 149
Introducing LINQp. 149
LINQ to Objectsp. 153
LINQ to XMLp. 154
LINQ-ing it togetherp. 156
Summaryp. 158
Networking and communicationsp. 159
Trust, security, and browser limitationsp. 160
It's all a matter of trustp. 160
Making your application securep. 163
Limitations of the browserp. 164
Connecting to data sourcesp. 165
Using SOAP servicesp. 165
Time for a RESTp. 170
Making the data usablep. 173
Reading POXp. 173
Converting JSONp. 177
Reading syndicated feedsp. 179
Using advanced servicesp. 185
WCF service enhancementsp. 185
WCF duplex servicesp. 186
Connecting to socketsp. 191
Summaryp. 193
Managing digital mediap. 194
Stunning audio and videop. 195
Getting to the sourcep. 195
Common propertiesp. 199
Audio specificsp. 201
Video specificsp. 203
The lifecycle of a media filep. 203
Playlists: for that web-based mixtapep. 205
Understanding client-side playlistsp. 205
Using server-side playlistsp. 207
Interactive playbackp. 209
Controlling the play statep. 209
Timely interactionp. 210
Going full screenp. 212
Using protected contentp. 213
Requesting protected contentp. 214
Retrieving the PlayReady componentsp. 214
Unlocking protected contentp. 215
Using images in your applicationp. 215
Basic imagingp. 216
Deep Zoomp. 216
The 7th inning stretch: Dealing with dead spacep. 222
I'll have none of this stretching businessp. 222
Uniform sizingp. 223
Fill the areap. 224
UniformToFillp. 225
Summaryp. 225
Getting a grip on graphicsp. 226
Getting in shapep. 227
A Line in the sandp. 228
Rectanglep. 229
The ellipsep. 230
Polylinep. 230
Polygonp. 231
Geometryp. 231
Simple geometriesp. 232
Path geometriesp. 233
Composite geometriesp. 235
Brushesp. 235
SolidColorBrushp. 236
LinearGradientBrushp. 237
RadialGradientBrushp. 239
ImageBrushp. 240
VideoBrushp. 241
Transformsp. 242
RotateTransformp. 242
ScaleTransformp. 243
SkewTransformp. 243
TranslateTransformp. 244
TransformGroupp. 244
Blending it togetherp. 245
Summaryp. 251
Bringing it to life: Animationp. 253
Animation: It's about timep. 254
Mastering the timelinep. 256
What type of property are you animating?p. 256
Where are you starting from and where are you going?p. 258
How long should the animation run?p. 261
Storyboardingp. 264
Understanding the storyboardp. 264
Hitting the targetp. 265
Controlling the Storyboardp. 267
Being resourcefulp. 269
Key framingp. 271
Interpolation: It's about accelerationp. 273
Timing is everythingp. 276
Summaryp. 277
Giving it stylep. 278
Being resourcefulp. 279
Declarative resourcesp. 279
Accessing loose resourcesp. 282
Bundling resourcesp. 284
Giving your elements stylep. 286
Defining the lookp. 287
Targeting style definitionsp. 289
Creating templatesp. 290
Building a control templatep. 291
Creating reusable templatesp. 295
Dealing with visual statesp. 295
Understanding the componentsp. 296
Leveraging the VisualStateManagerp. 298
Sharing your effectsp. 301
Summaryp. 303
Enhancing the experiencep. 305
Storing data in isolated storagep. 306
IsolatedStorageFile: The virtual filesystemp. 306
Reading and writing files: The isolated storage wayp. 311
Administering the isolated storagep. 314
Using XAML at runtimep. 314
BackgroundWorkerp. 316
Doing the workp. 316
Updating the UIp. 317
Retrieving content on demandp. 321
Requesting contentp. 322
Managing larger download requestsp. 323
Loading the contentp. 325
The Dynamic Language Runtime (DLR)p. 332
Dynamic typingp. 332
Metaprogrammingp. 335
Summaryp. 337
Share the light: Distribution and deploymentp. 338
Creating a user controlp. 339
Defining the appearancep. 339
Defining the behaviorp. 340
Calling the controlp. 344
Architecting navigation in Silverlightp. 344
Setting up the architecturep. 345
Implementing a navigatorp. 346
Navigating between pages (a.k.a. UserControls)p. 347
Using a custom splash screenp. 348
Creating the appearancep. 348
Integrating the custom splash screenp. 350
Monitoring the load progressp. 351
Hosting with Silverlight Streamingp. 351
Preparing to stream!p. 352
Pack it up!p. 352
Ship it!p. 354
Use it!p. 354
Summaryp. 355
Indexp. 357
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program