Errata


Print Print Icon

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



Version Location Description Submitted By
Safari Books Online 1.5.1.5
Figure 1-24

svcutil/d:c:\LearningWCF\Labs\Chapter1\HelloIndigo\Client
/o:serviceproxy.cs/config:app.config http://localhost:8000/
HelloIndigo

should be

svcutil/d:c:\LearningWCF\Labs\Chapter1\HelloIndigo\Client
/o:serviceproxy.cs /config:app.config http://localhost:8000/
HelloIndigo

and

svcutil/d:"c\Learning WCF\Labs\Chapter1\HelloIndigo\Client"
/o:serviceproxy.cs/config:app.config http://locahost:8000/HelloIndigo

should be

svcutil/d:"c\Learning WCF\Labs\Chapter1\HelloIndigo\Client"
/o:serviceproxy.cs /config:app.config http://locahost:8000/HelloIndigo

(Spaces added after "serviceproxy.cs" in both cases)

Richard DesLonde 
Safari Books Online 1.5.2
4th paragraph

Reads

"It also includes a smaple data contract (to be discussed in Chapter 2."

Should read

"It also includes a sample data contract (to be discussed in Chapter 2"

Richard DesLonde 
Safari Books Online 1.5.3
Second Code example

svcutil /d:<YourLearningWCFPath>\Labs\Chapter1\HelloIndigo\Client /o:serviceproxy.cs/config:noconfig http://localhost:8000/HelloIndigo

should be

svcutil /d:<YourLearningWCFPath>\Labs\Chapter1\HelloIndigo\Client /o:serviceproxy.cs /config:noconfig http://localhost:8000/HelloIndigo

(Added space after "serviceproxy.cs")

Richard DesLonde 
Printed Page 23
Example 1-1. Code to programatically initialize the ServiceHost

(May 2007: First Edition)

Step 5.Compile and run the host will not work yet, unless you comment out some lines as follows:

static void Main(string[] args)
{
//using (ServiceHost host = new ServiceHost(typeof(HelloIndigo.HelloIndigoService),
// new Uri("http://localhost:8000/HelloIndigo")))
//{
// host.AddServiceEndpoint(typeof(HelloIndigo.HelloIndigoService),
// new BasicHttpBinding(),
// "HelloIndigoService");
// host.Open();
Console.WriteLine("Press <ENTER> to terminate the service host");
Console.ReadLine();
//}
}

Besides:

host.AddServiceEndpoint(typeof(HelloIndigo.IHelloIndigoService),
new BasicHttpBinding(),
"HelloIndigoService");

Should be:

host.AddServiceEndpoint(typeof(HelloIndigo.HelloIndigoService),
new BasicHttpBinding(),
"HelloIndigoService");

Hermann Rösch