B. Ring said
The reviewer who said "none of the code examples work in a step-by-step manor" pretty much nailed it. To be specific, I was able to follow along until the durable service example in chapter 3. It seems to be slapped together. The code example on page 117 needs [Serializable] and [DurableService] attributes at the top. You also need add references and some using statements. In the second to last paragraph on 117 it refers to the DataContract attribute when it means the Serializable attribute. The scripts you run to set up the database (page 119) install in the "master" database, not in "wfDurableServices" as the Initial Catalog setting on page 118 shows. (Oh, be sure to run the script to set up the schema **first**.) Also, the bindingConfiguration setting on that page causes errors (it runs okay without it).
The bottom of page 119 shows a code example with Main() that starts the service host. That's fine, but there's another Main() on page 120-121 where it's also needed.
So, I got it to run, but it took a lot of trial and error and consulting VS2008 documentation. It's clear that no one tested this partiular example.
Sam A. Matthews said
This wasn't a horrible book. It had some interesting background and contextual information. The general high level explanations were interesting, but I felt that most of the coding examples were too complicated for someone trying to comprehend a new technology, when anything more than 'hello world' is a challenge. I think this would be a good book to come back to once one is familiar with the technology. I did like very much the way it covered both WF and WCF, and integration in the same material (because thats what I am trying to do).
That being said, I am very unhappy about one example in the book that simply does not work. And...after downloading the source code from the link provided by the author, this example is not present!! Why? On page 236 there is a code listing. There is a single call to SetContext(context) that does not work. It raises an exception saying that the persistence service should be installed. After installing persistence, it complains that the instance of the workflow cannot be found. If anyone knows what up with this I would be very grateful.
CodeMonkey said
As previously mentioned, this book is hardly worth the effort. None of the code examples work in a step-by-step manor and you will spend more time attempting to piece together the mistakes than actually learning anything.
It's amazing the authors/editors didn't take the 2 hours it would take to go through and test out their samples to see that nothing works out of the box.
As previously mentioned, the websites listed as download and errata sources do not exist, provide no help, or offer errata that isn't any different than the incorrect text the book already contains.
It's a shame since the book is fairly easy to read and has a straightforward approach. However it is entirely unusable as a form of reference or learning.
T. Anderson said
This book reminds me of one of the old WROX books written by 23 different authors who were not told what the title was, and were not allowed to take their ADHD medicine while writing the book.
Every chapter is some sort of between content. What I mean by that is they skipped the background, skipped setting up the context, picked one piece of part of a solution, presented it, skipped the explanation, skipped the summary, and moved on to a completely different topic in the next section. They give you the content between all the important stuff.
So it is not readable from cover to cover.
I am currently putting together an application using WCF and WF Services. I have run into approximately 7 or 8 things I needed to look up. This book provide no guidance on any of them.
So it does not make a good reference.
The code still does not exist, so I cannot comment on its usability.
My recommendation is to definitely look elsewhere when looking for a WCF 3.5 book.
irate_customer said
I agree 100% with a previous customer review, a) no code to download in spite of what is said b) use's safari as a .PDF substitute, which totally stinks.
on the back cover it says, "free online Edition with the purchase of this book", this means that only if you are online can the book be accessed, totally useless. You receive 1 token to be able to get 1 chapter in pdf format, well theres 21 chapters. so unless you get the unlimited package, you cannot bring the book to your pc to view.
i'm just not impressed with what I read so-far and I really dislike the no code to download problem.
Comments