O

object, 58

application, 170, 210 collection, 108 command, 134 connection, 134 constructors, 183 creating new object, 162 DataSet, 147 methods, 59 multiple, 218 namespace, 166

properties, 162 reference setting, 295 server-side, 211, 218-219 session, 168, 182, 210-211, 227 single, 218

SQLConnection, 136, 138 Web Method, 168 Web service, 162, 168 operators arithmetic, 52, 63 assignment, 52 comparison of, 297-299 output formatting, 128

formatting with templates, 130 specifying, 130

page directives, 280, 284 localize, 268-269 state, 234-235 trace, 248-249 panels, 91

hiding, 112 parameters client console, 175 command-line, 64 Global.asax, 220 input, 150 insert form, 139 passing by reference, 294 passing by value, 294 passing data, 142 reading, 137 title page, 185 value, 154 Visual Basic, 285 Web service, 163 Web services, 156-157 password box, 27, 96

Forms Authentication, 258 impersonation, 255 specifying, 134 static, 96 performance, 3 permissions, 12

placeholder tag, 1

sing for controls, 111 pop-up help text, 107 menu, 21 port access, 150 POST, 151-152 testing, 155 postback, 30 power, 3 procedures error, 142 stored, 142-143 program object-oriented, 35 versions, 300 properties, 60 access, 44 definition of, 44-45 image, 82 namespace, 44 proxy class, 172, 174-175

queries ad hoc, 142 control, 142 error, 245

string, 195, 199, 201, 206, 245 XML engine, 164

render functions, 278-279 images, 107 troubleshooting, 279 Request.Form, 194-195 Request.Params, 196-197 Resource Manager, 270-273 Response.Redirect, 200-201 Response.Write, 198-199 return value, 150 rollover effect, 95 root directory, 250 runtime, 7, 179 error, 41 -42

radio buttons, 27, 100-107 ranges currency, 120 dates, 120

double-type data, 120 integer-type data, 120 string data, 120 RDBMS (Relational Database Management System), 126 redirecting, 200-201 RegionInfo, 266-267 regular expressions, 122-123

Relational Database Management System (RDBMS), 126 Remote Procedure Calls (RPC), 150

scalability, 224 script blocks, 187, 276-277 delimiters, 216 external file, 277 server-side, 187, 191 Secured Sockets Layer (SSL), 252, 258 security, 3, 23, 210 applications, 255 authorization, 260 impersonation, 254-255 server,2 controls, 2 web, 2 session code, 213 color, 229 disable, 170 end, 214 Global.asax, 218 in-process, 228

object, 168-169, 182, 211, 227 out-of-process, 228 SQL server, 228 start, 214 state, 226-229 types of, 168 variables, 226, 229 settings application, 236-237 custom, 240-241 signature, 60-61

simple components creating, 176-179 Single Threaded Apartment (STA), 284 SMTP server e-mail, 204 snap-in, 3 snap-ins, 5 SOAP, 150-152 software installing, 300 using, 300 sort ascending (ASC), 140 data, 140-141 descending (DESC), 140 SPAN, 198 SQL

data, 132, 144 data stores, 166 Delete SQL string, 139 deleting, 138-139 displaying data, 133 Forms Authentication, 258 inserting, 134-135 select statements, 184 sending custom statement, 136 server, 147, 228 sorting, 140-141 statement, 134, 166 statements, 142 string, 136 updating, 137 updating data, 136 XML query engine, 164 statistics, 215 stored procedures execute, 142-143 stores data, 190 trace, 251 string appending, 52 building, 180 concatenate, 52-53 connection, 185 Delete SQL, 139 insert SQL, 135 keys, 194 message, 176

query, 195, 199, 201, 206, 245 SQL, 137-138 values, 194 submit button, 27, 135, 137, 139, 143 synchronization, 224 syntax

Global.asax, 290 web.config, 290-291

table building, 84-85, 87, 108-109 cell, 91, 109 colors, 85, 130 definition of, 91 HTML, 132-133 literals, 109 properties of, 84 row, 91 tags anchor, 80-81, 106 attributes, 96 DIV, 198 HTML, 2, 198

HTML Input Submit Button, 92 placeholder, 198 range validator, 120 single, 260 SPAN, 198 templates code, 24, 27-28, 32, 108, 130 definition of, 24 file, 24 generic, 24 Repeater control, 128 text area, 27

box, 27, 74-76, 91, 96-97, 110, 116, 119, 122 command, 147 format, 205 input, 96

manipulating, 110 request input, 97 validating, 122 viewer, 146 TextPad, 301

three-tier Web form, 188-191

tools

^ a title pag tools dministrative, 8, 10, 14, 20, 22 debugging, 65 trace application-level, 250-251 configuration, 250 hyperlink, 250 information, 248-249 page-level, 248-250 storage, 251 virtual directory, 250 Web site, 250 troubleshooting, 17 CD-ROM, 301 custom errors, 244 render functions, 279 two-tier web form, 184-187

UCS Transformation Format (UTF-8), 262, 272

Unicode, 262

configuration, 213 impersonation, 254 passing data, 195 Web service, 172 user authorization, 260-261 credentials, 255 ID, 134

validation based on range of values, 120 compare fields for, 118 enable basic process of, 116 summarize errors from, 124 use regular expressions for, 122 variables application, 170-171, 224-225

converting, 54

declaring, 40-41, 48, 292

defining, 40-41

displaying, 197

fixed values, 160

form, 197

global, 277 hidden, 87

hidden information, 86 initialization, 40-43, 48, 180 initializing, 108, 286 iteration, 56 long, 55 private, 180 public, 180 server, 248 session, 226, 229 setting, 214 updating, 223 VB.NET Syntax, 282-283, 285

migrating, 284 VBScript. See Visual Basic virtual directory application, 210 trace, 250 Visual Basic, 54, 213, 287 assignment statements, 292 case statements, 293 comments, 292 examples of, 292 exception handling, 295 FOR Loops, 293 if...else statements, 292 migrating, 282-285 object reference, 295 operators, 297-299 parameters, 285

passing by reference, 294 passing by value, 294 Request.Form, 194 script blocks, 276 types, 296 WHILE Loops, 293 Visual Studio.NET (VS.NET), 6, 21 VMware Workstation, 301 VS.NET (Visual Studio.NET), 6, 21

W3C, 146

Web browser, 72, 88 cookie, 231 graphics, 107

hyperlink, 106

image, 73, 82 testing, 155 types, 202, 203 Web class, 172, 174 Web controls, 95-96, 109, 234 basic, 91 classification, 90 data list, 91 introduction, 90-93 list, 91 rich, 91

Web forms, 2, 25-26, 30, 33, 186 control, 92 controls, 90 creating, 31 server-side form, 192 Web Method, 154, 160 array, 158-159 creating, 166 default definition, 170 return, 162 session object, 168 Web page adding advertisement banners, 114 breaking into sections, 111 Code-behind, 193 components, 182 creating, 187 custom testing, 155 deleting, 138, 200 error, 200 form control, 134 inserting SQL data, 134 viewing multiple pages, 112 Web server, 2, 8-10, 14, 24-25, 66, 80, 88, 108 calendar, 104-105, 121 controls, 90, 99-107, 288-290 copying files, 178 error, 238

processing events, 32 request, 28 response, 28 restarting, 19 starting, 19

stopping, 19 XML files, 146 Web service, 2, 25, 275

application object, 170-171 benefits, 150

clients, 150, 152, 156, 162, 164 components, 182 creating, 152, 153 creating client console, 174, 175 creating client page, 172-173 DataSet, 167

enumerated type, 160-161 figure of, 151 introduction, 150 language, 152 method, 156

parameters, 156-157, 163 protocols, 151 return SQL data, 166-167 return XML, 164-165 returning an array, 158-159 returning an object, 162-163 session object, 168-169 simple, 152 standards, 151 testing, 154-155 URL, 172 writing, 152 XML, 151, 165 Web Services Description Language (WSDL), 150 Web Services Discovery (Disco), 150, 174 Web site

/bin directory, 179 browsing, 20-21 creating, 26

displaying text, 110

exploring, 22

interactive, 28

moving, 178

pausing, 18-19

properties page, 15

starting, 18-19

stopping, 18-19

trace, 250

Windows

2000, 204, 254, 258, 260 uthentication, 252-256 CD-ROM, 253 Internet Explorer, 252 Internet Information System (IIS), 252, 260 Internet Services Manager (ISM), 252, 254 Explorer, 11, 22-23 Form application, 275 Wireless Markup Language (WML), 148 Wizard, 5, 21

Virtual Directory Creation, 11, 13 Windows Component, 4 WML (Wireless Markup Language), 148 WSDL (Web Services Description Language), 150

Was this article helpful?

0 0

Post a comment