From the Inside Flap
This book is the result of several years of work. Not just my personal work (although writing this book has involved some late nights), but also the hard work and many person years of effort by Microsoft's .NET Framework and XML messaging teams. Several other companies and talented individuals, such as Sam Ruby from IBM, have also been critical in taking this technology to the public.
But this begs the questions: Why have so many people and so much money been poured into this technology? Why do Microsoft and many others perceive Web services as a huge and potentially industry-changing piece of work? This book can't possibly give a complete answer, but in it I've tried to deliver the most important pieces of information I can about Web services, specifically those built with .NET. In doing so, I hope that you, too, can see how wonderful this technology is.
Most books on Web services have focused on specific technologies and how to use class libraries to build Web services and clients. Some of the better ones have attempted to give an overview of SOAP (Simple Object Access Protocol), WSDL (Web Services Description Language), and other technologies. What are Web services? Why do they exist? Again, I can't answer those questions completely, but I can help interested individuals better understand the technology in general, and thereby design and architect better Web services. I've tried to present the material in a way that makes obvious the reasons for their existence.
Of course, as the program manager for Web services built with Microsoft's .NET Framework, I feel compelled to show off a little. I truly feel that I have helped to build the best Web services technology around, and that it's appropriate for me to take you through the major features of this technology. Most of the code listings also use C# and ASP.NET Web Services.
I designed this book to be read either from front to back, or randomly. Although each chapter builds on previous chapters, most chapters can be read alone and still be useful. This book consists of 15 chapters:
- Chapters 1 and 2 explain what Web services are and the standards that make up the Web services world.
- Chapters 3 through 6 are an in-depth view of how the .NET Framework enables developers to build Web service applications.
- Chapters 7 through 14 take a step back and drill into the specifications (from HTTP, to SOAP, to WS-Security) that make up the Web service architecture.
- Chapter 15 delivers a few words of advice about architecting and designing Web service applications.
From the Back Cover
Praise for .NET Web Services
“Keith Ballinger has been ‘Mr. Web Services’ at Microsoft for as long as there were Web services. Anyone doing work on the Microsoft Web Services platform would do themselves a favor by reading this book, as Keith’s insights are unique.”
“This book is a very good introduction to Web services, providing enough specific information for a person to fully understand the principles and implementation issues of Web services . . . Ballinger clearly outlines the fundamental architectural topics that any organization looking to implement XML Web services should consider.”
, Consultant, Microsoft Corporation
“This book provides information about all principal components of Webservices: transport protocol, interface definition and services discovery mechanisms, security and messaging infrastructure, as well as underlying technologies (XML, TCP/IP, HTTP). Description of each subject is comprehensive and complete; examples provide good illustration from the content.”
, Solomio Corp.
.NET Web Services is the authoritative guide to designing and architecting better Web services using Microsoft technologies. Written by Keith Ballinger, a Program Manager for XML Web Services at Microsoft, this book explains what Web services are, why they exist, and how they work in .NET. Readers will gain a thorough understanding of the technologies that allows them to take full advantage of .NET.
The book opens with an introduction to Web services and Web services standards. It then explores .NET technologies and examines how the .NET Framework gives developers the tools they need to build Web service applications. The core of the book focuses on the key specifications that make up the Web services architecture, from HTTP to SOAP to WS-Security. .NET Web Services concludes with the author's expert advice on architecting and designing Web service applications.
Topics covered include:
- The features and pitfalls of Web services
- Web services standards
- Creating Web Services with ASP.NET
- Creating Web service clients
- XML serialization with .NET
- Extending Web services
- Transport protocols for Web services
- XML and XML Schemas
- Describing Web services
- Discovering Web services
- Messaging with Web services
- Securing Web services
- Advanced messaging
Best practices are illustrated throughout with full working examples as well as code samples using C# and ASP.NET Web services. A companion Web site at www.keithba.net includes all sample code from the book.
Books in the Microsoft .NET Development Series are written and reviewed by the principal authorities and pioneering developers of the Microsoft .NET technologies, including the Microsoft .NET development team and DevelopMentor. Books in the Microsoft .NET Development Series focus on the design, architecture, and implementation of the Microsoft .NET initiative to empower developers and students everywhere with the knowledge they need to thrive in the Microsoft .NET revolution.