Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

ASP .NET Web Developer s Guide - Mesbah Ahmed, Chris Garrett

.pdf
Скачиваний:
37
Добавлен:
24.05.2014
Размер:
7.32 Mб
Скачать

690 Index

System.Data.Common namespace, 307–310

System.Data.OleDb namespace, 304, 305, 307

System.Data.SqlClient namespace, 304, 305, 308

System.Data.SqlTypes namespace, 308–310

System.Int, 39

System.Int16, 39

System.Int32, 39

System.IO, 497 System-level capabilities, 184

System.Net.FileWebRequestCreator module, 202

System.Web namespace, usage. See Client/browser communication

system.web node, 312

System.Web.HttpForbiddenHandler handler, 192

System.Web.HttpResponse class, 45

object, 45 System.Web.Services namespace

overview, 461–463 set, 51–52

System.Web.Services.Description namespace, 461

System.Web.Services.Discovery namespace, 461–462

System.Web.Services.Protocols namespace, 462–463

System.Web.UI namespace set, 46–51 sub-namespace, 46

system.WebUI.Control object, 46

System.Web.UI.HtmlControls subnamespaces, 47

System.Web.UI.HtmlControls

.HTMLControl, 87

System.Web.UI.Page, 615 System.Web.UI.WebControls

namespace, 62, 80 sub-namespaces, 47

System.Web.UI.webControls, 621 System.XML, 36

namespace, 348

usage. See eXtensible Markup Language files

System.Xml namespace, 361 System.Xml.Schema sub-namespaces, 54

System.Xml.Serialization subnamespaces, 54

System.Xml.XPath subnamespaces, 54 System.Xml.Xsl subnamespaces, 54

T

TabIndex, 101 Table

BookOrders, setup, 506 books, setup, 505 categories, setup, 505 customer, setup, 505 orders, setup, 505–506

Tag-based markup language, 348 tagname attribute, 163

tagprefix attribute, 162–163 Tags, system, 53 targetNamespace attribute, 477

TCP/IP. See Transmission Control Protocol/Internet Protocol

Template code. See Generated template code

Template-based declarative language, 396 Templated Web Controls, 100

Terminal node, 376 Text

boxes, 638

databases, 53 datatype, 507

files. See eXtensible Markup Language Text CommandType, 328

TextBoxes, usage, 103–106 Text-type node, 376

Thank-You panel, addition. See PnlThank

Third-party support, 5 Third-party tool vendors, 6 Thread

browsing, 631–634 class, design, 603–606 creation, 641–644 ID, 569

object, 657

ThreadID, 570, 572, 594, 643–644 Threading

model. See Visual Basic usage, 239

ThreadList, 600, 608 class, 606

design, 599–603 ThreadSubject, 570 TIBCO, 360

Tibco Extensibility, 362 Time delay, 257

Time structures, 38 timespan.zero option, usage, 287 Timestamp, 233 TimeUserControl.ascx, 162 Title property, 166

Tool tip help, 435 ToolTip, 101 tooltip property, 122 ToString, 101

Trace. See Application-level trace attribute, 427

Index 691

class, 418

usage, 427–430 information

sorting, 430–431 writing. See Application

message, 429 mode, 431 page, 427 statements, 430

trace tag, usage. See Tracing service Tracing. See Application; Pages

service configuration, trace tag (usage), 183–184

Transact SQL (T-SQL), 323, 327 asterisk, usage, 340

command, 326 Transaction sites, 6 Transfer protocol, 461

Transform() method, usage, 396 TransformSource attribute, 398

Transmission Control Protocol/Internet Protocol (TCP/IP), 12, 15

TravelDownATree, 376 True-or-false values, 40

Trust levels application, trust tag (usage), 211

trust tag, usage. See Trust levels application

Try block, 425

Try Catch block, 325 Try-Catch-Finally construct, 423 T-SQL. See Transact SQL Two-way communication, 164 txtConfirmPassword, 128 txtDateOfBirth, 127

type attribute, 212

Type marshalling, 464–465 Type safety, 75

692 Index

U

UI. See User interface Ultradev (Macromedia), 6

UML. See Unified Modeling Language Unicode, 40

Unified Modeling Language (UML), 579

diagram, 591, 600, 603, 606, 611 Unique Identifier, 569

UNIX, 3 Unload, 101

Unstructured error handling, 421–423 UPDATE

query, 158 records, 303

Update, 585

method, 589, 592, 597, 648 profile, 639

Update(), 582 updateCat, 528, 530

updateCustomerInfo page, creation, 545–547

updateItem, 528, 530 Up-level browsers, 100

useFullyQualifiedRedirectUrl attribute, 194

User action, 558

User authentication, authentication tag (usage), 205–207

User class, 583, 592 design, 581–591

User constructor, 586 User controls

consuming. See Payroll user control

creation. See Custom server user controls;World Wide Web

development. See Payroll user control properties, exposure, 163–167

User functions, creation. See Message board creation

User IDs, 176, 587, 647 User information, 569

User interface (UI), 46–49, 478, 638, 654. See also World Wide Web

components, 451 creation, 556–561 design, 612–613 producing, 547 usage, 51, 518, 612

User lists, usage, 51

User object, 585, 588, 615 User page request, 252 User table, 649 userArea.ascx control, 624

UserControlPayrollText.aspx, 166 userCtrlPayroll, 166 User-defined tags, 348

UserID, 571, 646 userId value. See Session

Usernames, 236, 571, 588

V

Valid XML documents, 356–360 Validate, 582, 585

method, 586 validateDeptNum, 119 Validation

controls, 63, 100, 113–129 function. See CustomValidator

validationKey attribute, 209 ValidationSummary, 113, 535, 622, 642

control, 123–126 ValidatorControls, 123 validCustomer, 544 Value, 365

attribute, 179, 616

Variables

setting. See Static variables values, 435

VaryByControl attribute, 280, 281 VaryByCustom, 270

attribute, 275, 280 VaryByHeader, 270

attribute, 273, 274, 280 VaryByParam, 270

attribute, 269, 271, 280 VB. See Visual Basic vbCb.dll file, 79, 81 VBCodeProvider, 38 View states, 181

Virtual directory, 83, 229 structure, 176

Visible, 101

Visual Basic (VB), 2–4, 8, 25 ASP.NET project, 84

class file, 80 objects, 232 Profile, 591

Rapid Development, 15 Scripting, 4

source file, 79, 81 threading model, 239 VB.NET, 27

language, 20 statement, 40

VBScript, 14, 37, 348 programmers, 10

Visual C++, 9 Visual Source Safe, 6

Visual Studio .NET (VS.NET), 11, 13, 75–78, 246

Beta 2, 455

debugging tools, usage, 434–437 usage, 318. See also World Wide Web

Index 693

Web service, movement, 460

XML Designer, XML document creation, 351–352

XML validation, 359–360 Visual Studio (VS) project, 232

.VisualBasic namespace, usage, 38 VS.NET. See Visual Studio .NET

W

W3C. See World Wide Web Consortium Wall, Larry, 5

Warn property, 431 Watch window, 435 Wattle Software, 360

Web Custom Controls, 161

Web Services Description Language (WSDL), 455–460, 502, 531

file, 449, 461 proxy classes, 463

web references, usage, 531–533 Web User Controls, 161 web.config setting, 242 web.config.files, 174, 217, 243 WebControls namespace, 47 WebRequest, 211

webRequestModule tag, usage. See Request

@WebService directive, 451

webServices tag, usage. See World Wide Web

Websphere, 7

Well-defined documents, 301 Well-formed XML documents, 355–356 Whitespace, 368

Wildcards, 202, 207 Win32 API, 9

Windows authentication, 217

Wireless Markup Language (WML), 18

694 Index

Wizard-style developer toolkits, 6 WML. See Wireless Markup Language WMLScript, 18

World Wide Web Consortium (W3C), 396, 460

DOM, 362 recommendation, 354, 356

World Wide Web (WWW / Web) application, 174, 228, 267

development,VS.NET (usage), 84–87 folder, creation, 239

browser, 235 configuration files, 236

controls, 62, 75, 87, 101–113

contrast. See HyperText Markup Language

usage, 100–161 developers, 3 farm, 240

form, 319, 455

components. See Server-side Web form components

controls, 62

structure. See ASP.NET interface, 502

method, creation. See allBooks.addItem Web method; getBooks.AllBooks Web method

pages, 63

running. See ASP.NET

programming. See Back-end Web programming

references, usage. See Web Services Description Language

root folder, 229 server

controls, 62

usage. See Active Server Pages

services configuration, webServices tag (usage), 203–204

UI, 533

user control, creation, 161–163

World Wide Web (WWW / Web) services, 51, 441

building/compiling, steps, 447 creation, 518, 521–527 FAQs, 471–472

introduction, 442–443 method interfaces, 455

overview. See Book Shop Web services solutions, 469–470

testing, 527–531 understanding, 443–460 XML, usage, 460–461

Write() method, 431 WriteAttributes, 370 WriteAttributeString, 370 WriteComment, 370 WriteElementString, 370 WriteEndAttribute, 370 WriteEndDocument, 370 WriteStartDocument, 370 WriteXml, 405

method, 407 WriteXML class, 486 WriteXmlSchema, 405

method, 407

WSDL. See Web Services Description Language

WYSIWYG editing tools, 75

X

XML. See eXtensible Markup Language

XmlAttribute, 363

XMLCart, 547

XmlCart document, 555 XmlConfigFile, 616 XmlDataDocument, 363

class, usage, 378–387 DataSet, 378 object, 379, 382

multiple tables, viewing, 383–387 relational view, usage, 381–383

XmlDocument, 363 loading, 379–380 object

navigation, 374–376

usage. See eXtensible Markup Language document

XmlDocumentFragment, 363 XmlDocuments, 370 XmlElement, 54

XmlNode, 54, 376, 465 arrays, 465

class, 363 XmlNodeList, 364

XmlNodeList collection, 379 XmlNodeReader, 362 xmlns attribute, 382, 476 XmlReader, 362 XMLTextReader, 363

object, 373 XmlTextReader, 362, 368

class, usage. See eXtensible Markup Language document

object, 367, 374 usage, 377

XmlTextReader object, 365 XmlTextReaders, 370 XmlTextWriter, 363

class, usage. See eXtensible Markup Language document

object, 370

Index 695

usage. See eXtensible Markup Language document

XmlTextWriter1.aspx, 371

XmlValidationReader, 363 XmlWriter, 362

XPath expressions, 389 XPath query syntax, 388 XPathDocument, 364

objects, usage, 390–392. See also Documents

searching, 392

usage. See eXtensible Markup Language

XPathNavigator objects, 388

usage, 390–392

usage. See eXtensible Markup Language

XPathNodeIterator, 364, 390–391

XSD. See eXtensible Markup Language Schema Definition

XSL, 490

XSLT. See eXtensible Stylesheet Language Transformations

XSLTransform, 364 class, 396

XSV, 360

Y

Yes/No, datatype, 508

Z

Zero-based odd indexed items, 132

.ZIP extension, 192