Book Summary for Data Driven Services with Silverlight 2: on Amazon Now!

    Data Services With Silverlight 2 - Amazon cover - LargeMy Data Services with Silverlight 2 book is now available for pre-order on Amazon! Since it was posted I realized that now is a good time to update my book summary and answer some common questions that I have received about what topics will be addressed in my book. So this should help give a better understanding of the topic I am covering.

    Style of the Book?: The style of the book is a tell and show style. First I discuss a concept, what it is, how it works, why you care, and then I show how it works. For example I discuss RESTful services (and some not so RESTful), show examples, explain their characteristics, demonstrate how to invoke them using different classes from Silverlight 2,  how to consume their responses, how to debug them, and so on. Notice the focus on the “how to” and “demonstrate” words … I tried very hard to make this a book that will help someone get off the ground and build applications with functional demo code.

    VB or C#?: Oh, and I have had several questions about C# and VB code … so yes, all code examples in my book are in both C# and VB, including all downloadable source code for the book. The source will be available on  my site in a section dedicated to the book (not yet created). If you want to bookmark it now it will be www.silverlight2data.com .

    Where is John?: I’ll be out and about a lot this Fall at various events presenting Silverlight topics. You can check out my Events page to see the current confirmed list. I have some more events I am adding for the Fall … so keep an eye on the Events page or my main feed for updates.

    Data Services with Silverlight 2

     

    By John Papa

    O’Reilly Publishing

    Publish Date: December 2008

     

    Book Summary

    There is tremendous interest in building applications with data centric Silverlight 2 that interact with data driven services. Addressing this interest, Data Services with Silverlight 2 demonstrates how to build Silverlight 2 applications using the XAML based data binding techniques with the control suite included in Silverlight 2. The first section of this book explores the importance of data binding modes and the DataContext, binding notifications, value converters, and binding to list based sources. The second section dives into communications with SOAP based ASMX and WCF web services, dealing with cross domain issues, consuming custom entities as well as entities from tools such as LINQ to SQL, and communication with services that do not describe themselves. As RESTful web service are growing in number and popularity, this book demonstrates how to consume various types of RESTful services using WebClient and HttpWebRequest with both HTTP GET and POST verbs. Sometimes it is valuable to design custom RESTful web services. This book demonstrates how WCF can be used to design RESTful services that can be consumed by Silverlight 2 applications. The final chapters wrap up with some tips and tricks, demonstrating how to consume RSS services, and integrating the ADO.NET Data Services (code-named Astoria) with Silverlight 2 applications.

    The book assumes a basic knowledge of Silverlight and XAML, and builds on those foundations showing how to develop robust data service driven applications.

    Main Topics of Data Services with Silverlight 2

    · Getting Started with Silverlight 2 Data and Services

    · Foundations in Silverlight 2’ XAML Based Data Binding

    · Binding Modes and Notifications

    · Value Converters, Binding to Lists and DataTemplates

    · Consuming SOAP Services from Silverlight 2 Using ASMX and WCF

    · Passing Entities via WCF: POCO, LINQ to SQL, Entity Framework

    · Working with Cross Domain Policies

    · Debugging Tips with Fiddler and WebDevelopmentHelper

    · Consuming RESTful Services with WebClient and HttpWebRequest from Silverlight 2

    · Designing RESTful Services to be Consumed by Silverlight 2

    · Managing XML and JSON Responses in Silverlight 2 with LINQ to XML and LINQ to JSON

    · Receiving and Morphing RSS Feed Data with Silverlight 2

    · Communicating with ADO.NET Data Services via Silverlight 2

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    UPDATE 1: As a side note, a great companion book to mine is Programming Silverlight 2 by Tim Heuer and Jesse Liberty. These guys know their stuff and have created what I think will be the defacto Silverlight 2 book. Theirs covers a greater breadth of Silverlight than mine, while my book zooms in on the details and implementation of data and services with Silverlight 2. They make a good bundle :-)

    UPDATE 2: Additional Notes from Readers:

    Will this be an eBook?: I am not sure if my book will be an eBook or not. I will ask the publisher, O’Reilly.

    Will this book be in Rough Cuts?: No, this book will not be in “rough cuts”

    DotNetKicks Image
    #1 austin avrashow on 9.04.2008 at 12:39 PM

    Look forward to your book. Highly focused, so it won't have to cover the 'what is silverlight?' 'what controls are available?' chapters general SL books have. [good]

    I'm hoping you can offer bkgnd info on the high-level data access technologies (EF, ORM technologies) in your examples for those of us w/o hands-on experience using these tools and technologies [without dragging down the pace for those who know this stuff already].

    A quick 2-paragraph explanation of the highlevel components and why this technology would be best for this scenario you're about to use in an example. Just a thought.



    #2 John Papa on 9.04.2008 at 12:47 PM

    Austin ... Yes, it focused on specific topics regarding data and services. I do go over how to consume entity models from various tools. I don't hit them all obviously, but I hit some of the major ones as well as consuming POCO entities. Its a demonstration to show that its easy to consume entity models from Silverlight as long as you are OK with being stateless ... which is a good thing :)



    #3 LINQ to JSON – Checking for an Object or Array on 9.14.2008 at 6:23 PM

    I was writing an event handler for my book that consumes a stream of JSON from a RESTful service. The handler is called when one of several asynchronous events is invoked. All of these events request a steam of either 1 or more products to be returned



    #4 Creating RESTful WCF Services – Did You know? on 9.19.2008 at 4:27 PM

    I’ve been working hard on reviewing the technical reviews of my book lately and I learned something new last night from my colleague and wise guru of the web services world Rob Bagby . Rob put in one of the comments in his review of my chapter on creating



    #5 Loader Custom Control: Dynamically Loading User Controls in Silverlight 2 on 9.23.2008 at 2:04 PM

    I create a lot of demo applications, and with Silverlight 2 that means creating a lot of user controls.  Sometimes I build entire applications and other times I build simple and focused user controls. Sometimes I have a dozen user controls that I



    #6 What’s in a Name Really on 10.15.2008 at 2:11 PM

    I’ve left the “writing like mad” portion of the book schedule and now entered the “editing like a fiend” portion. Technical book writing is certainly a whirlwind tour of writing, coding, and editing. One of the topics that came up was the title and whether



    Leave a Comment