𝔖 Scriptorium
✦   LIBER   ✦

📁

Silverlight Recipes: A Problem-Solution Approach

✍ Scribed by Rob Cameron, Jit Ghosh


Publisher
Apress
Year
2009
Tongue
English
Leaves
994
Edition
1
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Silverlight Recipes: A Problem-Solution Approach is your practical companion to developing rich, interactive web applications with Microsoft's latest technology. This book tackles common problems and scenarios that on-the-job developers face every day by revealing code and detailed solutions. You’ll quickly be able to integrate real-world, functioning code into your applications—and save hours of coding time.

The recipes included in Silverlight Recipes: A Problem-Solution Approach have been carefully selected and tested with the professional developer in mind. You'll find problems stated clearly and succinctly, artful solutions explored, and ample discussion of the code and context so you're immediately clear how the solution will support your project.

Enjoy practical coverage of Silverlight development in many projects and contexts, including:

  • Designing complete, rich, interactive user experiences
  • Manipulating content and the runtime environment through the Silverlight Plug-in Runtime API
  • Consuming, transforming, and displaying content in your Silverlight web application through XML, LINQ-based data access, and isolated storage
  • Building custom controls for your Silverlight project
  • Integrating rich media, including audio and video, to create a very dynamic user interface and experience
  • Using new Silverlight features, including .NET Framework integration, the use of dynamic languages like Python and Ruby in Silverlight development, and digital rights management support

Find instant solutions, comprehensive Silverlight coverage, and time-saving expert advice, all in Silverlight Recipes: A Problem-Solution Approach.

What you’ll learn

  • Work with fundamental aspects of the Silverlight and XAML programming model
  • Design Silverlight user experiences
  • Use and change the Silverlight runtime environment
  • Manipulate and take advantage of browser DOM integration
  • Discover solutions to custom networking and communication scenarios, including messaging and web service integration
  • Work with structured data and storage, including using LINQ to access data
  • Develop custom controls
  • Integrate rich media into your Silverlight application

    Who this book is for

    
    

    Silverlight Recipes: A Problem-Solution Approach is for every Silverlight developer. The book covers all aspects of Microsoft Silverlight including the programming model, browser integration, integration with server-side technologies such as web services, and specific sections on rich media integration. All developers and architects looking for a .NET-based platform to deliver rich interactivity and media to their consumers, with deep integration with the rest of their technology stack, will find Silverlight 3 Recipes: A Problem-Solution Approach a must-have guide.

    
    

    Table of Contents

    1. A Quick Tour of Silverlight 3 Development
    2. Application Design and Programming Model
    3. Developing User Experiences
    4. Data Binding
    5. Controls
    6. Browser Integration
    7. Networking and Web Service Integration
    8. Integrating Rich Media
    9. Building LOB Applications
    
    

    ✦ Table of Contents


    Prelim......Page 1
    Contents at a Glance......Page 6
    Contents......Page 7
    Foreword......Page 26
    About the Author......Page 28
    About the Technical Reviewer......Page 29
    Acknowledgments......Page 30
    Introduction......Page 31
    Who This Book Is For......Page 32
    Contacting the Authors......Page 33
    Getting Up to Speed with Silverlight 3......Page 35
    Major Media Enhancements......Page 37
    Rich Internet Applications and Line-of-Business Enhancements......Page 38
    Out-of-Browser Capabilities......Page 39
    Solution......Page 40
    Solution......Page 41
    How It Works......Page 42
    The Code......Page 43
    The Tools......Page 51
    The Process......Page 53
    How It Works......Page 54
    The Code......Page 57
    How It Works......Page 61
    How It Works......Page 62
    How It Works......Page 63
    The Mechanics of Silverlight Applications......Page 65
    How It Works......Page 66
    The Code......Page 67
    The Code......Page 73
    Solution......Page 76
    The Code......Page 77
    How It Works......Page 81
    The Code......Page 82
    The Code......Page 86
    How It Works......Page 88
    The Code......Page 90
    How It Works......Page 95
    The Code......Page 96
    The Code......Page 100
    How It Works......Page 103
    The Code......Page 104
    How It Works......Page 108
    How It Works......Page 109
    The Code......Page 110
    Solution......Page 119
    How It Works......Page 120
    The Code......Page 121
    How It Works......Page 124
    The Code......Page 125
    How It Works......Page 130
    The Code......Page 131
    How It Works......Page 135
    The Code......Page 136
    How It Works......Page 139
    The Code......Page 140
    How It Works......Page 145
    The Code......Page 146
    How It Works......Page 148
    The Code......Page 149
    Developing User Experiences......Page 151
    How It Works......Page 152
    How It Works......Page 155
    The Code......Page 158
    How It Works......Page 166
    The Code......Page 167
    How It Works......Page 170
    The Code......Page 171
    How It Works......Page 174
    The Code......Page 176
    How It Works......Page 180
    How It Works......Page 186
    The Code......Page 187
    The Code......Page 193
    The Code......Page 199
    Solution......Page 201
    How It Works......Page 202
    The Code......Page 205
    How It Works......Page 207
    The Code......Page 209
    How It Works......Page 215
    The Code......Page 218
    Solution......Page 225
    How It Works......Page 226
    The Code......Page 227
    The Code......Page 231
    How It Works......Page 243
    The Code......Page 244
    How It Works......Page 250
    The Code......Page 251
    How It Works......Page 257
    The Code......Page 258
    The Code......Page 269
    The Code......Page 277
    How It Works......Page 281
    The Code......Page 282
    How It Works......Page 288
    The Code......Page 289
    How It Works......Page 293
    The Code......Page 296
    The Code......Page 304
    The Code......Page 306
    How It Works......Page 309
    Associating the Data Source......Page 310
    The Code......Page 311
    Solution......Page 317
    Declaring a DataTemplate......Page 318
    Using a DataTemplate......Page 319
    The Code......Page 320
    Change Notification for Noncollection Types......Page 325
    The Code......Page 327
    How It Works......Page 343
    Implementing Value Conversion......Page 344
    The Code......Page 345
    Binding to Self......Page 357
    The Code......Page 358
    Getting Error Information......Page 365
    The Code......Page 366
    How It Works......Page 381
    The Code......Page 382
    Controls......Page 393
    How It Works......Page 394
    Style Scoping......Page 395
    The Code......Page 396
    Setting the Template......Page 398
    Using Expression Blend to Design a Template......Page 399
    Template Bindings......Page 401
    Content Model and Presenter Controls......Page 402
    Visual State Management......Page 404
    The Code......Page 409
    The Code......Page 415
    Creating and Initializing the Pop-up......Page 424
    Positioning the Pop-up......Page 425
    The Code......Page 426
    How It Works......Page 436
    The Code......Page 437
    The Code......Page 446
    Solution......Page 452
    The GenerateEditingElement() Method......Page 453
    The Code......Page 454
    How It Works......Page 459
    User Control Structure......Page 460
    XAML Loading......Page 461
    Dependency Properties......Page 462
    The Code......Page 464
    Solution......Page 473
    The MeasureOverride() Method......Page 474
    The Code......Page 475
    Using the WrapPanel......Page 481
    Custom Control Structure......Page 487
    The Code......Page 490
    Using the Control......Page 495
    How It Works......Page 504
    The Code......Page 505
    How It Works......Page 516
    The Code......Page 517
    How It Works......Page 526
    Validation Error Tooltip......Page 527
    The ValidationSummary Control......Page 531
    The Code......Page 532
    Solution......Page 541
    Property Attributes......Page 542
    Designer-Unsafe Code......Page 544
    Including Sample Data......Page 545
    The Code......Page 546
    Solution......Page 549
    How It Works......Page 550
    The Code......Page 552
    How It Works......Page 554
    The Code......Page 555
    How It Works......Page 562
    The Code......Page 564
    How It Works......Page 571
    The Code......Page 573
    How It Works......Page 580
    The Code......Page 582
    Solution......Page 594
    The Code......Page 595
    How It Works......Page 601
    The Code......Page 607
    Solution......Page 617
    The Code......Page 618
    Solution......Page 622
    How It Works......Page 623
    The Code......Page 625
    Networking and Web Service Integration......Page 633
    A Quick Word about the Samples......Page 634
    How It Works......Page 635
    Invoking a Service Operation......Page 637
    Configuring a WCF Service for Silverlight......Page 638
    The Code......Page 639
    Using HttpWebRequest/HttpWebResponse in Silverlight......Page 657
    Configuring WCF to Use Non-SOAP Endpoints......Page 658
    The Code......Page 659
    Solution......Page 669
    JSON......Page 670
    The Code......Page 671
    Downloading/Uploading Resources......Page 675
    The Code......Page 676
    The Sockets API in Silverlight......Page 701
    Running the Sample Code......Page 704
    The Client......Page 705
    The Chat Server......Page 724
    The Policy Server......Page 731
    How It Works......Page 734
    The Code......Page 736
    Preparing the Application......Page 738
    Installing the Application......Page 741
    Customizing the Installation Flow......Page 742
    Updating Locally Installed Applications......Page 744
    The Code......Page 745
    Problem......Page 766
    Receiver Registration......Page 767
    Sending Messages......Page 768
    Request-Response......Page 769
    The Code......Page 770
    Solution......Page 787
    VideoBrush......Page 788
    The Code......Page 791
    How It Works......Page 792
    Controlling Media Play......Page 793
    Seeking Within the Media......Page 794
    Installing the Sample Code......Page 795
    The Player Code......Page 797
    The MediaSlider Custom Control......Page 809
    The MediaButtonsPanel Custom Control......Page 819
    Network Considerations......Page 824
    Setting Up WMS 2008......Page 825
    Setting Up Publishing Points......Page 827
    The Code......Page 830
    Changes to the Player......Page 831
    How It Works......Page 865
    Server-Side Playlists......Page 866
    Client-Side Playlists......Page 868
    The Code......Page 869
    Encoding Markers Using Expression Encoder 3......Page 871
    The Code......Page 873
    Frame Rate......Page 888
    Timecodes and Silverlight......Page 889
    The Code......Page 890
    How It Works......Page 902
    MediaStreamSource......Page 903
    Initializing the Media Stream......Page 904
    Sampling......Page 906
    Seeking......Page 907
    The Recorder......Page 908
    The Custom MediaStreamSource......Page 916
    Building LOB Applications......Page 927
    How It Works......Page 928
    The Code......Page 929
    How It Works......Page 940
    The Code......Page 941
    How It Works......Page 949
    The Code......Page 950
    How It Works......Page 958
    The Code......Page 959
    How It Works......Page 964
    The Code......Page 965
    The Code......Page 967
    A......Page 971
    ¦B......Page 972
    ¦C......Page 973
    ¦D......Page 975
    ¦E......Page 976
    ¦F......Page 977
    ¦H......Page 978
    ¦K......Page 979
    ¦M......Page 980
    N......Page 982
    ¦P......Page 983
    ¦R......Page 984
    ¦S......Page 985
    ¦U......Page 988
    ¦V......Page 989
    ¦W......Page 990
    ¦X, Y, Z......Page 991


    📜 SIMILAR VOLUMES


    Silverlight Recipes: A Problem-Solution
    ✍ Rob Cameron, Jit Ghosh 📂 Library 📅 2009 🏛 Apress 🌐 English

    Silverlight Recipes: A Problem-Solution Approach is your practical companion to developing rich, interactive web applications with Microsoft's latest technology. This book tackles common problems and scenarios that on-the-job developers face every day by revealing code and detailed solutions. You'll

    Silverlight 2 Recipes: A Problem-Solutio
    ✍ Jit Ghosh, Rob Cameron (auth.) 📂 Library 📅 2010 🏛 Apress 🌐 English

    <p><p>Microsoft .NET architect evangelist <strong>Jit Ghosh</strong> presents a practical companion guide to developing rich, interactive web applications with Silverlight 2. Common problems, issues, and every–day scenarios are tackled with a detailed discussion of the solution and ready–made code r

    Silverlight Recipes: A Problem-Solution
    ✍ Jit Ghosh, Rob Cameron 📂 Library 📅 2010 🌐 English

    Silverlight Recipes: A Problem-Solution Approach, Second Edition is your practical companion to developing rich, interactive web applications with Microsoft’s latest technology. This book tackles common problems and scenarios that on-the-job developers face every day by revealing code and detailed s

    Silverlight Recipes: A Problem-Solution
    ✍ Jit Ghosh, Rob Cameron 📂 Library 📅 2010 🏛 Apress 🌐 English

    If you're a busy developer who has experience in .NET and want to add to your book collection one great Silverlight resource this book should be the one. The format of this book is "how do you do something?" followed by a concise, pragmatic walk-through to demonstrate "exactly how to do it." So many

    Silverlight 2 Recipes: A Problem-Solutio
    ✍ Jit Ghosh, Rob Cameron 📂 Library 📅 2008 🏛 Apress 🌐 English

    As the cover shows, this is a Problem-Solution approach to Silverlight 2. for those wanting to find out how to do a certain type of function, this text provides a good place to start on how to accomplish it. The statements on problems are clear, solutions straight forward. Included in the first ch

    Visual Basic 2008 Recipes: A Problem-Sol
    ✍ Todd Herman, Allen Jones, Matthew MacDonald, Rakesh Rajan 📂 Library 📅 2008 🌐 English

    Visual Basic 2008 Recipes is a book of ready-made coding solutions for programmers who don't want spend a lot of time reading. Each chapter addresses a specific problem-domain such as multimedia, database access, XML manipulation, etc. Each chapter then presents a number of common problems, with a s