Data-Driven Services with Silverlight 2

Errata for Data-Driven Services with Silverlight 2

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update



Version Location Description Submitted By Date Submitted Date Corrected
Safari Books Online
25
I am not sure about page but section is 1.5.4

For Extension method example The function called SquareIt is returning doubled value instead of Squared Value //Error here public static int SquareIt(this int num) { return num*2; } //Should be public static int SquareIt(this int num) { return num*num; }

Note from the Author or Editor:
Yes, this was a typo on my part. I originally made the method a DoubleIt() method and it was obviously overlooked in the reviews since it was not the main focus. Thanks for making note of it. I will have it fixed for the next printing.

Manpreet  Jan 14, 2009 
Printed
Page 31
Create Runtime Bindings 1st line

First line ends with " ...and a target property specified." should read " ... and a source property specified."

Note from the Author or Editor:
Yes, this is indeed a typo. Thanks for finding this. We will have it corrected in any future printings.

andy17  Jan 31, 2009 
Printed
Page 136
top

In chapter 6 there is an error in the VB code dealing with interfaces. In the classes that implement the INorthwindService interface the implements statement is missing. This is only missing in the C# code. This problem only exists in the book in example 6-5. The source code for this chapter does not have this issue. The FindProducts function should look like this ... Public Function FindProduct(ByVal productId As Integer) As Products Implements INorthwindService.FindProduct ... ... ... End Function End Class As a side note, I believe this happened when I converted just the snippet of code for example 6-5 from C# to VB using Instant VB. When I converted the entire project using the same tool, it worked great. But when converting a snippet, sometimes the tools cannot figure out the entire context for the conversion.

John Papa
John Papa
O'Reilly AuthorO'Reilly Blogger 
Jan 12, 2009