Professional ASP.NET 1.1 [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Professional ASP.NET 1.1 [Electronic resources] - نسخه متنی

Alex Homeret

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید






Index

A


<a> elements, 227

AbortTransaction event, Page class, 125

AcceptChanges method, DataSet class, 352, 429

DataRow/~Table/~Set objects, managing, 429

event managing, 434

RowUpdated/~Updating event, updating data

source example, 489

updating relational data source examples,

DataSet/~Adapter objects, 473

AcceptTypes property, HttpRequest class, 128, 1163

Access property, HtmlInputFile control, 189

AccessKey property, WebControl class, 215

ACL (Access Control List)

authorization, 685, 694

Windows authentication, use within, 709

Action property, Form mobile controls, 1078

Activator class, System namespace, 347

Active Scripting, 58

ActiveForm property, Form mobile controls, 1076

Actor property, SoapHeader class, 994

adaptive controls, 946

<add> element

assemblies, 658

httpHandlers, 663

httpModules element, 665

attributes, 663

Add method

ArrayList class, 763

Cache object, 586

DataAdapter class, 440

DataRow class, 426

DataRowCollection class, 353

HttpApplicationState object, 1161

HttpSessionState object, 1162

IList interface, 761

Parameters collection object, 412

XmlSchemaCollection class, 542, 556

Add Reference dialog, Visual Studio.NET, 1009

Add value, DataRowAction enumeration, 435

Add Web Reference dialog, Visual Studio, 1010

AddAttribute method, HtmlTextWriter class, 897

AddAttributesToRender method, Style class, 900

Added value

DataRowState enumeration, 430

DataViewRowState enumeration, 444

AddFileDependencies method, HttpResponse class, 1167

AddHandler method, EventHandlerList class, 932

AddHeader deprecated method, HttpResponse class, 1167

AddNew method, DataView class, 354

AddOnBeginRequestAsync asynchronous event, 610

AddRange method, ArrayList class, 774

AddShoppingCartItem function, CartDB Business object, 1226, 1227

AddStyleAttribute method, HtmlTextWriter class, 897

ADO (ActiveX Data Objects), 336

ADO.NET, techniques compared with, 345

DSO, use of, 339

history, 338

RDS, use of, 339

recordsets, use of, 338

Recordset class, use of, 344

Refresh method, 408

ADO.NET

ADO, techniques compared with, 345

advantages, 336

classes, list of, 344

Command classes, 347

Connection classes, 346

DataAdapter classes, 348

DataReader, 344

DataReader classes, 355

DataRowCollection, 353

DataSet, 344

DataSet class, 350

DataTable class, 352

DataView, 354

relational data providers, 358

System namespace, 341

AdRotator control

XMl schedule files, handling, 252

KeywordFilter property, 251

AdRotator control, mobile controls, 1105


advanced relational data access examples


see also relational data access example.

complex data access, 400

database stored procedures, 407

DataReader example, 401

DataSet example, 403

nested DataSet example, 404

DataTable object, working with, 415–417

adding, modifying, removing & deleting rows, 425

column/table mappings, managing, 438

constraints & default values managing, 418

creation/filling example, 416

deleting/removing rows, 431

event handling, 433

primary/foreign keys specifying, 420

sorting & filtering data, 442

DataTable object, 442

DataView object example, 447

AfterDeserialize method, implementation example, 1051

AfterSerialize method, 1050

Alignment property, StyleSheet mobile control, 1107

Allignment property, Form mobile control, 1077

AllKeys property, HttpApplicationState object, 1161

allowDefinition attribute

locking-down configuration settings, 678

<section> element

locking down configuration settings, 678

settings, 679

allowOverride attribute

<location> element, 677

locking-down configuration settings, 677

AllowPaging property, DataGrid list control

automatic paging, 316

AllowSorting property, DataGrid list control, 310

<allow> setting, <authorization> element

Windows Authentication

specifying HTTP access types, 707

specifying users and groups, 706

AltDirectorySeperatorChar constant, Path class, 818

AlternateFormat property, PhoneCall mobile control, 1100

AlternateText property, Image mobile control, 1082

AlternateUrl property, PhoneCall mobile control, 1100

analysis, profiling, 1143, 1155

Anchor controls, 171

anchors, 227

And method, BitArray class, 791

AppendHeader method, HttpResponse object, 1167

Application Configuration dialog, application map- pings, 687

application configuration settings, 629

Application directive, global.asax file

Classname attribute, 603

Inherits & Description attributes, 575

application domains, ASP.NET

IIS 6, use with, 53

detecting configuration file changes, 620

processes, use within, 52

application events, 593

asynchronous application events, 603, 608

conditional application events, 597

implementation examples

adding footer to all pages, 598

handling application errors, 601

loading custom user data, 599

per-request application events, 595-597

request/response operation mechanism, 596

per-request indeterminate order, 596

prototypes, 594

syntax, 594

usage, 593

application mapping

file extensions, 688

IIS, security, 687

ISAPI, use of, 688

Application object

application state management, web applications, 579, 583, 593

ASP.NET, intrinsic objects, 1161

implementation example, 583

Lock/Unlock() methods, 583

multiple process handling, 584

object storage, 585

Web services, access using, 966

application pools, IIS 6.0

controlling resource usage, 698

creating new application pool, 699

selecting application pool for application, 700

Application property

Page class, 125

WebService class, 966

application root directory

\bin directory, 562

global.asax file, 562

Application_Error conditional application event, 597

Application_Error event, 1134

Application_OnAcquireRequestState per-request application event, 595

Application_OnAuthenticateRequest per-request application event, 595

Application_OnAuthorizeRequest per-request application event, 595

Application_OnBeginRequest per-request application event, 595

Application_OnDisposed conditional application event, 597

Application_OnEnd conditional application event, 597

Application_OnEndRequest per-request application event, 596

Application_OnPostRequestHandlerExecute per-request application event, 595

Application_OnPreRequestHandlerExecute per-request application event, 595

Application_OnPreSendRequestContent indeterminate application event, 597

Application_OnPreSendRequestHeaders indeterminate application event, 597

Application_OnReleaseRequestState per-request application event, 595

Application_OnResolveRequestCache per-request application event, 595

Application_OnStart conditional application event, 597

Application_OnUpdateRequestCache per-request application event, 596

ApplicationException class, System namespace, 1132

application-level tracing, 640, 1125

page level tracing, overridden by, 1126

trace.axd file, viewing using, 1126

ApplicationPath property, HttpRequest class, 128

applications, ASP.NET, 778

ASP, compared to, 60

configuration, 616

deletion, 61

deployment steps, 60

example, 579

integration, 1158

migration options, 1158

performance testing, 1142

redeployment, 61

rewriting, 1159

ApplyAppPathModifier method, HttpResponse object, 1167

appRequestQueueLimit attribute, <httpRuntime> element, 627

<appSettings> element

configuration, ASP.NET, 629

custom configuration handling, 680

Args parameter, P/Invoke, 1189

ArgumentException class, System.IO namespace, 808

ArgumentException exception, 770, 774, 788

ArgumentOutOfRangeException exception, 773

Array class, System namespace

ArrayList lass, compared to, 762

IComparer interface, working with, 769

IList interface, implementing, 762

IndexOf method, 761

ArrayList class, System.Collections namespace

Array class, compared to, 762

binary searching, 771, 772

Capacity property, 762, 768

CollectionBase/DictionaryBase class, creating, 799

CopyTo method, implementation example, 774

ICollection interface

CopyTo, 774

IsSynchronized property, 775

SyncRoot property, 777

IList interface, implementing, 763

indexers, 772

methods, list of

Add, 763

AddRange, 774

CopyTo method, 774

IndexOf, 767

InsertRange, 775

Remove, 767

RemoveAt, 767

Reverse, 771

Sort, 768

TrimToSize, 769

MovieList example

displaying list of movies, 764

IComparable interface, 770

movielist event handlers, 766

Objects class, holding, 762

performance & memory optimization, 768

repeated-value data binding, 270

Session object, storing within, 765

ViewState, storing within, 765

ASCII encoding, 831

.asmx files, 961, 972

Web services, 956

ASP (Active Server Pages)

Active Scripting, 58

ASP.NET

data binding comparison, 261

working with, 574

ASP.NET, compared to, 9, 124

ASP.NET, compatibility with, 60

ASP.NETapplications, compared to, 60

BrowserCapabilities component, 129

configuration, 616

data store example, 116

databases, linking to, 15

disadvantages, 10

history, 2

ISAPI extension DLL, 64

late binding, 50

migration, 1157

page creation mechanism, 168

Response.Write() method, debugging using, 61

tool support, lack of, 61

tracing, using Response.Write staements, 638

Visual InterDev, editing/debugging using, 61

ASP namespace prefix, 218

ASP.NET

ASP.NET 1.1

installation with IIS.6.0, 566

Configure Your Server Wizard, using, 566

manual installation, 567

new namespace, 1257

advantages, 11

code and content seperation, 17

configuration files, use of, 18

ease of deployment, 19

HTML output rendering, 14

multiple language support, 11, 16

server controls, 11

application domains, 52, 569

ASP

ASP Page Compatibility, 1169, 1255

compared to, 9, 124

data binding comparison, 261

working with, 574

ASP to ASP.NET migration, 1159

intrinsic objects, 1160

page changes, 1169

authentication

Custom Authentication, 647

Forms-based authentication, 647, 704, 712

IIS authentication, 704

Passport authentication, 647, 704, 711

web.config file, specifying within, 704

Windows authentication, 647, 704, 705

code-behind, use of, 149

components, web applications

application specificity, 572

implementation example, 572

local server access not required, 571

registering, 571

updating, 572

composite controls, and, 910

data types, working with, 259

databases, linking to, 15

design goals, 58-66

ASP compatibility, 60

code simplicity, 67

ease of deployment, 60

effective debugging, 68

factored open design, 63

flexible configuration files, 62

good debugging support, 62

HTTP Runtime, 65

multiple language support, 66

performance, 59

removal of dependency on script engines, 58

rich authentication model, 67

tool support, 61

discussion lists, 1263

event-driven programming model, 25, 115

history, 2

hosting resources, 1265

HTML, seperation from, 115

IIS 6.0, configuration with

worker process memory limits, 568

worker process recycling, 569

intrinsic objects

ASPError, removed, 1169

Context property, access using, 945

HttpApplicationState, 1160

HttpRequest, 1163

HttpResponse, 1166

HttpServerUtility, 1168

HttpSessionState, 1161

Page, 1169

ISAPI extension DLL, 63

machine.config configuration file, 62

migration, 1157

.NET Framework, within, 2, 25

page changes, 1169

code render functions, 1170

script blocks, 1169

single language per page, 1169

page compilation process, 117

page model, 169

process accounts

<identity> element, specifying, 750

<processModel> element, specifying using, 748, 749

account permissions, 750

defining security policies, 751

impersonation, 749

machine.config file settings, 749

trust level, specifying, 751

QuickStart tutorials

additional samples, 6

contents, 4

Sample applications, 5

reference sites, 1263

resource download sites, 2

security, 683, 687

configuring servers and machines, 684

guidelines, 703

impersonation, 697

operation mechanism, 696

web.config file, setting using, 703

security examples, 724

Forms-based authentication, 731

personalization example, 743

setting up examples, 725

server controls, 67, 132

control class hierarchy, 906

side-by-side execution, 60

SOAP, use of, 336

streams, handling, 832

third party component vendors, 1265

tracing in, 639

Visual Studio.NET, application creation, 8

web applications

assemblies, registering, 571

global.asax file, 574

user-created resources, 570

Web services, development of, 952

screen-scraping, 1029

SOAP attributes, 988

Web service Help file template, 959

WebService directive, 963

XML attributes, 988

Windows 2000, requirement of, 2

Windows operating systems, support within, 2

XML

XML-based configuration model, 62

ASP.NET pages, 19

assemblies, use of, 59

Assembly directives, 147

configuration files, accessing, 62

creation, 19

dependencies, 59

Implements directives, 146

Import directives, 146

OutputCache directive, 148, 153

Page directive, 143

Reference directive, 149

Register directives, 146

request-response mechanism, 905

reusable code, use of, 30

scripting runtime, lack of, 30

security examples

creating UserList database, 727

custom user credentials example, 737

user account and user groups, creating, 726

Windows Authentication example, 727

transactions, 872

ASP.NET process model

configuration settings, 666

<processModel> element, 667

web gardening, 672

AspCompat attribute, Page directive, 144

ASPError object, removed in ASP.NET, 1169


assemblies

ASP.NET pages, use within, 59

assembly manifest, 878

attributes, 47

complex assemblies, 48

component deployment, 877

definition, 878

dependencies, storing, 31

deployment mechanism, 1204

DLLs, relationship with, 48, 878

global assembly cache, 880

machine.config, referencing in, 657

manifests, 45

modules, 49

mscorlib, 46

namespace, spanning within, 49

naming conventions, 1205

private assemblies, 49

references, 889

self-describing components, 882

shared assemblies, 49

simple control example, C#, 889

strong names, 880

versioning problems, 879

web applications, default available for, 576

Assembly directive, global.asax file

declaring, 577

default assemblies, 577

Name attribute, 576

<assemblies> element, 656, 657

<add> element, 658

<clear> element, 659

<remove> element, 658

Assembly attribute, Register directives, 147

assembly attributes, 47

ApplicationActivation, 875

ApplicationName, 874

AssemblyKeyFile, 874

Description, 875

serviced components, creating, 874

Assembly directives, ASP.NET pages, 147


assembly manifests, 45

ILDASM, examining using, 46

System.Reflection namespace, using, 46

asynchronous application events, 603, 608

list of, 608

threadpool creation & management, 608

usage guidelines, 609

asynchronous web services, 987

ATL (Active Template Libary), server control development, 885

Attributes property

FileInfo class, 816

FileSystemInfo class, 813

HtmlControl class, 176

HyperLink control, 228

WebControl class, 215

attributes, server controls, 948

Authenticate method, FormsAuthentication class, 718

authentication, 685

see also security.

anonymous access, 692

basic authentication, 692

Computer Management MMC snap-in tool, 688

Custom Authentication, 647

definition, 685

digest authentication, 692

Forms-based authentication, 67, 647, 712

IIS, 690, 704

integrated windows authentication, 692

Passport Authentication, 68, 647, 692, 704, 711

programmatic security, 690

resource applicability, 686

SOAP, headers, 969

specifying authentication method, 692

user groups, 689

Windows 2000, within, 688

Windows-based authentication, 67, 647, 704, 705

<authentication> element, authentication configuration settings

ASP.NET authentication, specifying, 704

configuration, ASP.NET, 647

mode attribute, 647

AuthenticationType property, Identity object, 722

authorization

ACL, 685, 694

definition, 685

description, 650

IIS, 695

IIS, settings within, 685

layered approach, 686

Windows 2000, within, 694

authorization configuration settings, 650

<authorization> element, authorization configuration settings, 705

<allow> setting, 706

configuration, ASP.NET, 650

<deny> setting, 706

Forms-based authentication, authorizing users, 720

Windows authentication, within, 706

AutoComplete transactions in .NET, 873

AutoDispatch interface, ClassInterfaceType class, 1183, 1185

AutoDual interface, ClassInterfaceType class, 1183, 1185

autoEventWireup attribute

<pages> element, 628

Control directive, 160

Page directive, 144

auto-generated commands

CommandBuilder object, creation using, 470

DataSet object, data updates, 470

limitations, 471

updating relational data source examples, 474, 475

AutoGenerateFields property, ObjectList mobile controls, 1094

AutoPostBack property, 215

Datalist controls, 297, 300

Events demonstration page, example, 239

implementation example, 224

ListControl class, 243

Web Form controls, 223

AverageCount64 value, PerformanceCounterType enumeration, 1153

AverageTimer32 value, PerformanceCounterType enumeration, 1154

asynchronous application events, 609

/ 244