Tải bản đầy đủ (.pdf) (7 trang)

a0061 cnet boo morebook vn 24

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (1.23 MB, 7 trang )

1 YEAR UPGRADE
BUYER PROTECTION PLAN

C# .NET

We b D e v e l o p e r ’s G u i d e

Develop and Deliver Enterprise-Critical Desktop and Web
Applications with C# .NET
• Complete Case Studies with Ready-to-Run Source Code and Full Explanations
• Hundreds of Developing & Deploying, Migrating, and Debugging Sidebars,
Security Alerts, and C# .NET FAQs
• Complete Coverage of Web Services and the Integrated Development
Environment (IDE)

Adrian Turtschi
DotThatCom.com
Jason Werry
Greg Hack
Joseph Albahari
Saurabh Nandu
Wei Meng Lee

Technical Editor

Series Editor


167_C#_FM.qxd

12/5/01



10:16 AM

Page i


With more than 1,500,000 copies of our MCSE, MCSD, CompTIA, and Cisco
study guides in print, we continue to look for ways we can better serve the
information needs of our readers. One way we do that is by listening.
Readers like yourself have been telling us they want an Internet-based service that would extend and enhance the value of our books. Based on
reader feedback and our own strategic plan, we have created a Web site
that we hope will exceed your expectations.
is an interactive treasure trove of useful information focusing on our book topics and related technologies. The site
offers the following features:

One-year warranty against content obsolescence due to vendor
product upgrades. You can access online updates for any affected
chapters.

“Ask the Author” customer query forms that enable you to post
questions to our authors and editors.

Exclusive monthly mailings in which our experts provide answers to
reader queries and clear explanations of complex material.

Regularly updated links to sites specially selected by our editors for
readers desiring additional reliable information on key topics.
Best of all, the book you’re now holding is your key to this amazing site.
Just go to www.syngress.com/solutions, and keep this book handy when
you register to verify your purchase.

Thank you for giving us the opportunity to serve your needs. And be sure
to let us know if there’s anything else we can do to help you get the
maximum value from your investment. We’re listening.

www.syngress.com/solutions


167_C#_FM.qxd

12/5/01

10:16 AM

Page ii


167_C#_FM.qxd

12/5/01

10:16 AM

Page iii

1 YEAR UPGRADE
BUYER PROTECTION PLAN

C# .NET

We b D e v e l o p e r ’s G u i d e


Adrian Turtschi
DotThatCom.com
Jason Werry
Greg Hack
Joseph Albahari
Saurabh Nandu
Wei Meng Lee

Technical Editor

Series Editor


167_C#_FM.qxd

12/5/01

10:16 AM

Page iv

Syngress Publishing, Inc., the author(s), and any person or firm involved in the writing, editing, or
production (collectively “Makers”) of this book (“the Work”) do not guarantee or warrant the results to be
obtained from the Work.
There is no guarantee of any kind, expressed or implied, regarding the Work or its contents.The Work is
sold AS IS and WITHOUT WARRANTY. You may have other legal rights, which vary from state to state.
In no event will Makers be liable to you for damages, including any loss of profits, lost savings, or other
incidental or consequential damages arising out from the Work or its contents. Because some states do not
allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation

may not apply to you.
You should always use reasonable care, including backup and other appropriate precautions, when working
with computers, networks, data, and files.
Syngress Media®, Syngress®,“Career Advancement Through Skill Enhancement®,” and “Ask the Author
UPDATE®,” are registered trademarks of Syngress Publishing, Inc. “Mission Critical™,”“Hack Proofing™,”
and “The Only Way to Stop a Hacker is to Think Like One™” are trademarks of Syngress Publishing, Inc.
Brands and product names mentioned in this book are trademarks or service marks of their respective
companies.
KEY
001
002
003
004
005
006
007
008
009
010

SERIAL NUMBER
CDFE48952P
NHBN9436KH
BAEN24P7BV
HY9W84UJTA
RTW9B39RE4
JSE4FAHT82
VTS8TYCGF2
AUTGFLDCWR
833K74SLAF

VFR4MHY3XW

PUBLISHED BY
Syngress Publishing, Inc.
800 Hingham Street
Rockland, MA 02370
C# .NET Web Developer’s Guide

Copyright © 2002 by Syngress Publishing, Inc. All rights reserved. Printed in the United States of America.
Except as permitted under the Copyright Act of 1976, no part of this publication may be reproduced or
distributed in any form or by any means, or stored in a database or retrieval system, without the prior
written permission of the publisher, with the exception that the program listings may be entered, stored,
and executed in a computer system, but they may not be reproduced for publication.
Printed in the United States of America
1 2 3 4 5 6 7 8 9 0
ISBN: 1-928994-50-4
Technical Editor: Saurabh Nandu
Freelance Editorial Manager: Maribeth Corona-Evans
Co-Publisher: Richard Kristof
Cover Designer: Michael Kavish
Acquisitions Editor: Catherine B. Nolan
Page Layout and Art by: Shannon Tozier
Developmental Editor: Kate Glennon
Copy Editor: Darren Meiss
CD Production: Michael Donovan
Indexer: Rich Carlson
Distributed by Publishers Group West in the United States and Jaguar Book Group in Canada.


167_C#_index.qxd


12/5/01

11:43 AM

Page 793

Index

consuming in other languages,
667
creating, 581
creating with Visual
Studio.NET (fig.), 584
deploying, 601
DISCO, 608
display of available using
DISCO, 622
echo method (fig.), 594
error handling, 614
exposing performance
information, 630
introduction, 576, 579
Jokes. See Jokes Web Service
maintaining state, 647–662
page design and page code, 588
publishing, 610
running your, 589
SOAP. See SOAP
standards, 581

starting in debug mode, 591
testing with client script, 595
testing with Web reference, 601
UDDI, working with, 639
Web Services Description
Language. See WSDL
Web Services proxy, 624
Web Service Wizard, 694
What’s New Start page (fig.), 111
while statement, 52
Win32 API
functions, calling from C#, 108
Windows Forms and, 138
windows
docked Help (fig.), 121
docking, 117
IDE, 129
Windows 2000
installation engine, 9
German version, and UDP
multicasting, 297
Windows DNA
debugging under, 6
described, 3
Windows Explorer, ListView and
TreeView controls, 170
Windows Forms, 3
creating applications, 140
creating new project (fig.), 142
and GDI+ classes (fig.), 139

inheritance and, 138–139
introduction, 138
Java and, 193

newgroup URL, 201
setting up new application, 620
See also Forms
Windows NT 4, German version,
and UDP unicast, 298
Windows Service applications,
setting properties (fig.), 320
wiring protocol, 581
wizards, using for setup and
deployment projects, 10
WM-PASTE, 201
WndProc method, 201
Word, Microsoft, 179
World Wide Web Corsortium
(W3C), 13
WriteLine method, 170
Write method, 170
writing
component test pages, 194
custom controls, 183
text editor, 154
Windows Forms application,
141
WSDL described, 602

X

Ximiam’s Mono project, 7
XML
2001 W3C schema, 124
and ADO.NET, 384
APIs, and SAX, 451
configuration files and, 313
DataSet class, 456
embedded commenting, 127
to HTML code transformation
(fig.), 488
introduction, 432–434
relational data and, 452–468
relational sample, 453–455
source code comments, 45
XML DOM. See XML DOM
XPath and XSL
transformations, 469–489
and XSLT, 543
XmlDataDocument class, 464, 493
XML Digital Signature
specification, 13
XmlDocument class,
CreateXmlDeclartion
method, 442
XML documents
adding element to, 443
as databases, 439
deleting elements in, 450

793


elements and attributes,
433–434
example, 433
formatting (fig.), 124
loading, saving, 451
nodes and, 434
passing,Web Services, 635
traversing data with relational
calls, 464–468
updating elements in, 446
viewing from Data mode, 125
XML DOM
classes, frequently used
(table), 439
described, 434
documents, creating empty, 442
sample program (fig.), 440
working with, 439–451
XML editor
described, 124
tag completion for XSLTs, 110
XmlInclude attribute, 357, 368
XML parser, 434
XML Schema Definition
(XSD), 437
XML schemas, 437
XmlShoppingCart.cs, 553
xmlTester Web method, 635–639
XPath

described, 435–436
expressions, 477
and XSL transformations, 469
XPathForm.cs, 469
XPathForm.cs (fig.), 471
XPathNavigator class, 476
XSD schema, 124
XSL
described, 436
sample program (fig.), 480
sample stylesheets, 486
stylesheets, 479
transformations, and XPath, 469
working with, 479
XSL Formatting Objects
(XSL-FO), 436
XSLT
debugging XSL stylesheets, 489
and XML, 543

Z
zones, and security, 12
z-order and tab-order, 200


167_C#_index.qxd

12/5/01

11:43 AM


Page 794

SYNGRESS SOLUTIONS…
AVAILABLE NOW
ORDER at
www.syngress.com

VB .NET Developer’s Guide
The introduction of VB .NET has sent many Visual Basic gurus back to
the drawing board! VB .NET introduces a new set of standards, protocols, and syntax that previous users of Visual Basic will need to learn to
regain their guru status and be positioned to create enterprise-critical
applications. VB .NET Developer’s Guide will help you master VB .NET!
Includes Wallet CD
ISBN: 1-928994-48-2
Price: $49.95 USA, $77.95 CAN

AVAILABLE DECEMBER 2001
ORDER at
www.syngress.com

ASP .NET Web Developer’s Guide
Since 1996, ASP programmers have faced one upgrade after another, often with
no visible advantages until version 3.x. Now you have the first significant
improvement in ASP programming within your grasp—ASP .NET. Your reliance on
a watered-down version of Visual Basic has been alleviated now that ASP .NET
pages may be programmed in both Microsoft’s new version of Visual Basic or the
latest version of C++: C#. ASP .NET allows programmers and developers to work
with both VB.NET and C# within the same ASP .NET page. This book will show
you how.

ISBN: 1-928994-51-2
Price: $49.95 US, $77.95 CAN

AVAILABLE JANUARY 2002
ORDER at
www.syngress.com

.NET Mobile Web Developer’s Guide
.NET Mobile Web Developer’s Guide provides readers with a solid guide
to developing mobile applications using Microsoft technologies. This
book focuses on using ASP .NET and the .NET mobile SDK. Includes
Wallet CD.
ISBN: 1-928994-56-3
Price: $49.95 US, $77.95 CAN





Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×