Preface


The world is a different place today than it was three years ago when I started researching the first edition of this book. Most people thought then that Web content should somehow be “free,” a hopelessly na ve ideology known today as “dot-communism.” Security was an afterthought, both in application writing and in airports. The stock market was going ballistic.

Today we laugh and groan over our idiocy at the time, just as in our adulthood we wonder how we ever could have believed in Santa Claus or the Easter Bunny. The stock market continues its ballistic trajectory, which no one stopped to think has a downward arc as well as an upward one. Security is the first thing that any application writer who wants to be successful needs to think about. Dot-communism has been discarded along with its political counterpart, as users find that the adjective “free” means, as it always does, “paid for by someone else,” who insists on getting it back one way or another. As Charles Dickens wrote at the start of A Tale of Two Cities, “It was the best of times, it was the worst of times.”

Microsoft .NET has weathered this storm astonishingly well. Three years ago, Microsoft focused most of the limelight on .NET’s XML Web service infrastructure. As I describe in Chapter 4, most users of Web services are today employing them differently from how Microsoft originally envisioned. I’m finding that my customers like .NET primarily for its robustness and security features, for example automatic garbage collection that prevents memory leaks and automatic array bounds checking that prevents buffer overrun attacks. Michael Howard and David LeBlanc describe the latter as “Public Enemy #1” in their book Writing Secure Code, Second Edition (Microsoft Press, 2003). More than anything else, these are the sorts of things that are leading many developers to switch from COM and the Win32 API to .NET. I’ve written the book you are holding (and, my creditors hope, buying) as the key to cracking .NET open.

I was afraid that Microsoft wouldn’t let me tell the story my own way, that they would insist that I hold to the party line. That didn’t happen in this book, not even once. Everything that I say in this book, whether you agree or disagree with it, is my own call. Obviously, I like .NET and think it will make its users a heck of a lot of money, and Microsoft doesn’t disagree. When a prospective employer asks you for a reference, do you provide someone who thinks you’re a demigod, or someone who thinks you’re a turkey? Most programmers I know could provide some of both. In some internal correspondence about an early draft, a project manager took exception to one of my rants about administrative tools and wrote to me, “it makes the purpose of the book more editorial than instruction, IMO. Is that your intention?” I wrote back to this person, “I am proud that my book points out the bad parts of .NET as well as the good, the costs as well as the advantages. I’d be a weasel if I did anything else. IMHO, I consider this to be instruction. If you’re accusing me of calling ’em as I see ’em, I plead guilty, as charged.”

I can’t stand dry reading, any more than I can stand eating dried-out fish or meat. I remember my freshman year in college, when I tried to spice up a chemistry lab report with a couple of jokes and got flunked for my pains. “Levity has no place in science,” my professor said. “Do it over again. Passive voice should be used throughout.” He’s the only guy I’ve ever met with a mustache carefully shaved into a permanent frown. You didn’t get tenure, did you, Phillip? Lighten up; you’ll live longer, or at least enjoy it more. Maybe he was trying to keep himself bored to make his life seem longer, but he shouldn’t inflict it on the rest of us.

To me, the best authors are also the best storytellers, even in, or especially in, the often dry fields of science and history. For example, I greatly admire Laurie Garrett’s The Coming Plague (Penguin, 1995), Evan S. Connell’s Son of the Morning Star (North Point Press, 1997), and William Manchester’s biography of Winston Churchill, entitled The Last Lion (Little Brown, 1983). Think about your college textbooks, written by people like my former professor. What could be a bigger turnoff? Then read this excerpt about Emile Roux’s development of diphtheria antitoxin and the first human trials, during a vicious outbreak among children in Paris in 1894:

Roux looked at the helpless doctors, then at the little lead-colored faces and the hands that picked and clutched at the edges of the covers, the bodies twisting to get a little breath....

Roux looked at his syringes—did this serum really save life?

“Yes!” shouted Emile Roux, the human being.

“I don’t know—let us make an experiment,” whispered Emile Roux, the searcher for truth.

“But, to make an experiment, you will have to withhold the serum from at least half of these children—you may not do that.” So said Emile Roux, the man with a heart, and all voices of all despairing parents were joined to the pleading voice of this Emile Roux.

You can read about Roux’s choice and its results in Microbe Hunters by Paul de Kruif, originally published in 1926 and periodically reissued, most recently in 1996 by Harcourt Brace. Not much academic objectivity there, but which would you rather read? I know which I’d rather write. I do not come close to de Kruif’s eloquence, and I seriously doubt that anyone will be reissuing this book when I’m 112 years old. But I’ve done my best to make it slide down easily, and how many technical authors even try?

De Kruif closes his book by saying, “This plain history would not be complete if I were not to make a confession, and that is this: that I love these microbe hunters, from old Antony Leeuwenhoek to Paul Ehrlich. Not especially for the discoveries they have made nor for the boons they have brought mankind. No. I love them for the men they are. I say they are, for in my memory every man jack of them lives and will survive until this brain must stop remembering.” As I say in my epilogue (no fair jumping there now; you have to read the whole book first), the Internet is doing nothing more nor less than evolving the human species. Microsoft .NET is the product that’s going to crack it wide open. And I find it extremely cool to be chosen to tell the story and to tell it my own way. To talk with the project team, to discuss what the future of computing will be and why, is the reason I switched to Microsoft Press from my former publisher. Early readers have told me this comes through in my text. I certainly tried, and I hope they are right.

Every book is a team effort, like a moon launch but on a smaller scale. The authors, like the astronauts, get such glory as there is (you’re all coming to my ticker tape parade, aren’t you?), but without all the other people who worked so hard on this project, you’d never get to read it. Like the thousands of Project Apollo team members, most of them get very little acknowledgment (although I think the chain-smoking, vest-wearing flight controller Gene Kranz, played by Ed Harris, nearly stole the show from Tom Hanks’s Jim Lovell in the movie Apollo 13.) Until someone makes Introducing Microsoft .NET into a movie (a fine idea, any producers out there?), I’m afraid they’re stuck with only this acknowledgment to tell the world of their deeds.

First honors must go to John Pierce, the lead editor on this book. He played a secondary role on my first Microsoft Press book, Understanding COM+, several years ago. I was very happy to find out that he was available for the lead role on this book. His sense of humor is as warped as mine. I knew he wouldn’t cramp my style or change my voice, which, love it or hate it, you’ll have to agree is distinctive. He shaped my prose in a better way than I could have.

Next come Jean Ross, Marc Young, and Christophe Nasarre, the technical editors. They tracked down the answers to all of my technical questions, usually under great time pressure and in the face of daily changes to the code builds. In addition to Jean, Marc, and Christophe, many of the .NET project development team took time from their schedules to set me straight on things. I’d like to especially thank Keith Ballinger, Susan Warren, Mark Boulter, Loren Kohnfelder, Erik Olson, John Rivard, Paul Vick, Jeffrey Richter, and Sara Williams.

On the acquisition side, Ben Ryan started this process and Danielle Bird took over when he moved on. Anne Hamilton backstopped the process. Teresa Fagan, a Microsoft Press group product manager, upon hearing the working title Introducing Microsoft .NET had the idea, “Hey, you ought to get that as a Web address,” and I ran through the rain back to my lonely writer’s garret (OK, it was the Bellevue Club Hotel’s concierge floor) and snagged it before anyone else could act on the thought. That was the cherry on top of the sundae.

Finally, I need to thank my wife Linda, now a mother to our daughters, Annabelle Rose and Lucy Katrina, and Annabelle herself, who now not only names individual objects (“Simba”) and calls methods on those objects (“Feed Simba”) but recognizes that objects are instances of classes (“Simba is a kitty cat”). One day soon she’ll be teaching Lucy about them.

David S. Platt
http://www.rollthunder.com
Ipswich, Massachusetts, USA
April 2001, March 2002, and February 2003.




Introducing Microsoft. NET
Introducing Microsoft .NET (Pro-Developer)
ISBN: 0735619182
EAN: 2147483647
Year: 2003
Pages: 110

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net