Errata

Getting Started with Windows 8 Apps

Errata for Getting Started with Windows 8 Apps

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
PDF Page VII
6th paragraph

Starting ?Before building?,
word ?applidation? should be ?application?.

Kiriakos Kentrotis  May 26, 2012 
PDF Page 15
5th paragraph

Starting ?App.xaml is?,
word ?appliation? should be ?application?.

Kiriakos Kentrotis  May 26, 2012 
PDF Page 19
6th paragraph

Starting ?DataContractJsonSeralizer, pass?,
keyword ?DataContractJsonSeralizer? should be ?DataContractJsonSerializer?.

Kiriakos Kentrotis  May 26, 2012 
PDF Page 21
3rd paragraph

It says to get dll's from c:\Program Files (x86)... but these files weren't on my Win8 so I found info on authors blog about getting them.
http://www.bendewey.com/blog/index.php/380/using-the-wcf-data-services-client-with-windows-8. Also, they have Metro in the name which needed changing to WindowsStore.

Dig Gary  Sep 01, 2012 
Other Digital Version 22
code Example 2-5

The book is excellent bit the samples are no longer working with the new changes in the Bing Search API. Even after downloading the new WCF package for windows store and changing the uri to https://api.datamarket.azure.com/Data.ashx/Bing/Search/v1/, I get the exception
"The authorization type you provided is not supported. Only Basic and OAuth are supported\r\n"

StackTrace:
at System.Data.Services.Client.BaseAsyncResult.EndExecute[T](Object source, String method, IAsyncResult asyncResult)
at System.Data.Services.Client.QueryResult.EndExecuteQuery[TElement](Object source, String method, IAsyncResult asyncResult)

I even tried to change the line
context.Credentials = new NetworkCredential(accountKey, accountKey);
to
context.Credentials = new NetworkCredential("", accountKey);
based on ADM_MIGRATION_GUIDE.docx from http://go.microsoft.com/fwlink/?LinkID=248077 but it still doesn't work.

Meg  Oct 11, 2012 
Printed Page 22
Search_Click code

Ben has already posted the updated link to latest WCF tools. The code will not work even after that. The problem is the method signatures for context.Image have also changed. The second param "en-US" is no longer valid. The following code will work:

var result = await context.Image(this.SearchQuery.Text, null, null, null, null, null, null).ExecuteAsync();

Anonymous  Oct 14, 2012