|
Section 1 The essence of ASP.NET web programming |
|
|
|
An introduction to ASP.NET web programming |
|
|
|
An introduction to web applications |
|
|
4 | (10) |
|
Two pages of a Shopping Cart application |
|
|
4 | (2) |
|
The hardware and software components for web applications |
|
|
6 | (2) |
|
How static web pages work |
|
|
8 | (2) |
|
How dynamic web pages work |
|
|
10 | (2) |
|
How state is handled in ASP.NET applications |
|
|
12 | (2) |
|
An introduction to ASP.NET application development |
|
|
14 | (6) |
|
|
14 | (2) |
|
The components of the .NET Framework |
|
|
16 | (2) |
|
Three environments for developing ASP.NET applications |
|
|
18 | (2) |
|
A quick preview of how an ASP.NET applications works |
|
|
20 | (10) |
|
The files used by the Shopping Cart application |
|
|
20 | (2) |
|
The aspx code for the Order form |
|
|
22 | (2) |
|
The Visual Basic code for the Order form |
|
|
24 | (2) |
|
How an ASP.NET application is compiled and run |
|
|
26 | (4) |
|
How to develop a one-page web application |
|
|
|
How to work with ASP.NET web sites |
|
|
30 | (8) |
|
How to start a new web site |
|
|
30 | (2) |
|
How to work with the Visual Studio IDE |
|
|
32 | (2) |
|
How to add folders and files to a web site |
|
|
34 | (2) |
|
How to open or close an existing web site |
|
|
36 | (2) |
|
How to use Design view to build a web form |
|
|
38 | (10) |
|
The design of the Future Value form |
|
|
38 | (2) |
|
|
40 | (2) |
|
How to add a table to a form |
|
|
42 | (1) |
|
How to add a text to the cells of a table |
|
|
42 | (2) |
|
How to add server controls to a form |
|
|
44 | (1) |
|
How to set the properties of the controls |
|
|
44 | (2) |
|
Common properties for web server controls |
|
|
46 | (2) |
|
How to work in Source view |
|
|
48 | (4) |
|
How to use Source view to modify the design |
|
|
48 | (2) |
|
The aspx code for the Future Value form |
|
|
50 | (2) |
|
How to add validation controls to a form |
|
|
52 | (4) |
|
An introduction to the validation controls |
|
|
52 | (2) |
|
How to use the required field validator |
|
|
54 | (1) |
|
How to use the range validator |
|
|
54 | (2) |
|
How to add code to a form |
|
|
56 | (6) |
|
How to use the Code Editor |
|
|
56 | (2) |
|
How to use page and control events |
|
|
58 | (2) |
|
The Visual Basic code for the Future Value form |
|
|
60 | (2) |
|
How to test a web application |
|
|
62 | (8) |
|
How to run a web site with the built-in development server |
|
|
62 | (2) |
|
How to review the HTML that's sent to the browser |
|
|
64 | (6) |
|
How to develop a multi-page web application |
|
|
|
The Shopping Cart application |
|
|
70 | (8) |
|
|
70 | (2) |
|
|
72 | (2) |
|
The files and folders used by the Shopping Cart application |
|
|
74 | (2) |
|
How to add a class to a web site |
|
|
76 | (2) |
|
Six skills for working with multiple web forms |
|
|
78 | (10) |
|
How to add a web form to a web site |
|
|
78 | (2) |
|
|
80 | (1) |
|
How to change the starting web form |
|
|
80 | (2) |
|
How to redirect or transfer to another page |
|
|
82 | (2) |
|
How to use cross-page posting |
|
|
84 | (2) |
|
How to code absolute and relative URLs |
|
|
86 | (2) |
|
How to create and use data sources |
|
|
88 | (8) |
|
How to create an Access data source |
|
|
88 | (2) |
|
How to configure an Access data source |
|
|
90 | (2) |
|
How to bind a drop-down list to a data source |
|
|
92 | (2) |
|
How to use Visual Basic code to get data from a data source |
|
|
94 | (2) |
|
|
96 | (4) |
|
|
96 | (2) |
|
How to work with data in session state |
|
|
98 | (2) |
|
The code for the Shopping Cart application |
|
|
100 | (14) |
|
The code for the Product and Cartltem classes |
|
|
100 | (1) |
|
The aspx code for the Order page |
|
|
100 | (4) |
|
The Visual Basic code for the Order page |
|
|
104 | (4) |
|
The aspx code for the Cart page |
|
|
108 | (1) |
|
The Visual Basic code for the Cart page |
|
|
108 | (6) |
|
How to test and debug an ASP.NET application |
|
|
|
How to create ASP.NET web sites that run under IIS |
|
|
114 | (6) |
|
How to create a local IIS web site |
|
|
114 | (2) |
|
How to create a remote IIS web site |
|
|
116 | (2) |
|
How to create an FTP web site |
|
|
118 | (2) |
|
How to test an ASP.NET application |
|
|
120 | (10) |
|
How to test an application with the default browser |
|
|
120 | (2) |
|
How to test an application with a browser other than the default |
|
|
122 | (2) |
|
How to test a file-system web site with IIS |
|
|
124 | (2) |
|
How to test an application from outside of Visual Studio |
|
|
126 | (2) |
|
How to use an ASP.NET Server Error page |
|
|
128 | (2) |
|
|
130 | (12) |
|
|
130 | (2) |
|
|
132 | (2) |
|
How to work in break mode |
|
|
134 | (2) |
|
How to control the execution of an application |
|
|
136 | (2) |
|
How to use the Autos, Locals, and Watch windows to monitor variables |
|
|
138 | (2) |
|
How to use the Immediate window to work with values |
|
|
140 | (2) |
|
How to use the Trace feature |
|
|
142 | (10) |
|
How to enable the Trace feature |
|
|
142 | (1) |
|
How to interpret Trace output |
|
|
142 | (2) |
|
How to create custom trace messages |
|
|
144 | (2) |
|
How to write information directly to the HTTP output stream |
|
|
146 | (6) |
|
Section 2 Basic ASP.NET skills |
|
|
|
|
|
|
152 | (6) |
|
Basic rules for coding HTML elements |
|
|
152 | (2) |
|
How to work with HTML using Visual Studio |
|
|
154 | (2) |
|
How web server controls are rendered |
|
|
156 | (2) |
|
How to code HTML documents |
|
|
158 | (8) |
|
The basic structure of an HTML document |
|
|
158 | (2) |
|
|
160 | (1) |
|
|
160 | (2) |
|
How to code basic text formatting elements |
|
|
162 | (2) |
|
How to code links to other HTML pages |
|
|
164 | (2) |
|
|
166 | (14) |
|
|
166 | (2) |
|
How to use the Span element to apply styles |
|
|
168 | (2) |
|
How to use styles to position elements |
|
|
170 | (2) |
|
How to use the Style Builder |
|
|
172 | (2) |
|
How to use an external style sheet |
|
|
174 | (2) |
|
How to use classes in a style sheet |
|
|
176 | (2) |
|
Visual Studio features for working with style sheets |
|
|
178 | (2) |
|
|
180 | (8) |
|
|
180 | (2) |
|
Common table attributes and style properties |
|
|
182 | (2) |
|
How to use a table to control the layout of a page |
|
|
184 | (4) |
|
How to work with server controls |
|
|
|
An introduction to server controls |
|
|
188 | (8) |
|
|
188 | (2) |
|
The web server controls presented in this chapter |
|
|
190 | (2) |
|
Two ways to handle control events |
|
|
192 | (2) |
|
How to use access keys with web server controls |
|
|
194 | (2) |
|
How to work with button controls |
|
|
196 | (6) |
|
How to work with buttons, link buttons, and image buttons |
|
|
196 | (2) |
|
How to use the e argument of an image button control |
|
|
198 | (2) |
|
How to use the Command event |
|
|
200 | (2) |
|
How to work with text boxes, labels, check boxes, and radio buttons |
|
|
202 | (6) |
|
How to work text boxes and labels |
|
|
202 | (2) |
|
How to work with check boxes and radio buttons |
|
|
204 | (2) |
|
Visual Basic code for working with these controls |
|
|
206 | (2) |
|
How to work with list controls |
|
|
208 | (12) |
|
Basic skills for working with list boxes and drop-down lists |
|
|
208 | (2) |
|
Properties for working with list boxes, drop-down lists, and list items |
|
|
210 | (2) |
|
Properties and methods for working with list item collections |
|
|
212 | (2) |
|
How to use the List Item Collection Editor |
|
|
214 | (2) |
|
How to work with radio button lists and check box lists |
|
|
216 | (2) |
|
How to work with bulleted lists and numbered lists |
|
|
218 | (2) |
|
How to use other web server controls |
|
|
220 | (12) |
|
How to get the information you need for using a control |
|
|
220 | (2) |
|
How to use the image control |
|
|
222 | (1) |
|
How to use the hyperlink control |
|
|
222 | (2) |
|
How to use the file upload control |
|
|
224 | (2) |
|
How to use the image map control |
|
|
226 | (2) |
|
How to use the calendar control |
|
|
228 | (4) |
|
How to use the validation controls |
|
|
|
An introduction to the validation controls |
|
|
232 | (6) |
|
How to use the validation controls |
|
|
232 | (2) |
|
Common validator properties |
|
|
234 | (2) |
|
How ASP.NET processes validation controls |
|
|
236 | (2) |
|
How to use the basic validation controls |
|
|
238 | (6) |
|
How to use the required field validator |
|
|
238 | (2) |
|
How to use the compare validator |
|
|
240 | (2) |
|
How to use the range validator |
|
|
242 | (2) |
|
|
244 | (4) |
|
How to use the validation summary control |
|
|
244 | (2) |
|
How to use validation groups |
|
|
246 | (2) |
|
How to use the advanced validation controls |
|
|
248 | (10) |
|
How to use the regular expression validator |
|
|
248 | (2) |
|
How to create your own regular expressions |
|
|
250 | (2) |
|
How to use a custom validator |
|
|
252 | (2) |
|
A validation routine that validates credit card numbers |
|
|
254 | (4) |
|
|
|
|
258 | (4) |
|
How to work with view state |
|
|
258 | (2) |
|
How to use view state for your own data |
|
|
260 | (2) |
|
|
262 | (8) |
|
How to work with session state |
|
|
262 | (2) |
|
When to save and retrieve session state items |
|
|
264 | (2) |
|
Options for storing session state data |
|
|
266 | (1) |
|
Options for tracking session IDs |
|
|
266 | (2) |
|
How to set session state options |
|
|
268 | (2) |
|
How to use application state |
|
|
270 | (6) |
|
How application state works |
|
|
270 | (2) |
|
How to work with application state data |
|
|
272 | (2) |
|
How to work with application events |
|
|
274 | (2) |
|
How to use cookies and URL encoding |
|
|
276 | (10) |
|
|
276 | (2) |
|
|
278 | (2) |
|
How to enable or disable cookies |
|
|
280 | (2) |
|
|
282 | (4) |
|
|
|
How to create master pages |
|
|
286 | (10) |
|
An introduction to master pages |
|
|
286 | (2) |
|
How to create a master page |
|
|
288 | (2) |
|
The aspx code for a new master page |
|
|
290 | (2) |
|
The aspx code for the Halloween Store master page |
|
|
292 | (2) |
|
The code-behind file for the master page |
|
|
294 | (2) |
|
How to create and develop content pages |
|
|
296 | (4) |
|
How to create a content page |
|
|
296 | (2) |
|
How to add content to a page |
|
|
298 | (2) |
|
How to access master page controls from a content page |
|
|
300 | (6) |
|
How to expose a master page control as a public property |
|
|
300 | (2) |
|
How to access a public property of the master page from a content page |
|
|
302 | (4) |
|
How to use site navigation |
|
|
|
An introduction to site navigation |
|
|
306 | (6) |
|
An introduction to the navigation controls |
|
|
306 | (2) |
|
How to create a web.sitemap file |
|
|
308 | (2) |
|
The web.sitemap file for the Navigation application |
|
|
310 | (2) |
|
How to use the site navigation controls |
|
|
312 | (12) |
|
How to use the TreeView control |
|
|
312 | (2) |
|
How to create a SiteMapDataSource control |
|
|
314 | (2) |
|
How to use the Menu control |
|
|
316 | (2) |
|
How to use the SiteMapPath control |
|
|
318 | (2) |
|
A master page for the Navigation application |
|
|
320 | (4) |
|
|
|
An introduction to themes |
|
|
324 | (6) |
|
A page before and after a theme has been applied |
|
|
324 | (2) |
|
|
326 | (2) |
|
How to make an existing theme available to an application |
|
|
328 | (1) |
|
How to apply a theme to an application |
|
|
328 | (2) |
|
How to create your own themes |
|
|
330 | (8) |
|
How to use cascading style sheets |
|
|
330 | (2) |
|
|
332 | (2) |
|
Another way to store skins |
|
|
334 | (2) |
|
|
336 | (2) |
|
More skills for working with themes |
|
|
338 | (10) |
|
How to apply a theme to a page |
|
|
338 | (1) |
|
How to apply a skin to a control |
|
|
338 | (2) |
|
How to remove a theme from an application |
|
|
340 | (1) |
|
How to remove a theme from a page |
|
|
340 | (1) |
|
How to remove a theme from a control |
|
|
340 | (2) |
|
How to use style sheet themes |
|
|
342 | (6) |
|
Section 3 ASP.NET database programming |
|
|
|
An introduction to database programming |
|
|
|
An introduction to relational databases |
|
|
348 | (8) |
|
|
348 | (2) |
|
How the tables in a database are related |
|
|
350 | (2) |
|
How the columns in a table are defined |
|
|
352 | (2) |
|
The design of the Halloween database |
|
|
354 | (2) |
|
How to use SQL to work with the data in a relational database |
|
|
356 | (6) |
|
How to query a single table |
|
|
356 | (2) |
|
How to join data from two or more tables |
|
|
358 | (2) |
|
How to add. update, and delete data in a table |
|
|
360 | (2) |
|
An introduction to ADO.NET 2.0 |
|
|
362 | (4) |
|
|
362 | (2) |
|
Concurrency and the disconnected data architecture |
|
|
364 | (2) |
|
An introduction to the ADO.NET 2.0 classes |
|
|
366 | (6) |
|
|
366 | (1) |
|
|
366 | (2) |
|
|
368 | (1) |
|
|
368 | (1) |
|
|
368 | (4) |
|
How to use SQL data sources |
|
|
|
How to create a SQL data source |
|
|
372 | (14) |
|
A Product List application that uses two SQL data sources |
|
|
372 | (2) |
|
How to create a SqlDataSource control |
|
|
374 | (2) |
|
How to define the connection |
|
|
376 | (2) |
|
How to save the connection string in the web.config file |
|
|
378 | (2) |
|
How to configure the Select statement |
|
|
380 | (2) |
|
How to create a Where clause |
|
|
382 | (2) |
|
How select parameters work |
|
|
384 | (2) |
|
How to use the Query Builder |
|
|
386 | (4) |
|
How to create a Select statement with the Query Builder |
|
|
386 | (2) |
|
How to define the parameters |
|
|
388 | (2) |
|
How to use the DataList control |
|
|
390 | (6) |
|
How the DataList control works |
|
|
390 | (2) |
|
How to define the templates for a data list |
|
|
392 | (2) |
|
How to format a data list |
|
|
394 | (2) |
|
|
396 | (6) |
|
How to bind a list control to a data source |
|
|
396 | (2) |
|
How to bind the controls in a template |
|
|
398 | (2) |
|
The aspx file for the Product List application |
|
|
400 | (2) |
|
How to use the advanced features of a SQL data source |
|
|
402 | (6) |
|
How to create a data source that can update the database |
|
|
402 | (2) |
|
How to change the data source mode |
|
|
404 | (1) |
|
|
404 | (4) |
|
How to use the GridView control |
|
|
|
How to customize the GridView control |
|
|
408 | (12) |
|
How the GridView control works |
|
|
408 | (2) |
|
How to define the fields in a GridView control |
|
|
410 | (2) |
|
Elements used to create and format fields |
|
|
412 | (2) |
|
|
414 | (2) |
|
|
416 | (2) |
|
|
418 | (2) |
|
A list application that uses a GridView control |
|
|
420 | (4) |
|
The Product List application |
|
|
420 | (2) |
|
|
422 | (2) |
|
How to update GridView data |
|
|
424 | (6) |
|
How to work with command fields |
|
|
424 | (2) |
|
How to use events raised by the GridView control |
|
|
426 | (2) |
|
How to insert a row in a GridView control |
|
|
428 | (2) |
|
A maintenance application that uses a GridView control |
|
|
430 | (8) |
|
The Category Maintenance application |
|
|
430 | (2) |
|
|
432 | (4) |
|
|
436 | (2) |
|
How to work with template fields |
|
|
438 | (8) |
|
How to create template fields |
|
|
438 | (2) |
|
The template version of the Category Maintenance application |
|
|
440 | (1) |
|
The aspx code for the template version |
|
|
440 | (6) |
|
How to use the Details View and FormView controls |
|
|
|
How to use the DetailsView control |
|
|
446 | (10) |
|
An introduction to the DetailsView control |
|
|
446 | (2) |
|
Attributes and child elements for the DetailsView control |
|
|
448 | (2) |
|
How to add fields to a DetailView control |
|
|
450 | (2) |
|
|
452 | (2) |
|
How to create a Master/Detail page |
|
|
454 | (2) |
|
How to update DetailsView data |
|
|
456 | (8) |
|
An introduction to command buttons |
|
|
456 | (2) |
|
How to add command buttons |
|
|
458 | (2) |
|
How to handle DetailsView events |
|
|
460 | (2) |
|
How to fix the optimistic concurrency bug |
|
|
462 | (2) |
|
The Product Maintenance application |
|
|
464 | (8) |
|
The operation of the application |
|
|
464 | (1) |
|
|
464 | (6) |
|
|
470 | (2) |
|
How to use the FormView control |
|
|
472 | (6) |
|
An introduction to the FormView control |
|
|
472 | (2) |
|
How to work with the Item template |
|
|
474 | (2) |
|
How to work with the EditItem and InsertItem templates |
|
|
476 | (2) |
|
A Shopping Cart application that uses a FormView control |
|
|
478 | (8) |
|
The operation of the application |
|
|
478 | (2) |
|
The aspx file for the Order page |
|
|
480 | (1) |
|
The code-behind file for the Order page |
|
|
480 | (6) |
|
How to use object data sources |
|
|
|
An introduction to object data sources |
|
|
486 | (6) |
|
How 3-layer applications work in ASP.NET 2.0 |
|
|
486 | (2) |
|
How to use the ObjectDataSource control |
|
|
488 | (2) |
|
How to configure an ObjectDataSource control |
|
|
490 | (2) |
|
A Product List application |
|
|
492 | (6) |
|
|
494 | (2) |
|
|
496 | (2) |
|
How to create a data access class |
|
|
498 | (8) |
|
How to design a data access class |
|
|
498 | (2) |
|
How to create a select method |
|
|
500 | (2) |
|
How to create update, delete, and insert methods |
|
|
502 | (2) |
|
How to use attributes to mark a data access class |
|
|
504 | (2) |
|
A Category Maintenance application |
|
|
506 | (14) |
|
The design of the Category Maintenance application |
|
|
506 | (1) |
|
|
506 | (4) |
|
|
510 | (2) |
|
|
512 | (8) |
|
Section 4 Professional ASP.NET skills |
|
|
|
|
|
|
520 | (4) |
|
How secure connections work |
|
|
520 | (2) |
|
How digital secure certificates work |
|
|
522 | (1) |
|
How to determine if a digital secure certificate is installed on your server |
|
|
522 | (2) |
|
How to get and use a digital secure certificate |
|
|
524 | (6) |
|
How to get a digital secure certificate |
|
|
524 | (2) |
|
How to get a trial certificate for testing |
|
|
526 | (2) |
|
How to use the Web Server Certificate Wizard |
|
|
528 | (2) |
|
How to use a secure connection |
|
|
530 | (4) |
|
How to request a secure connection |
|
|
530 | (2) |
|
How to force a page to use a secure connection |
|
|
532 | (2) |
|
A Halloween Store application that uses SSL |
|
|
534 | (6) |
|
The operation of the Halloween Store application |
|
|
534 | (1) |
|
The code for the Halloween Store application |
|
|
534 | (6) |
|
How to use the login controls to authenticate users |
|
|
|
An introduction to authentication |
|
|
540 | (4) |
|
Three types of authentication |
|
|
540 | (2) |
|
How forms-based authentication works |
|
|
542 | (2) |
|
How to set up authentication and authorization |
|
|
544 | (12) |
|
How to start the Web Site Administration Tool |
|
|
544 | (2) |
|
How to enable forms-based authentication |
|
|
546 | (2) |
|
How to create and manage roles |
|
|
548 | (2) |
|
How to create and manage users |
|
|
550 | (2) |
|
How to create and manage access rules |
|
|
552 | (2) |
|
How to modify the membership and role provider |
|
|
554 | (2) |
|
How to use the ASP.NET 2.0 login controls |
|
|
556 | (12) |
|
How to use the Login control |
|
|
556 | (2) |
|
How to use the LoginStatus and LoginName controls |
|
|
558 | (2) |
|
How to use the CreateUserWizard control |
|
|
560 | (2) |
|
How to use the PasswordRecovery control |
|
|
562 | (2) |
|
How to use the ChangePassword control |
|
|
564 | (2) |
|
How to use the LoginView control |
|
|
566 | (2) |
|
The Authentication application |
|
|
568 | (8) |
|
|
568 | (4) |
|
|
572 | (1) |
|
|
572 | (2) |
|
|
574 | (2) |
|
How to use code to work with authentication |
|
|
576 | (10) |
|
How to use the Membership class |
|
|
576 | (2) |
|
How to use the MembershipUser class |
|
|
578 | (2) |
|
How to use the FormsAuthentication class |
|
|
580 | (2) |
|
How to use the Roles class |
|
|
582 | (4) |
|
How to use profiles to personalize a web site |
|
|
|
An introduction to profiles |
|
|
586 | (6) |
|
Profiles compared with session state |
|
|
586 | (2) |
|
An overview of how profiles work |
|
|
588 | (2) |
|
How the default profile provider works |
|
|
590 | (2) |
|
How to use profiles with authenticated users |
|
|
592 | (10) |
|
How to define profile properties |
|
|
592 | (2) |
|
How to specify data types |
|
|
594 | (2) |
|
How to group profile properties |
|
|
596 | (2) |
|
How to specify default values |
|
|
598 | (1) |
|
How to specify read-only properties |
|
|
598 | (2) |
|
|
600 | (2) |
|
How to use profiles with anonymous users |
|
|
602 | (4) |
|
How to enable anonymous identification |
|
|
602 | (1) |
|
How to allow anonymous users to access profile properties |
|
|
602 | (2) |
|
How to migrate data from anonymous to authenticated users |
|
|
604 | (2) |
|
The Cart Profile application |
|
|
606 | (12) |
|
|
606 | (4) |
|
|
610 | (8) |
|
How to use the MultiView and Wizard controls |
|
|
|
How to use the MultiView control |
|
|
618 | (12) |
|
How the MultiView control works |
|
|
618 | (2) |
|
|
620 | (2) |
|
How to add controls to a view |
|
|
622 | (2) |
|
How to navigate between views with commands |
|
|
624 | (2) |
|
How to access the data stored in a MultiView control |
|
|
626 | (2) |
|
Properties and events of the MultiView and View controls |
|
|
628 | (2) |
|
How to use the Wizard control |
|
|
630 | (14) |
|
How the Wizard control works |
|
|
630 | (2) |
|
How to add or remove steps |
|
|
632 | (2) |
|
How to add a Cancel button |
|
|
634 | (2) |
|
How to add a completion step |
|
|
636 | (2) |
|
Properties and events of the Wizard and WizardStep controls |
|
|
638 | (2) |
|
How to use templates and styles with wizards |
|
|
640 | (4) |
|
How to use email, custom error pages, and back-button control |
|
|
|
|
644 | (12) |
|
|
644 | (2) |
|
How to configure the SMTP service in IIS |
|
|
646 | (2) |
|
How to create an email message |
|
|
648 | (2) |
|
How to send an email message |
|
|
650 | (2) |
|
How to add an attachment to an email message |
|
|
652 | (2) |
|
How to create an HTML message |
|
|
654 | (2) |
|
How to use custom error handling |
|
|
656 | (10) |
|
An introduction to custom error handling |
|
|
656 | (2) |
|
How to get and use the Exception object for an error |
|
|
658 | (2) |
|
How to code procedures that redirect to a custom error page |
|
|
660 | (2) |
|
The code for a custom error page |
|
|
662 | (2) |
|
How to handle HTTP errors with the web.config file |
|
|
664 | (2) |
|
How to handle the back-button problem |
|
|
666 | (8) |
|
An introduction to the back-button problem |
|
|
666 | (2) |
|
How to disable browser page caching |
|
|
668 | (2) |
|
How to use timestamps to avoid the back-button problem |
|
|
670 | (4) |
|
How to use web parts to build portals |
|
|
|
An introduction to the portal framework |
|
|
674 | (8) |
|
A portal that uses web parts |
|
|
674 | (4) |
|
How user configurations are stored |
|
|
678 | (1) |
|
SharePoint and ASP.NET 2.0 |
|
|
678 | (2) |
|
Types of controls that can be used as web parts |
|
|
680 | (2) |
|
|
682 | (18) |
|
How to create a page that uses web parts |
|
|
682 | (4) |
|
How to add a user control to a web part zone |
|
|
686 | (4) |
|
How to let the user move web parts between zones |
|
|
690 | (2) |
|
How to let the user add web parts to a zone |
|
|
692 | (2) |
|
How to let the user edit the properties of a web part |
|
|
694 | (4) |
|
How to apply formatting to web parts |
|
|
698 | (2) |
|
How to write code that works with web parts |
|
|
700 | (6) |
|
Classes for working with web parts |
|
|
700 | (2) |
|
How to develop and use a custom WebPart control |
|
|
702 | (4) |
|
How to configure and deploy a web application |
|
|
|
How to configure an ASP.NET 2.0 application |
|
|
706 | (4) |
|
How to use the Web Site Administration Tool |
|
|
706 | (2) |
|
How to use the IIS Management Console |
|
|
708 | (2) |
|
How to deploy an ASP.NET 2.0 application |
|
|
710 | (16) |
|
Three ways to deploy an ASP.NET 2.0 application |
|
|
710 | (2) |
|
How to use the Copy Web Site command for XCopy deployment |
|
|
712 | (2) |
|
How to use the Publish Web Site command for precompiled deployment |
|
|
714 | (2) |
|
How to use the aspnet_compiler command for precompiled deployment |
|
|
716 | (2) |
|
How to create a Web Setup project |
|
|
718 | (2) |
|
How to create and use a Setup program |
|
|
720 | (6) |
|
Section 5 Developing reusable code |
|
|
|
How to develop user controls |
|
|
|
An introduction to user controls |
|
|
726 | (2) |
|
A web page that contains three user controls |
|
|
726 | (1) |
|
A procedure for creating and using user controls |
|
|
726 | (2) |
|
How to create user controls |
|
|
728 | (8) |
|
How to add a user control to a project |
|
|
728 | (1) |
|
How to design a user control |
|
|
728 | (2) |
|
How to code a user control |
|
|
730 | (2) |
|
How to expose properties, methods, and events |
|
|
732 | (4) |
|
|
736 | (6) |
|
How to add a user control to a web form |
|
|
736 | (2) |
|
The aspx code that's generated when you add a user control to a form |
|
|
738 | (2) |
|
How to write code that works with properties, methods, and events |
|
|
740 | (2) |
|
The ProductDisplay user control |
|
|
742 | (6) |
|
|
742 | (1) |
|
|
742 | (1) |
|
|
742 | (6) |
|
How to develop custom server controls |
|
|
|
An overview of custom server controls |
|
|
748 | (6) |
|
An introduction to custom server controls |
|
|
748 | (2) |
|
How custom server controls compare with user controls |
|
|
750 | (2) |
|
Three types of custom server controls |
|
|
752 | (2) |
|
How to create a rendered control |
|
|
754 | (8) |
|
The default class for a custom server control |
|
|
754 | (2) |
|
How to override that Render or RenderContents method for a custom control |
|
|
756 | (2) |
|
The design of the DaysUnit control |
|
|
758 | (1) |
|
The code for the DaysUnit control |
|
|
758 | (4) |
|
How to create and test a web control library |
|
|
762 | (4) |
|
Step 1: Create a web control library |
|
|
762 | (1) |
|
Step 2: Create the custom server controls |
|
|
762 | (1) |
|
Step 3: Build the web control library |
|
|
762 | (2) |
|
Step 4: Add the library to a web site |
|
|
764 | (1) |
|
Step 5: Test the controls |
|
|
764 | (2) |
|
Additional programming techniques for custom controls |
|
|
766 | (6) |
|
How to use the HtmlTextWrite class to render HTML |
|
|
766 | (2) |
|
How to use designer attributes |
|
|
768 | (2) |
|
How to raise events in a custom control |
|
|
770 | (2) |
|
How to create a superclassed control |
|
|
772 | (6) |
|
How to code a superclassed control |
|
|
772 | (1) |
|
The design of the CaptionedBox control |
|
|
772 | (2) |
|
The code for the CaptionedBox control |
|
|
774 | (4) |
|
How to create a composite control |
|
|
778 | (12) |
|
How to code a composite control |
|
|
778 | (2) |
|
The design of the DateDDL control |
|
|
780 | (1) |
|
The code for the DateDDL control |
|
|
780 | (10) |
|
An introduction to web services |
|
|
|
|
790 | (2) |
|
What web services are used for |
|
|
790 | (1) |
|
|
790 | (2) |
|
How to create a web service |
|
|
792 | (8) |
|
How to start a web service web site |
|
|
792 | (1) |
|
|
792 | (2) |
|
How to develop the code for a web service |
|
|
794 | (2) |
|
The code for the DaysUntil web service |
|
|
796 | (2) |
|
How to test a web service |
|
|
798 | (2) |
|
How to consume a web service |
|
|
800 | (6) |
|
How to add a web reference |
|
|
800 | (2) |
|
|
802 | (4) |
|
Appendix A How to install and use the software and downloadable files |
|
|
|
Basic techniques for working with the software and downloadable files |
|
|
806 | (8) |
|
How to download and install the files for this book |
|
|
806 | (2) |
|
|
808 | (2) |
|
How to install Visual Studio 2005 |
|
|
810 | (2) |
|
How to use the downloaded web applications |
|
|
812 | (2) |
|
How to work with web applications using IIS |
|
|
814 | (4) |
|
How to create a virtual directory |
|
|
814 | (2) |
|
How to set the default page for a web site |
|
|
816 | (2) |
|
How to force a page to use a secure connection |
|
|
818 | |