Pro ASP.NET 2.0 In CSharp 2005 (2005) [eng]
.pdf■I N D E X 1249
UniqueID, 919 |
UrlAuthorizationModule, HTTP module, 685, |
Unit structure, 119 |
777, 780 |
Units, measurement, 119 |
UrlDecode( ) method, ServerUtility class, 92 |
UnitType enumeration, 119 |
UrlEncode( ) method, 92, 94, 862 |
Universal Description, Discovery, and |
URL-encoded, 1032 |
Integration (UDDI), 1094–95 |
<urlMappings> section, 584 |
Universal Resource Identifiers (URIs), 429 |
UrlReferrer property, HttpRequest class, 90 |
Unlock( ) method, Application class, 223 |
UseCookies option, 696, 704 |
UnlockUser( ) method, 748 |
UseDeviceProfile option, 696, 704 |
Update( ) method |
<user /> element, 703 |
DataAdapter class, 280, 333 |
User class, 686 |
SqlDataSource, 319 |
User Code initialization, 77–78 |
update command, 320, 367 |
user controls, 505–22 |
UPDATE statement, 385–86 |
adding code to, 508–18 |
Update Web Reference, 1110 |
adding events, 514–17 |
UpdateCommand property, 280, 312 |
adding properties, 510–11 |
UpdateMethod command, 329 |
exposing inner web control, 517–18 |
UpdateMethod property, 324 |
handling events, 508–10 |
UpdateParameters collection, SqlDataSource |
overview, 508 |
class, 322, 328, 330 |
using custom objects, 512–14 |
UpdateProgressMeter, JavaSript example |
converting page to, 508 |
function, 980 |
creating, 506–7 |
UpdateRequestCache, Application event, 157 |
dynamically loading, 518–21 |
UpdateUser( ) method, 747–48 |
overview, 518 |
updateUserProcedure attribute, 831 |
portal frameworks, 519–21 |
updating, 273 |
overview, 505–6 |
Updating event, 330 |
partial page caching, 522 |
updating records |
sharing cached controls, 524 |
SqlDataSource |
VaryByControl property, 522–23 |
and KeyFields, 320 |
user identity, tracking, 1190–91 |
overview, 318–20 |
User member, WindowsIdentity object, 763 |
with stored procedures, 321–22 |
User object, 94–95, 685 |
strict concurrency checking, 320–21 |
User property, HttpContext class, 684, 686, 694, |
uploading files, 492–94 |
1101 |
Uri type, System object, 482 |
User value, WindowsBuiltInRole enumeration, |
URIs (Universal Resource Identifiers), 429 |
763 |
URL, 89, 147, 216, 221, 906 |
UserAgent property, HttpRequest class, 90 |
dynamic, 1112 |
UserControl object, 518 |
encoding, 93–94, 208 |
user-defined data types, 233 |
mapping, 583–84 |
UserHostAddress property, HttpRequest class, 91 |
modified URL (munged URL), 216, 221 |
UserHostName property, HttpRequest class, 91 |
processing, and Internet Information |
UserIsOnlineTimeWindow property, 889 |
Services (IIS), 620–22 |
UserLanguages property, 609 |
url attribute, 569, 574, 584 |
UserLanguages property, HttpRequest class, 91 |
URL authorization, 777 |
UserLookupError event, 736 |
authorization rules |
username configuration, 625 |
controlling access for specific roles, 782–83 |
UserName property, 727 |
controlling access for specific users, 779–80 |
UserNameLabelText property, 727 |
controlling access to specific directories, |
UsernameRequiredErrorMessage property, 727 |
780–81 |
UserNameTemplateContainer template, 739 |
controlling access to specific files, 781–82 |
Users_GetByUserName procedure, 836 |
overview, 778–79 |
Users_Update procedure, 836 |
overview, 777 |
UserStore class, 869, 887 |
<url or path> parameter, 1108 |
UseUri option, 696, 704 |
Url property, 90 |
UtcLastModified property, 421 |
<URL> parameter, Wsdl.exe, 1108 |
UTF-7 Unicode encoding, 490 |
1252 ■I N D E X
defining communication contract, 1077 |
generating proxy class with Visual Studio |
dynamically configuring connection |
.NET, 1109–10 |
points, 1081–82 |
overview, 1106–7 |
final tasks for personalization, 1084 |
proxy class, 1112 |
implementing provider, 1077–80 |
distributed computing and web services, |
multiple connection points, 1082–83 |
1089–91 |
static connections between WebParts, |
enhancements, 1203–10 |
1080–81 |
installing WSE, 1204 |
creating page design, 1045–46 |
overview, 1203–4 |
customizing page, 1051–53 |
performing authentication with WSE, |
simple Web Part tasks, 1054–58 |
1206–10 |
create typed DataSets, 1063 |
history of, 1088–89 |
custom WebPart's skeleton, 1064 |
making money with, 1093 |
customization steps, 1068–69 |
overview, 1087–88, 1175 |
developing advanced Web Parts, 1062–63 |
problems with distributed component |
final rendering, 1068 |
technologies, 1091 |
implementing IWebPart interface, |
refining, 1120–28 |
1058–61 |
BufferResponse, 1126 |
initializing WebPart, 1064 |
CacheDuration, 1120–23 |
initializing WebPart “ \r |
EnableSession, 1123–25 |
”jalambcomWE21t210, 1065 |
overview, 1120 |
loading data and processing events, |
Transaction Option, 1126–28 |
1065–67 |
securing, 1186–94 |
using WebPart, 1069–70 |
authorizing users, 1192 |
Web Part editors, 1070–75 |
custom ticket-based authentication, 1189 |
WebPartManager and WebPartZones, 1047–48 |
overview, 1186 |
web parts |
testing SOAP authentication system, |
administration, 21 |
1192–94 |
ASP.NET 2.0, 21 |
tracking user identity, 1190–91 |
controls, 104 |
Windows authentication, 1186–89 |
web reference, 1109 |
standards and extensions, 1129, 1131–50, |
web resources, 947–49 |
1152–59 |
Web Service basic data types, 1098 |
web service stack, 1093–96 |
Web Service Description Language. See WSDL |
describing a web service, 1095 |
(Web Service Description Language) |
finding web services, 1094–95 |
web services. See also SOAP; WSDL |
overview, 1093–94 |
asynchronous calls, 1175–86 |
wire format, 1095–96 |
concurrent asynchronous calls, 1180–81 |
Windows authentication, 1188, 1193 |
overview, 1175–76 |
WS-interoperability, 1129–31 |
responsive Windows clients, 1181, |
Web Services Description Language (WSDL), |
1183–84 |
1129–31, 1144, 1151, 1162–64 |
simple asynchronous call, 1178–79 |
WebApplicationLifetimeEvent class, 661 |
benefits of, 1091–92 |
WebAuditEvent class, 661 |
building, 1096–1105 |
WebBrowsable attribute, 1064 |
exposing web service, 1100–1103 |
web.config file, 15, 36, 98–99, 153, 162–68, 224, |
overview, 1096 |
326, 391, 400–401, 418, 536, 549, 580, |
testing web service, 1103–5 |
583–84, 617, 660–62, 684–85, 694–95, |
web service class, 1096–97 |
701–3, 705, 711, 713, 718, 726, 736, 877, |
web service requirements, 1097–99, 1099 |
879, 894, 989, 1084, 1112, 1133 |
changes in .NET 2.0, 1087–88 |
WebConfigurationManager.ConnectionStrings |
consuming, 1106–20 |
collection, 236 |
creating ASP client with MSXML, 1117–18 |
WebControl class, 117, 900, 904–7, 924 |
creating ASP client with SOAP toolkit, |
WebControl constructor, 905 |
1119–20 |
WebControls namespace, 135–36, 139–40 |
creating ASP.NET client, 1113–15 |
WebErrorEvent class, 661 |
creating Windows forms client, 1115–17 |
WebForm_AutoFocus( ) method, 122 |
dynamic URLs, 1112 |
webGarden configuration, 625 |
■I N D E X 1253
WebHandler directive, 186 |
overview, 634 |
WebHeartBeatEvent class, 660 |
virtual directories and web applications, |
WebMethod attribute, 1102, 1120, 1130, 1196 |
636–37 |
WebPart class, |
overview, 619 |
System.Web.UI.WebControls.WebParts |
VirtualPathProvider class in ASP.NET 2.0, |
namespace, 1054 |
655–59 |
WebPart control, 618, 1055, 1057 |
website navigation |
WebPartDisplayMode enumeration, 1051–52 |
Menu control |
WebPartManager class, 1047–48, 1055, 1083–84 |
menu templates, 596–98 |
WebPartManager control, 1045, 1050, 1052, |
overview, 592–95 |
1077, 1080, 1083 |
styles, 595–96 |
WebParts class, System.Web.UI.WebControls |
overview, 555 |
namespace, 1054 |
pages with multiple views |
WebParts collection, WebPartManager class, |
MultiView control, 556–60 |
1055 |
overview, 555–56 |
<webParts> element, 1084 |
Wizard control, 559–67 |
WebPartToEdit property, 1074 |
site maps |
WebPartZone control, 1045, 1049, 1054–55, |
adding custom site map information, |
1057, 1069 |
577–78 |
WebRequestErrorEvent class, 661 |
binding other controls, 576–77 |
WebRequestEvent class, 661 |
binding portions of, 572–75 |
WebResource attribute, 978, 1001 |
binding to, 569–70 |
WebService attribute, 1100–1103, 1160 |
breadcrumbs, 570–72 |
WebService class, 1101–2 |
creating custom SiteMapProvider, 578–83 |
WebServiceBinding attribute, 1130–31 |
defining, 568–69 |
webServices element, web.config file, 165 |
overview, 567 |
Website Administration Tool (WAT), 171, 173 |
programmatic navigation, 575–76 |
website deployment |
URL mapping, 583–84 |
deploying ASP.NET applications |
TreeView control |
ASP.NET side-by-side execution, 650 |
overview, 584–85 |
compilation models, 652–53 |
populating nodes on demand, 587–89 |
configuring HTTP runtime settings, |
styles, 589–92 |
651–52 |
TreeNode object, 585–87 |
overview, 647–48 |
Web.sitemap file, 568–69, 573–74 |
verifying the ASP.NET installation, 648–49 |
websites. See also master pages; themes |
with Visual Studio, 653, 655 |
standardizing formatting for, 525–28 |
health monitoring in ASP.NET 2.0 |
standardizing layout for, 538 |
basic structure, 660 |
in Visual Studio 2005 |
events and providers, 660–63 |
designing web pages, 30–34 |
overview, 660 |
migrating projects, 29–30 |
Internet Information Services (IIS) |
overview, 26–28 |
IIS 5.x process model, 623–26 |
projectless development, 28–29 |
IIS 6.x process model, 626–31 |
WebUIValidation.js file, 978 |
installing, 631–34 |
well-formed XML, 428–29 |
overview, 619 |
WHERE clause, 320, 359, 385, 408 |
request processing with IIS and ASP.NET, |
wide area networks (WANs), 1089 |
622–23 |
Widen method, 1023 |
and URL processing, 620–22 |
Width member, 1024 |
managing application pools in IIS 6.0 |
Width property, 117, 949 |
application pools and web applications, |
wildcards, 480 |
644 |
Win16 property, 912 |
creating application pools, 641–43 |
Win32 property, 912 |
custom application pool identities, 644–47 |
window.open function, 997 |
overview, 641 |
Windows 2000, impersonation in, 765–66 |
managing websites |
Windows authentication, 671 |
creating virtual directories, 634–36 |
advantages, 751–52 |
folder settings, 637–40 |
Basic authentication, 753–54 |
■I N D E X 1255
introduction to, 426–29 |
XmlMembershipProvider class, 869, 873, |
|
advantages of XML, 427–28 |
876–77, 882, 894 |
|
overview, 426–27 |
XmlNode class, 437, 440–41, 1098 |
|
well-formed XML, 428–29 |
XmlNodeList class, 436–37, 440 |
|
XML namespaces, 429–30 |
xmlns attribute, 429–30 |
|
XML schemas, 430–31 |
XmlQualifiedName class, 1164 |
|
overview, 425 |
XmlReader class, 469, 1162 |
|
serialization, customizing with |
XmlRoleProvider class, 869, 889–94 |
|
IXmlSerializable, 1162 |
XmlRoot attribute, 1160 |
|
overview, 1161–63 |
XmlSchemaException exception, 449 |
|
schemas for custom data types, 1163–64 |
XmlSchemaProvider attribute, 1164, 1171 |
|
XML, in ASP.NET |
XmlSchemaProvider class, 1162 |
|
data binding |
XmlSerializer class, 647, 816, 872, 876 |
|
binding XML content from other sources, |
XmlSiteMapProvider class, 584 |
|
463 |
XmlSiteMapProvider control, 567–68, 572, 574, |
|
hierarchical binding with TreeView, |
579 |
|
459–61 |
XmlTextReader class, 435, 444–47 |
|
nested grids, 458–59 |
XmlTextWriter class, 432, 446 |
|
nonhierarchical binding, 453–55 |
XmlValidatingReader class, 448–49 |
|
overview, 453 |
XmlWriter class, 1162 |
|
updating XML through XmlDataSource, |
XPath, 443–44, 455–57, 577, 606 |
|
464 |
XPath property, XmlDataSource, 457 |
|
using XPath, 455–57 |
XPathNavigator class, 435, 439–40, 444, 451 |
|
using XSLT, 461–63 |
XPathNodeType property, 440 |
|
overview, 431 |
XPathSelect( ) method, 458 |
|
reading and navigating XML files, 435, |
XSD (XML Schema Document), 1162 |
|
437–52 |
XSL (eXtensible Stylesheet Language), 450–51 |
|
overview, 435 |
XSLT, data binding with, 461–63 |
|
searching XML documents, 440–42 |
XSLT stylesheets, 146, 928 |
|
searching XML documents with XPath, |
XslTransform class, 451 |
|
443–44 |
|
|
transforming XML files, 450–52 |
Z |
|
using XML DOM, 435, 437–38 |
Zone property, WebPart class, 1057 |
|
using XmlTextReader, 444–47 |
||
ZoneIndex property, WebPart class, 1057 |
||
using XPathNavigator, 439–40 |
||
ZoneTemplate section, 1054 |
||
validating XML files, 447–49 |
||
|
||
writing XML files, 432–33, 435 |
|
|
Xml control, 452, 467–68, 928 |
|
|
XML DOM (Document Object Model), 431, 435, |
|
|
437–38 |
|
|
XML markup languages (XML grammars), 429 |
|
|
XML namespace, 1102–3 |
|
|
Xml option, 813 |
|
|
Xml rich control, 104, 146 |
|
|
XML schedule file, AdRotator control, 146 |
|
|
XML schema, 447 |
|
|
XML Schema Document (XSD), 1162 |
|
|
XmlDataDocument class, 467 |
|
|
XmlDataSource control, 309, 392, 406, 425, 453, |
|
|
464, 587 |
|
|
XmlDocument class, 435, 604, 606 |
|
|
XmlDocument object, 432, 436, 444, 446 |
|
|
XmlDocument.Load( ) method, 437 |
|
|
XmlElement attribute, 1160 |
|
|
XmlElement object, 441 |
|
|
XmlHttpRequest class, 995 |
|
|
XmlLabel control, 928–29, 950 |
|