Xem mẫu

ASP.NET Bible by mridula Parihar and et al. ISBN: 0764548166 Hungry Minds © 2002 (855 pages) Learn the ins and outs of ASP.NET using Visual Basic and C# with this comprehesive reference tool. Table of Contents ASP.NET Bible Preface Part I - ASP.NET Basics Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 - Understanding the .NET Framework - Getting Started with ASP.NET - Building Forms with Web Controls - Using Rich Web Controls - Creating and Using Custom Controls - Validating User Input - Debugging ASP.NET Pages Part II - ASP.NET Database Programming Chapter 8 Chapter 9 - Introducing ADO.NET - Understanding Data Binding Chapter 10 - Working with Data Grids Chapter 11 - Using Templates Chapter 12 - Using SQL Server with ASP.NET Chapter 13 - Advanced Data Binding and XML Part III - Advanced ASP.NET Chapter 14 - ASP.NET Application Configuration Chapter 15 - Developing Business Objects Chapter 16 - Building HTTP Handlers Chapter 17 - Understanding Caching Chapter 18 - Building Wireless Applications with ASP.NET Mobile Controls Chapter 19 - ASP.NET Security Chapter 20 - Localizing ASP.NET Applications Chapter 21 - Deploying ASP.NET Applications Part IV - Building Web Services Chapter 22 - Introduction to Web Services Chapter 23 - Web Services Infrastructure Chapter 24 - Understanding SOAP Chapter 25 - Building a Web Service Chapter 26 - Deploying and Publishing Web Services Chapter 27 - Finding Web Services Chapter 28 - Consuming Web Services Part V - Building ASP.NET Applications Chapter 29 - ASP.NET Blackjack Chapter 30 - Chatty Discussion Forum Appendix A - Visual Basic Syntax Appendix B - Visual Basic Functions and Features Appendix C - Visual Basic Object-Oriented Programming Appendix D - C# Syntax Appendix E - C# Classes Appendix F - C# Components Index List of Figures List of Tables List of Sidebars ASP.NET Bible Mridula Parihar et al. Published by Hungry Minds, Inc. 909 Third Avenue New York, NY 10022 www.hungryminds.com Copyright © 2002 Hungry Minds, Inc. All rights reserved. No part of this book, including interior design, cover design, and icons, may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording, or otherwise) without the prior written permission of the publisher. Library of Congress Control Number: 2001093388 ISBN: 0-7645-4816-6 10 9 8 7 6 5 4 3 2 1 1B/SQ/QS/QS/IN Distributed in the United States by Hungry Minds, Inc. Distributed by CDG Books Canada Inc. for Canada; by Transworld Publishers Limited in the United Kingdom; by IDG Norge Books for Norway; by IDG Sweden Books for Sweden; by IDG Books Australia Publishing Corporation Pty. Ltd. for Australia and New Zealand; by TransQuest Publishers Pte Ltd. for Singapore, Malaysia, Thailand, Indonesia, and Hong Kong; by Gotop Information Inc. for Taiwan; by ICG Muse, Inc. for Japan; by Intersoft for South Africa; by Eyrolles for France; by International Thomson Publishing for Germany, Austria, and Switzerland; by Distribuidora Cuspide for Argentina; by LR International for Brazil; by Galileo Libros for Chile; by Ediciones ZETA S.C.R. Ltda. for Peru; by WS Computer Publishing Corporation, Inc., for the Philippines; by Contemporanea de Ediciones for Venezuela; by Express Computer Distributors for the Caribbean and West Indies; by Micronesia Media Distributor, Inc. for Micronesia; by Chips Computadoras S.A. de C.V. for Mexico; by Editorial Norma de Panama S.A. for Panama; by American Bookshops for Finland. For general information on Hungry Minds` products and services please contact our Customer Care department within the U.S. at 800-762-2974, outside the U.S. at 317-572-3993 or fax 317-572-4002. For sales inquiries and reseller information, including discounts, premium and bulk quantity sales, and foreign-language translations, please contact our Customer Care department at 800-434-3422, fax 317-572-4002 or write to Hungry Minds, Inc., Attn: Customer Care Department, 10475 Crosspoint Boulevard, Indianapolis, IN 46256. For information on licensing foreign or domestic rights, please contact our Sub-Rights Customer Care department at 212-884-5000. For information on using Hungry Minds` products and services in the classroom or for ordering examination copies, please contact our Educational Sales department at 800-434-2086 or fax 317-572-4005. For press review copies, author interviews, or other publicity information, please contact our Public Relations department at 317-572-3168 or fax 317-572-4168. For authorization to photocopy items for corporate, personal, or educational use, please contact Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, or fax 978-750-4470. LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND AUTHOR HAVE USED THEIR BEST EFFORTS IN PREPARING THIS BOOK. THE PUBLISHER AND AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS BOOK AND SPECIFICALLY DISCLAIM ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. THERE ARE NO WARRANTIES WHICH EXTEND BEYOND THE DESCRIPTIONS CONTAINED IN THIS PARAGRAPH. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES REPRESENTATIVES OR WRITTEN SALES MATERIALS. THE ACCURACY AND COMPLETENESS OF THE INFORMATION PROVIDED HEREIN AND THE OPINIONS STATED HEREIN ARE NOT GUARANTEED OR WARRANTED TO PRODUCE ANY PARTICULAR RESULTS, AND THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY INDIVIDUAL. NEITHER THE PUBLISHER NOR AUTHOR SHALL BE LIABLE FOR ANY LOSS OF PROFIT OR ANY OTHER COMMERCIAL DAMAGES, INCLUDING BUT NOT LIMITED TO SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR OTHER DAMAGES. Trademarks: Hungry Minds and the Hungry Minds logo are trademarks or registered trademarks of Hungry Minds, Inc. All other trademarks are the property of their respective owners. Hungry Minds, Inc., is not associated with any product or vendor mentioned in this book. is a trade mark of Hungr y Minds, Inc. Credits Acquisitions Editor Sharon Cox Project Editor Sharon Nash Development Editor Nancy D. Warner Technical Editor Michael MacDonald Copy Editor Bill McManus Editorial Manager Mary Beth Wakefield Vice President and Executive Group Publisher Richard Swadley Vice President and Publisher Joseph B. Wikert Project Coordinator Bill Ramsey Graphics and Production Specialists Sean Decker Melanie DesJardins Joyce Haughey Barry Offringa Betty Schutte Quality Control Technician Laura Albert David Faust John Greenough Andy Hollandbeck Proofreading and Indexing TECHBOOKS Production Services About the Authors Mridula Parihar has a master`s degree in Applied Operations Research from Delhi University. She is a Microsoft Certified Solution Developer (MCSD) and has worked approximately 2½ years with NIIT Ltd. Mridula spent her first year in the Career Education Group (CEG) of NIIT, in which she taught NIIT students and was involved in scheduling and managing resources. For the past 1½ years, she has been working in the Knowledge Solutions Business (KSB) group of NIIT, in which she has had the opportunity to work on varied technical projects. Mridula has been involved in design, development, testing, and implementation of instructor-led training courses. Her primary responsibilities include instructional review, technical review, and ensuring ISO compliance. For the past six months, Mridula has been involved in textbook writing on varied technical subjects such as TCP/IP and .NET. Essam Ahmed is an accomplished developer with more than 10 years of professional programming and design experience. Essam enjoys writing — his publications include JScript .NET Programming (published October 2001 by Hungry Minds), more than 50 book reviews at codeguru.com, and various articles at asptoday.com and thecodechannel.com. Essam`s professional affiliations include the IEEE Computer Society (http://computer.org), the Association for Computing Machinery (http://acm.org), and the Worldwide Institute of Software Architects (www.wwisa.org), in which he is a practicing member. Essam was a speaker at VSLive 2001 in Sydney, Australia. Essam`s Web site is www.designs2solutions.com. Jim Chandler is an independent consultant with extensive experience in architecting and developing custom, integrated software solutions for small to medium-sized businesses in the Midwest. Before focusing his career on the Windows platform, Jim was a Graphics Partner at Digital Equipment Corporation, evangelizing X11 and Motif. Jim is also a co-author of the Visual Basic.NET Bible and an active member of the St. Louis .NET Users Group. He has delivered presentations on such topics as ASP.NET, XML, and Web services to the St. Louis developer community. His research interests include everything .NET as well as COM+ and developing mobile applications for the Pocket PC. Outside the daily challenges of developing applications and fulfilling his research interests, Jim shares his spare time with his wife, Rhonda, and their two sons, Sam and Thomas. Bill Hatfield is the best-selling author of several computer books, including ASP.NET For Dummies, two editions of Active Server Pages For Dummies (on Classic ASP), Visual InterDev For Dummies, and Creating Cool VBScript Web Pages (all from Hungry Minds). He is also the editor of three monthly publications from Pinnacle Publishing on .NET technologies: C# Developer, .NET Developer, and ActiveWeb Developer. He`s an independent corporate trainer and maintains a Web site (www.edgequest.com) dedicated to helping developers solve problems. He works from his home in Indianapolis, Indiana, where he and his wife have celebrated the birth of their first child, Bryce Christopher. Of course, now that he has a real baby, he can stop dressing up the cat in little outfits. Richard Lassan is a Senior Consultant with GA Sullivan in Nashville, TN. He is currently involved in learning and writing about .NET. Richard can be reached at rickl@gasullivan.com. Peter B. MacIntyre lives and works in Charlottetown, Prince Edward Island, Canada (the home of the fictional Anne of Green Gables). Peter and his wife, Dawn, are trying to raise four kids: Daniel (14), Charity (12), Michael (12), and Simon (11). He has been in the software development industry for over 12 years and has seen many changes in technology in that time frame. Peter can be reached at petermac@isn.net and is available for small to midsized consulting projects. Dave Wanta has been working in Web development since the mid-1990s. His Microsoft-centric Web technology has led him to develop a number of large e-commerce and B2B applications. His love for ASP.NET has led him to build the largest online ASP.NET directory, at www.123aspx.com. You can usually find Dave online discussing ASP.NET topics at the lists found at www.aspfriends.com. About the Series Editor Michael Lane Thomas is an active development-community and computer-industry analyst who presently spends a great deal of time spreading the gospel of Microsoft .NET in his current role as a .NET technology evangelist for Microsoft. In working with over a half-dozen publishing companies, Michael has written numerous technical articles and written or contributed to almost 20 books on numerous technical topics, including Visual Basic, Visual C++, and .NET technologies. He is a prolific supporter of the Microsoft certification programs, having earned his MCSD, MCSE+I, MCT, MCP+SB, and MCDBA. In addition to technical writing, Michael can also be heard over the airwaves from time to time, including two weekly radio programs on Entercom (www.entercom.com/) stations, most often in Kansas City on News Radio 980KMBZ (www.kmbz.com/). He can also occasionally be caught on the Internet doing an MSDN Webcast (www.microsoft.com/usa/webcasts/) discussing .NET, the next generation of Web application technologies. Michael started his journey through the technical ranks back in college at the University of Kansas, where he earned his stripes and a couple of degrees. After a brief stint as a technical and business consultant to Tokyo-based Global Online Japan, he returned to the States to climb the corporate ladder. He has held assorted roles, including those of IT manager, field engineer, trainer, independent consultant, and even a brief stint as Interim CTO of a successful dot-com, although he believes his current role as .NET evangelist for Microsoft is the best of the lot. He can be reached via e-mail at mlthomas@microsoft.com. First and foremost, I want to dedicate this book to my Supreme Guide who has always guided me in the right direction. Then, I would like to dedicate this book to my Mom and Dad, without whose support I could have never completed this book. My Mom and Dad have always been a constant source of energy and encouragement for me. Also, I must thank my brothers, Amit and Abhay, who have always given their constant support to me. — Mridula Parihar For my sons, Vikranth and Siddharth — Essam Ahmed I`d like to dedicate this book to my family, whose love and support mean everything to me. I love you all. And, finally, the answer to the question posed by my sons, Sam and Thomas, who asked: "Dad, will our name be in the book, too?" You bet! — Jim Chandler To my lovely wife Melanie for the patience, kindness, and love she showsto our child every hour of every day. Bryce couldn`t have picked abetter mom! — Bill Hatfield To my parents, William and Eleanor, for always being there. — Rick Lassan I would like to dedicate the chapters that I wrote to my lovely wife, Dawn Etta Riley. Without your patience and understanding, I would not have been able to pull this off! I know it has been hard sometimes, but reward comes with hard work. I love you very ... - tailieumienphi.vn
nguon tai.lieu . vn