C# Developeramp;#039;s Guide to ASP.NET, XML, and ADO.NET [Electronic resources] نسخه متنی

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

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

C# Developeramp;#039;s Guide to ASP.NET, XML, and ADO.NET [Electronic resources] - نسخه متنی

Jeffrey P. McManus; Chris Kinsman

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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




[SYMBOL]
[A]
[B]
[C]
[D]
[E]
[F]
[G]
[H]
[I]
[K]
[L]
[M]
[N]
[O]
[P]
[Q]
[R]
[S]
[T]
[U]
[V]
[W]
[X]
[Y]
[Z]


L switch (XCOPY)


Label class
2nd
3rd


langagues


globalization section (Web.Config/Machine.Config files)
2nd
3rd


language


Lang_Preference attribute (PassportIdentity class)


Language attribute, Page object


languages


CodePage attribute
2nd


Common Language Specification (CLS)
2nd


Language attribute (Page object)


LastFiveSearchTerms code listing
2nd
3rd


LCID attribute, Page object
2nd


LinkButton class
2nd
3rd


links


.
[See also ListBox class
2nd
3rd


listing


pages


View State
2nd
3rd


listing components in GAC
2nd
3rd
4th


listings


AdRotator class
2nd
3rd
4th


caching


browser capabilities
2nd


containing page defining cache directive
2nd


containing page without cache directive
2nd


correct form output caching
2nd
3rd
4th


creating cached page for each header
2nd


directive for 5-minute cache
2nd


expiring items
2nd
3rd


form creating copies for different browsers
2nd
3rd


form using RequiredFieldValidator
2nd


incorrect form output caching
2nd
3rd
4th


partial page caching of previous search terms (LastFiveSearchTerms)
2nd
3rd


partial page caching user control (SalesByEmployee.ascx)
2nd
3rd
4th
5th


partial page caching user control (SalesPeople.ascx)
2nd
3rd


query that places output into drop-downlist
2nd
3rd


query that stores output in cache
2nd
3rd
4th


re-adding dropped out cache items
2nd
3rd
4th


refreshing cached items via dependencies
2nd
3rd


removing/inserting items from cache with expirations
2nd
3rd
4th
5th


search page containing term caching (BreadCrumbSearch.aspx)
2nd
3rd
4th


Calendar server control
2nd


CheckBox server control
2nd
3rd


databases


binding DataGrid control to ArrayList object
2nd


calling a parameterized stored procedure
2nd
3rd
4th


calling a parameterized stored procedure using SqlCommand Parameters collection
2nd
3rd


calling a simple stored procedure using SqlCommand
2nd
3rd


comparison validation
2nd
3rd


custom validation
2nd
3rd


data-entry form
2nd
3rd
4th


displaying data access errors
2nd
3rd


displaying query data in Web browsers
2nd
3rd


displaying query data in Web Forms DataGrid control
2nd
3rd


displaying query results using SqlDataAdapter and DataSet
2nd
3rd


displaying validation error summary
2nd
3rd
4th


ExecuteScalar method
2nd


executing a text command that returns a SqlDataReader object
2nd
3rd


executing nonquery commands
2nd
3rd


opening a connection using OLE DB provider
2nd


opening a connection using SQL Server provider
2nd
3rd


opening a connection with error handling
2nd
3rd


range validation
2nd
3rd


regular expression validation
2nd
3rd


required field funcion, client-side validation
2nd


required field validation
2nd
3rd


using Errors collection to display rich error information
2nd


DataList server control


DataList server control bound to a Hashtable object
2nd
3rd


debugging


calling Debug.Write to display debug information in development environment
2nd


test page for debugging
2nd
3rd


Web.config file that activates application-level debugging
2nd


DropDownList control, binding to data in ArrayList object
2nd
3rd


Global.asax files


declaring Application-Scoped objects
2nd
3rd


displaying results of Active-User array
2nd
3rd


Global.asax OnStart event handler
2nd
3rd


HttpHandler


HttpHandlerFactory that returns different handlers based on the name parameter
2nd
3rd


HttpHandlers


global.asax that sinks the OnMyEvent event from the HttpModule
2nd


Handler That Raises an Event in Global.asax
2nd
3rd


Hello World
2nd
3rd


page counter
2nd
3rd
4th


SqlHandler transforms XML SQL queries from SQL Server with XSL templates
2nd
3rd
4th
5th


XSL template used to format output
2nd
3rd


HttpModules


authenticateRequest in a Web module
2nd
3rd


Global.asax redirection of users from error pages
2nd
3rd


module that handles errors in an application by writing them to the event log and e-mailing the Webm
2nd
3rd


Module That Stamps the Begin and End Times into the Page
2nd
3rd
4th


RewritePath module that changes every request to map to webform1.aspx
2nd
3rd


simple ad insertion engine that replaces <adinsert tags with an ad
2nd
3rd
4th


SimpleCache, an Output-Caching Mechanism
2nd
3rd
4th
5th
6th
7th


View Source of a Page That Has Been Affected by the BeginEnd Module
2nd
3rd


web.config to Load the BeginEnd HttpModule
2nd


logging


writing events to Windows event log
2nd
3rd


pages


@Page directive
2nd


2.10, HtmlAnchor control HTML
2nd
3rd


2.24, code-behind Page_Load event procedure without AutoEventWireup
2nd


Button.aspx code
2nd
3rd
4th


Button.aspx HTML
2nd


Calendar.aspx
2nd


Calendar.aspx rendered HTML source
2nd
3rd
4th


Form.aspx code
2nd
3rd
4th


Form.aspx HTML
2nd


HtmlAnchor control code
2nd


HtmlInputHidden control
2nd
3rd


HttpBrowserCapabilities in Request object
2nd
3rd


image.aspx code
2nd
3rd
4th


image.aspx HTML
2nd
3rd
4th


inputbutton.aspx code
2nd
3rd
4th


inputbutton.aspx HTML
2nd
3rd


inputfile.aspx code
2nd
3rd
4th


inputfile.aspx HTML
2nd


SamplePage2.aspx, event handler for a button
2nd


SamplePage3.aspx, using code behind
2nd
3rd


SimplePage.asp
2nd
3rd


SimplePage.aspx, a reworking of SimplePage.asp in ASP.NET
2nd
3rd


SimplePage2.asp, showing code to preserve form state in ASP.OLD
2nd
3rd


SimplePage3.asp, reaction to user interaction in ASP.old
2nd
3rd


SimplePage3.aspx.vb, code behind file for SimplePage3.aspx
2nd
3rd


performance monitors


deleting a performance category
2nd


incrementing performance monitor using PerformanceCounter object
2nd
3rd
4th


initializing new monitor category and monitor object
2nd


Repeater control, building customized hashtable output
2nd
3rd


security


global.asax class that handles the AuthorizeRequest application event
2nd
3rd


global.asax containing the Application_AuthenticateRequest handler
2nd
3rd


HTML for login.aspx
2nd
3rd


HTML for login.aspx, class file
2nd
3rd
4th
5th


login page that authenticates only two users
2nd
3rd
4th


login page that authenticates only two users, class file
2nd
3rd
4th


login.aspx page shown when users attempt to access content when they are not authenticated
2nd
3rd


page that displays the PUID, e-mail address, and member name of a logged-in Passport user
2nd
3rd


simple login page
2nd
3rd
4th
5th


simple login page, class file
2nd
3rd
4th
5th
6th


Transact SQL to create tables and stored procedures used by login.aspx
2nd
3rd
4th
5th


user authentication with WindowsPrincipal
2nd
3rd
4th


user authentication with WindowsPrincipal, class file
2nd


Web User Control That Wraps the Display of the Passport Logo
2nd
3rd
4th


web.config file setting authentication to forms and defining URL authorization
2nd


web.config file that uses URL authorization Location element
2nd
3rd
4th


Web.config for simple forms authentication
2nd
3rd


Web.config set up for impersonation
2nd
3rd


web.config setup for Passport authentication
2nd


Web.config that maps roles to application locations
2nd
3rd


Web.config with a hard-coded impersonation account
2nd
3rd


Webform1.aspx
2nd
3rd
4th
5th


Webform1.aspx, code behind class
2nd
3rd
4th
5th


server controls


ASP.NET page that references custom Hello World server control
2nd
3rd


ASP.NET Page that uses an instance of subclassed CustomText control
2nd
3rd


basic control that stores property state
2nd


batch file that compiles and deploys a .NET component project automatically
2nd


composite control
2nd
3rd


CustomTextBox control that contains set of custom formatting defaults
2nd


Hello World server control example
2nd
3rd


hyperlink control that can generate client-side postback of a form
2nd
3rd


namespace and class that can be compiled into a .NET component
2nd


page created to host an instance of composite Search server control
2nd


page to contain counter control
2nd
3rd


rewritten CurrentValue property, demonstrating lack of state persistence
2nd


using delegation to provide access to Text property of child control
2nd
3rd


state management


adding/displaying session values
2nd
3rd


getting a session value
2nd


HTTP request using Telnet
2nd
3rd


out of process session state
2nd


relative and absolute references
2nd
3rd


Session Start event
2nd


Set-Cookie header
2nd


setting a session value
2nd


starting State Server
2nd


timing read/write operations on session state
2nd
3rd
4th


tracing


using Web.config to activate tracing for entire Web directories
2nd


categorized Trace.Write output
2nd
3rd


simple page equipped for tracing with calls to Trace.Write
2nd
3rd
4th


user controls


custom control utilized in an ASP.NET Web Form
2nd


handling events
2nd
3rd


Register directive referencing a user control
2nd


Search control with ShowAdvanced method
2nd
3rd


Search dialog box user control
2nd
3rd


Search dialog box with TitleBarText property
2nd
3rd


Web controls


Web form declaration


Web services


Activator .asmx file
2nd


Code Behind Web Service Class That Implements a Cached Time Service
2nd


code-behind file for simple state service
2nd


Description property
2nd


Form That Is Bound to the SimpleDataSet Web Service
2nd
3rd
4th
5th


HelloWorld
2nd


Proxy Class (datasetsample.vb) for SimpleDataSet Generated with the WSDL Tool
2nd
3rd


Proxy Created for SimpleDataSet by Visual Studio .NET
2nd
3rd
4th


sample invoice in HTML
2nd
3rd
4th
5th
6th


sample invoice in XML
2nd
3rd


service that returns ArrayList
2nd
3rd


Simple() WebMethod of SimpleDataSet
2nd
3rd
4th


Web Form Client for SimpleDataSet
2nd


Web Form That Calls the NorthwindOrder Web Service Asynchronously
2nd
3rd
4th
5th


Web Form That Calls the NorthwindOrders Service Asynchronously and Loads the Orders into a Grid
2nd
3rd
4th


Web Method That Returns a Dataset with a Master Detail Relationship
2nd
3rd


Windows Form That Creates a Cookie Container and Utilizes the State Web Service
2nd
3rd
4th
5th
6th


XML Output from Calling the GetOrders WebMethod with a Date of 7/8/1996
2nd
3rd
4th
5th
6th
7th


Web.Config file with Location section to handle subdirectory settings
2nd
3rd


XCOPY exclude file
2nd


XML


W3C schema containing a complex type that refers to a simple type
2nd


books.xml document
2nd
3rd


books.xml File Containing a Link to the books.xsl Style Sheet
2nd


booksellerÕs hypothetical output
2nd


ChildNodes class
2nd
3rd
4th


comma-delimited document
2nd


inserting new child nodes using AppendChild method
2nd


loading a local XML file using XmlDocument .Load() method
2nd


loading an XML file residing on a Web server
2nd


programmatically transforming an XML file using an XSL style sheet and the XslTransform object
2nd


publisherÕ


publisherÕs hypothetical input


responding to events raised by Validate subroutine
2nd
3rd


simplified book.xml document
2nd


Validation subroutine using XmlValidatingReader object
2nd
3rd


W3C schema containing a definition for a simple type
2nd


W3C schema containing an element definition that refers to a type definition
2nd


W3C schema definition boilerplate
2nd


XDR Schema
2nd


XML 1.0 declaration


XML document with a CDATA section
2nd


XML document with a declaration and top-level element
2nd


XML document with a empty elements


XML document with elements and attributes
2nd


XML document with elements that contain data
2nd


XML document with escape sequences
2nd


XML document with multiple child elements beneath the top-level element
2nd
3rd


XmlNode object InsertAfter method
2nd
3rd


XmlNodeReader object, creating from XmlDocument object
2nd


XmlNodeReader object, traversing a document
2nd


XmlTextReader object
2nd
3rd


XmlTextWriter object
2nd
3rd


XmlTextWriter object, document produced by XmlTextWriter object
2nd


XPath query combining multiple criteria with AND and OR
2nd


XPath query page used to test XPath queries against books.xml
2nd


XPath query results
2nd


XPath query that excludes nodes based on attribute values
2nd


XPath query that retrieves a specific BOOK node by querying on text in BookÕs TITLE node
2nd


XPath query that retrieves a specific TITLE node by querying on its text
2nd


XPath query to retrieve author information based on author ID
2nd


XPath query to retrieve multiple instances of same author
2nd
3rd


XPathNavigator object Select method
2nd


XpathNodeIterator Current property
2nd
3rd


XSLT Style Sheet That Converts an XML Document into an HTML Document
2nd
3rd


lists


DataList class
2nd
3rd
4th
5th
6th


DropDownList class
2nd
3rd
4th
5th
6th
7th
8th


ListBox control
2nd
3rd


Load event


Page object


Web controls


Load event (custom server controls)


Load() method (XML)
2nd
3rd
4th
5th
6th


listings


10.11, loading a local XML file


10.12, loading an XML file residing on a Web server


10.13, loading a local XML file
2nd


LoadPostData event (custom server controls)


LoadViewState event (custom server controls)


locale identifier (LCID)


LCID attribute (Page object)
2nd


Location attribute (OutputCache directive)
2nd
3rd
4th


location element, URL authorization;
2nd
3rd
4th
5th


location section (Web.Config)
2nd
3rd
4th
5th
6th


locking down Web configuration settings
2nd


logging


listings


3.10, writing events to Windows event log
2nd
3rd


Windows event log
2nd
3rd
4th
5th
6th
7th
8th
9th
10th
11th


logic


business logic componenets


Global Assembly Cache (GAC)
2nd
3rd
4th


logic, separating code from presentation using code behind
2nd
3rd
4th
5th
6th
7th
8th


.
[See also code behind]


listing 2.8, SamplePage3.aspx, using code behind
2nd
3rd


listing 2.9, SimplePage3.aspx.vb, code behind file for SimplePage3.aspx
2nd


login page


forms authentication
2nd
3rd
4th
5th
6th
7th


login pages


authenticating only two users
2nd
3rd
4th


class file
2nd
3rd
4th


HTML for login.aspx
2nd
3rd


class file
2nd
3rd
4th
5th


Passport authentication
2nd
3rd


Transact SQL to create tables and stored procedures used by login.aspx
2nd
3rd
4th
5th


loginurl attribute


forms authentication


LogoTag2( ) method (Passport authentication)


logs


EventLog class
2nd
3rd
4th


HttpModule That Handles Errors in an Application by Writing Them to the Event Log and E-mailing the


HttpModule that handles errors in an application by writing them to the event log and e-mailing the
2nd
3rd
4th


HttpModule That Handles Errors in an Application by Writing Them to the Event Log and E-mailing the
2nd


/ 106