Errata

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.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 30
3rd paragraph

The web domain name site www.silverlight-data.com mentioned in this book as one containing samples from the book has expired. Yes, some samples from the book are on the O'Reilly web, but I am not sure if everything is there (for, if everything could be there at O'Reilly's, why bothering having a separate web domain just for that). Is 10$ annually to expensive for nice people that have bought a book?

Anonymous  Jun 07, 2010 
Printed Page 57
Example 3-5

product class Product {
...
public int QuantityPerUnit {
...
}

should be

product class Product {
...
public string QuantityPerUnit
...
}

to be used with the example data ;-)

Am?lie Husson  Jul 25, 2009 
Printed Page 133
the code of C# code and the code of VB

The code for the property of the class:
public int CustomerId
{
get { return _customerId; }
set { _customerId = value; }
}

Missing one line of tag. According to the description in page 132, it should be like

[DataMember]
public int CustomerId
{
get { return _customerId; }
set { _customerId = value; }
}

Also for VB code, one line as
<DataMember> _

need to be added for the property CustomerId too.

kent zhou  Mar 06, 2009 
Printed Page 134
4th paragraph

The line is:
when user click the OK button. Figure 6-2 shows the Silverlight 2 user interface

It should be read as:
when user click the Save button. Figure 6-2 shows the Silverlight 2 user interface

kent zhou  Mar 06, 2009 
172
Example 7-5 (VB)

line in example reads:

svc.DownloadStringCompleted += svc_DownloadStringCompleted


VB does not support the "+=" syntax.

Should be

AddHandler svc.DownloadStringCompleted, AddressOf svc_DownloadStringCompleted

Michael Clark  Nov 24, 2009 
191
Example 8-2. ItemSearch sample request

The sample results in a 400 (Bad Request Result) due to the "SearchIndex=Books" parameter.

Also, on Aug 17, 2009 12:27 PM PDT, Amazon's Product Advertising API Team announced that "the Product Advertising API will require all requests to be authenticated using request signatures". Due to this change the sample request (Example 8-2) yields a result of AWS.MinimumParameterRequirement: Your request should have atleast 1 of the following parameters: Signature, Timestamp. This is in addition to the "SearchIndex" error.

Michael Clark  Nov 24, 2009