Pro ADO.NET Data Services.pdf

(3681 KB) Pobierz
373650615 UNPDF
373650615.001.png
Pro ADO.NET Data
Services
Working with RESTful Data
John Shaw and Simon Evans
373650615.002.png 373650615.003.png
Pro ADO.NET Data Services: Working with RESTful Data
Copyright © 2009 by John Shaw and Simon Evans
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-4302-1614-8
ISBN-13 (electronic): 978-1-4302-1615-5
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence
of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark
owner, with no intention of infringement of the trademark.
Lead Editor: Tony Campbell
Technical Reviewer: Damien Foggon
Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Tony Campbell, Gary
Cornell, Jonathan Gennick, Michelle Lowman, Matthew Moodie, Duncan Parkes, Jeffrey Pepper, Frank
Pohlmann, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh
Project Manager: Sofia Marchant
Copy Editors: Ami Knox, Heather Lang
Associate Production Director: Kari Brooks-Copony
Production Editor: Laura Cheu
Compositor: Kinetic Publishing Services, LLC
Proofreader: Nancy Bell
Indexer: Broccoli Information Management
Artist: Kinetic Publishing Services, LLC
Cover Designer: Kurt Krames
Manufacturing Director: Tom Debolski
Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor,
New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail kn`ano)ju<olnejcan)o^i*_ki , or
visit dppl6++sss*olnejcankjheja*_ki .
For information on translations, please contact Apress directly at 2855 Telegraph Avenue, Suite 600,
Berkeley, CA 94705. Phone 510-549-5930, fax 510-549-5939, e-mail ejbk<]lnaoo*_ki , or visit dppl6++sss*
]lnaoo*_ki .
Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use.
eBook versions and licenses are also available for most titles. For more information, reference our Special
Bulk Sales–eBook Licensing web page at dppl6++sss*]lnaoo*_ki+ejbk+^qhgo]hao .
The information in this book is distributed on an “as is” basis, without warranty. Although every precau-
tion has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability
to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indi-
rectly by the information contained in this work.
The source code for this book is available to readers at dppl6++sss*]lnaoo*_ki .
To Lori
Thanks for being understanding while I worked on this during
our honeymoon . . . it proves to me how much you love me.
—John Shaw
To Angharad
Your soul makes me complete and your true friendship
makes me love you more each passing day.
—Simon Evans
Contents at a Glance
Foreword ........................................................................xiii
About the Authors ................................................................. xv
About the Technical Reviewer ......................................................xvi
Acknowledgments ............................................................... xvii
PART 1 NNN ADO.NET Data Service Fundamentals
CHAPTER 1
The Foundations of ADO.NET Data Services .......................3
CHAPTER 2
Addressing RESTful ADO.NET Data Services .....................25
CHAPTER 3
ADO.NET Data Services Development ...........................71
PART 2 NNN ADO.NET Data Services in the Real
World
CHAPTER 4
Exposing Existing WCF SOAP Services and
.NET APIs Through ADO.NET Data Services ......................121
PART 3 NNN ADO.NET Data Services from the
Outside
CHAPTER 5
ASP.NET and AJAX Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
CHAPTER 6
Mashing Up Data Services .....................................195
CHAPTER 7
Silverlight 2.0 Solutions .......................................235
CHAPTER 8
Using ADO.NET Data Services with BizTalk .....................257
PART 4 NNN The Future of ADO.NET Data
Services
CHAPTER 9
Conclusion ....................................................287
INDEX .......................................................................305
v
373650615.004.png
Zgłoś jeśli naruszono regulamin