Errata

MCTS Self-Paced Training Kit (Exam 70-503): Microsoft® .NET Framework 3.5—Windows® Communication Foundation

Errata for MCTS Self-Paced Training Kit (Exam 70-503): Microsoft® .NET Framework 3.5—Windows® Communication Foundation

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
Other Digital Version 1
1

No Examples and Practice question in download version of companion CD.

Rizwan Haider  Jun 10, 2011 
33
Top of page: VB Example

There are two mistakes in the VB example of the Enum:

1) The <DataContract()> attribute is omitted, though it's present in the corresponding C# example.
2) The enum's type ("int") is declared in C# notation instead of the VB equivalent.

Currently it reads

'VB
Public Enum TitleOptions : int

It should read

'VB
<DataContract(Namespace := "http://schemas.fabrikam.com/customers/")> _
Public Enum TitleOptions As Integer

Arin Friedlander  Mar 27, 2012 
Printed, PDF Page 36
Whole page

While it's true that the XmlSerializer is an Opt-Out serializer, this is not accomplished using the "Serializable" and "NonSerialized" attributes (which are found in the System namespace) Those attributes are only for REGULAR serialization (via SoapFormatter and BinaryFormatter, both in the System.Runtime.Serialization.Formatters namespace).

XML Serialization, using the XmlSerializer, does NOT require any class decoration (see http://msdn.microsoft.com/en-us/library/ms733901.aspx).

To Opt-Out members while using the XmlSerializer, you should use the "XmlIgnore" attribute (in the System.XML.Serialization namespace)

Wes Reynolds  May 22, 2011 
Other Digital Version 54
lesson review

In the questions of the lesson review I had two identical questions but with different answers.

QUESTION 53 and 54 in default order.
ANSWERS of 53 seems OK to me. So it difficult to explain why only one of the possible answers fits for question 54. Randomize?

Frans Harinck  Feb 17, 2011 
Printed Page 173
Lesson 2, Exercises 1 and 2

MapPoint service is discontinued since 18.11.2011 and replaced by Bing something

Jouni Vallo  Nov 22, 2011 
Printed Page 221
Question no. 2

The configuration element contains an endpoint that is configured to use the behavior element with name "DefaultBehavior". The 'endpointBehaviors' element only contains an element with name "UpdateClient". Therefore, the configured behavior will be ignored by WCF and the endpoint will use the default behavior. This means that the client will not use the 'Identification' impersonationlevel.
The correct answer to the question therefore should be B, E instead of B,D

Oscar Brouwer  May 18, 2010 
PDF Page 227
IN 1st paragraph


It says:

"It is also possible for a single ServiceHost object to expose the same contract on different bindings.
For example, the following code defines a service host that allows requests to arrive
either through TCP or HTTP."

But the c# code example below it uses TWO DIFFERENT CONTRACTS:

ServiceHost host = new ServiceHost(typeof(UpdateService));
host.AddServiceEndpoint(typeof(IUpdateService),
new NetTcpBinding(), "net.tcp://localhost:8000/UpdateService");
host.AddServiceEndpoint(typeof(IRetrieveService),
new WsHttpBinding("http://localhost/UpdateService");

Bhavesh Mirani  Oct 17, 2010 
Printed Page 253
third line from bottom of page

I think this line should read:

<source name="System.ServiceModel.MessageLogging">

instead of:

<source name="System.ServiceModel.MessageLoging">

This appears in the print, pdf and Safari online versions.

Kirk M. Halgren  Feb 20, 2010 
Printed Page 268
middle of the page, just below the first ruled line

I think that the line "MORE INFO Downloading the .NET 5 SDK"

should read:

"MORE INFO Downloading the .NET 3.5 SDK"

Kirk M. Halgren  Feb 20, 2010 
Printed Page 283
only figure on the page

The image on this page is not the diagram the author(s) intended. It's the graphic for the next figure, 6-9, a command line window. The correct image would look more like the previous figure, 6-7, Proxy message pipeline. This error is present in the pdf, print and Safari books online versions but the drop down box is not enabled for multiple selections.

I am planning to present this chapter to the CMAP certification study group, here in Maryland, in about 4 weeks. Is there any way I could be emailed the link to the correct figure? That would be way cool.

TIA,
Kirk

Kirk M. Halgren  Feb 20, 2010 
Printed Page 395
Chapter 8, 2nd paragraph

On page 394 - Chapter 8: User-Level Security. On the 2nd paragraph below the code it mentions: 'customerCertificateValidatorType' - I think this attribute should be instead: 'customCertificateValidatorType'

Anonymous  Mar 08, 2011 
Printed Page 575
Lesson 2 - question 1. Under A

On page 575, Answers for Chapter 8: Lesson 2 - question 1. Under A. it mentions:
"A. Incorrect: The User property in the ..."

When I had a look in code, I couldn't find a 'User' property in .NET 4.0. When I looked on the MSDN website for .NET 3.5 it doesn't appear on that either, see:

http://msdn.microsoft.com/en-us/library/system.security.permissions.principalpermissionattribute_properties(VS.90).aspx

I believe the alternative property should be 'Name' instead of 'User' for this answer (on page page 575) - this needs to be confirmed by a developer in Microsoft as detailed below.

Name
Gets or sets the name of the identity associated with the current principal.

Anonymous  Mar 08, 2011 
Printed, PDF Page 586
Answers C and D

In the answers C and D the IContextBehavior is mentioned. This is a not existing interface. It should be corrected with IContractBehavior. This interface is explained in lesson 2 of chapter 12 within the paragraph about Custom Synchronization.

Frans Harinck  Feb 17, 2011