Errata

Programming Windows Azure

Errata for Programming Windows Azure

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
51
bottom of page

Example 3-2 specifies a ServiceDefinition.csdef file which is in the legacy format and no longer compatible with Azure. Running the cspack.exe as described at the bottom of page 52 results in an error as shown below.

An updated sample should be provided.

E:\azure>cspack htmlwebsite\ServiceDefinition.csdef /role:WebRole1;html website /out:output /copyonly
Windows(R) Azure(TM) Packaging Tool version 1.4.0.0
for Microsoft(R) .NET Framework 3.5
Copyright (c) Microsoft Corporation. All rights reserved.

E:\azure\htmlwebsite\ServiceDefinition.csdef: Warning CloudServices078 : The web role 'WebRole1' is configured using a legacy syntax that specifies that it runs in Hostable Web Core. To run your web role under full IIS, add a <Site> declaration within the service definition file. See http://go.microsoft.com/fwlink/?LinkId=198475

Brooks Cutter  Jul 12, 2011 
PDF Page 73
line 1, 2nd paragraph

The service definition is everything that goes into ServiceDefinition.cscfg.

It should be .csdef not .cscfg.

Fei Ye  Jun 29, 2011 
Printed Page 244
Code Example 10-14

The code reads:
var svc = new TestDataServiceContext(...

but it should be
var svc = new ContactDataServiceContext(...

Greg  Nov 30, 2010 
Other Digital Version 1
Last paragraph

In the last paragraph of the section entitled "Building a Storage Client" in Chapter 7 the author states that the file can be found at the URL:

http://<accountname>.blob.core.windows.net/TEST/helloworld.txt

However, since the code earlier in the chapter used the container name TESTNETCLIENT the correct URL should be:

http://<accountname>.blob.core.windows.net/TESTNETCLIENT/helloworld.txt

Note that I am reading the epub version of the book on an iPad so the page numbers are meaningless.

Mark Capaldi  Aug 24, 2010