rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9781890774356

Murach's ASP. NET 2. 0 Upgrader's Guide : C# Edition

by
  • ISBN13:

    9781890774356

  • ISBN10:

    1890774359

  • Format: Paperback
  • Copyright: 2005-07-30
  • Publisher: Mike Murach & Associates Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.50

Summary

What's new and how to use it! That's the quickest description for what this book presents as it shows C# developers how to upgrade from ASP.NET 1.x to ASP 2.0.NET 2.0. Unlike competing books, which present the what's new but not the how to, this book uses complete applications to show the reader exactly how to use all of the valuable new 2.0 features, including data access, master pages, site navigation, login controls, profiles, themes, web parts, and more. This book also presents the best techniques for converting 1.x applications to 2.0 and for deploying 2.0 applications.

Table of Contents

Section 1 Introduction to ASP.NET 2.0
What's new in ASP.NET 2.0
An introduction to Visual Studio 2005 and ASP.NET 2.0
4(2)
Visual Studio 2005 editions
4(1)
New programming features for ASP.NET 2.0
4(2)
ASP.NET 2.0's new code-behind model
6(4)
The ASP.NET 2.0 code-behind model
6(2)
How ASP.NET 2.0 applications are compiled
8(2)
New features of ASP.NET 2.0
10(14)
An introduction to master pages
10(2)
An introduction to the ASP.NET 2.0 data access features
12(2)
An introduction to site navigation
14(2)
An introduction to the login controls
16(2)
An introduction to profiles
18(2)
An introduction to themes
20(1)
An introduction to web parts
20(2)
Other new features of ASP.NET 2.0
22(2)
New features of Visual Studio 2005 and C# 2.0
24(6)
New features of Visual Studio 2005
24(2)
New C# language features
26(4)
How to create an ASP.NET 2.0 application in Visual Studio 2005
The Shopping Cart application
30(6)
The Order page
30(2)
The Cart page
32(2)
The files and folders used by the Shopping Cart application
34(2)
How to work with ASP.NET 2.0 web sites
36(4)
How to create a new ASP.NET 2.0 web site
36(2)
How to add items to a web site
38(2)
How to design an ASP.NET 2.0 web page
40(6)
The HTML code for a new web page
40(2)
How to work in Source view
42(2)
How to work in Design view
44(2)
How to create and use data sources
46(6)
How to create an Access data source
46(2)
How to configure an Access data source
48(2)
How to bind a drop-down list to a data source
50(2)
How to add code to an ASP.NET 2.0 page
52(6)
How to use the Code Editor
52(2)
How events are wired in ASP.NET 2.0
54(2)
How to use code snippets
56(2)
Two new ASP.NET 2.0 programming techniques
58(4)
How to use cross-page posting
58(2)
How to use C# code to get data from a data source
60(2)
The code for the Shopping Cart application
62(12)
The code for the Product and Cartltem classes
62(1)
The aspx code for the Order page
62(4)
The C# code for the Order page
66(4)
The aspx code for the Cart page
70(1)
The C# code for the Cart page
70(4)
How to run an ASP.NET 2.0 application
74(4)
How to use the development server
74(1)
How to run a file-system web site with IIS
74(4)
How to use master pages
How to create master pages
78(10)
An introduction to master pages
78(2)
How to create a master page
80(2)
The aspx code for a new master page
82(2)
The aspx code for the Halloween Store master page
84(2)
The code-behind file for the master page
86(2)
How to create and develop content pages
88(4)
How to create a content page
88(2)
How to add content to a page
90(2)
How to access master page controls from a content page
92(4)
How to expose a master page control as a public property
92(2)
How to access a public property of the master page from a content page
94(2)
How to use nested master pages
96(8)
How nested master pages work
96(2)
How to create nested master pages
98(6)
Section 2 ASP.NET 2.0 data access
How to use SQL and XML data sources
An application that uses the new data access features
104(4)
The Product List application
104(2)
The design of the Halloween database
106(2)
How to use a SQL data source
108(12)
How to create a SQL data source
108(2)
How to define the connection
110(2)
How to save the connection string in the web.config file
112(2)
How to configure the Select statement
114(2)
How to create a Where clause
116(2)
How select parameters work
118(2)
How to use the Query Builder
120(4)
How to create a Select statement with the Query Builder
120(2)
How to define the parameters
122(2)
How to use data binding
124(6)
How to bind a list control to a data source
124(2)
How to use the ASP.NET 2.0 Eval and Bind methods to bind data
126(2)
The aspx file for the Product List application
128(2)
How to use the advanced features of a SQL data source
130(6)
How to create a data source that can update the database
130(2)
How to change the data source mode
132(1)
How to use caching
132(2)
How to create and use a SQL cache dependency
134(2)
How to use an XML data source
136(12)
XML files that contain category and product data
136(2)
How to create an XML data source
138(2)
How to use XPath expressions for data sources and data binding
140(2)
The aspx file for the XML version of the Product List application
142(2)
The code-behind file for the XML version of the Product List application
144(4)
How to use the GridView control
An introduction to the GridView control
148(4)
How the GridView control works
148(2)
How the GridView and DataGrid controls compare
150(2)
How to customize the GridView control
152(10)
How to define the fields in a GridView control
152(2)
Elements used to create and format fields
154(2)
How to enable sorting
156(2)
How to enable paging
158(2)
How to customize paging
160(2)
A list application that uses a GridView control
162(4)
The Product List application
162(2)
The aspx file
164(2)
How to update GridView data
166(6)
How to work with command fields
166(2)
How to use events raised by the GridView control
168(2)
How to insert a row in a GridView control
170(2)
A maintenance application that uses a GridView control
172(8)
The Category Maintenance application
172(2)
The aspx file
174(4)
The code-behind file
178(2)
How to work with template fields
180(8)
How to create template fields
180(2)
The template version of the Category Maintenance application
182(1)
The aspx code for the template version
182(6)
How to use the DetailsView and FormView controls
How to use the DetailsView control
188(10)
An introduction to the DetailsView control
188(2)
Attributes and child elements for the DetailsView control
190(2)
How to add fields to a DetailsView control
192(2)
How to enable paging
194(2)
How to create a Master/Details page
196(2)
How to update DetailsView data
198(8)
An introduction to command buttons
198(2)
How to add command buttons
200(2)
How to handle DetailsView events
202(2)
How to fix the optimistic concurrency bug
204(2)
The Product Maintenance application
206(8)
The operation of the application
206(1)
The aspx file
206(6)
The code-behind file
212(2)
How to use the FormView control
214(6)
An introduction to the FormView control
214(2)
How to work with the item template
216(2)
How to work with the edit item and insert item templates
218(2)
A Shopping Cart application that uses a FormView control
220(8)
The operation of the application
220(2)
The aspx file for the Order page
222(1)
The code-behind file for the Order page
222(6)
How to use object data sources
An introduction to object data sources
228(6)
How 3-layer applications work in ASP.NET 2.0
228(2)
How to use the ObjectDataSource control
230(2)
How to configure an ObjectDataSource control
232(2)
A Product List application
234(6)
The aspx file
236(2)
The ProductDB class
238(2)
How to create a data access class
240(8)
How to design a data access class
240(2)
How to create a select method
242(2)
How to create update, delete, and insert methods
244(2)
How to use attributes to mark a data access class
246(2)
A Category Maintenance application
248(8)
The design of the Category Maintenance application
248(1)
The aspx file
248(4)
The code-behind file
252(1)
The CategoryDB class
252(4)
How to use aggregate data types and detect concurrency errors
256(8)
How to create an aggregate data type
256(2)
How to use an aggregate data type
258(2)
How to check for concurrency errors
260(2)
How to use the generies feature to return a typed list
262(2)
A Category Maintenance application that uses an aggregate class
264(8)
The code-behind file
264(1)
The CategoryDB class
264(8)
Section 3 New ASP.NET 2.0 features
How to use site navigation
An introduction to site navigation
272(6)
An introduction to the navigation controls
272(2)
How to create a web.sitemap file
274(2)
The web.sitemap file for the Navigation application
276(2)
How to use the site navigation controls
278(12)
How to use the TreeView control
278(2)
How to create a SiteMapDataSource control
280(2)
How to use the Menu control
282(2)
How to use the SiteMapPath control
284(2)
A master page for the Navigation application
286(4)
How to use the login controls
An introduction to authentication
290(4)
Three types of authentication
290(2)
How forms-based authentication works
292(2)
How to set up authentication and authorization
294(12)
How to start the Web Site Administration Tool
294(2)
How to enable forms-based authentication
296(2)
How to create and manage roles
298(2)
How to create and manage users
300(2)
How to create and manage access rules
302(2)
How to modify the membership and role provider
304(2)
How to use the ASP.NET 2.0 login controls
306(12)
How to use the Login control
306(2)
How to use the LoginStatus and LoginName controls
308(2)
How to use the CreateUserWizard control
310(2)
How to use the PasswordRecovery control
312(2)
How to use the ChangePassword control
314(2)
How to use the LoginView control
316(2)
The Authentication application
318(8)
The pages
318(4)
The directory structure
322(1)
The access rules
322(2)
The web.config files
324(2)
How to use code to work with authentication
326(10)
How to use the Membership class
326(2)
How to use the MembershipUser class
328(2)
How to use the FormsAuthentication class
330(2)
How to use the Roles class
332(4)
How to use profiles
An introduction to profiles
336(6)
Profiles compared with session state
336(2)
An overview of how profiles work
338(2)
How the default profile provider works
340(2)
How to use profiles with authenticated users
342(10)
How to define profile properties
342(2)
How to specify data types
344(2)
How to group profile properties
346(2)
How to specify default values
348(1)
How to specify read-only properties
348(2)
How to use custom types
350(2)
How to use profiles with anonymous users
352(4)
How to enable anonymous identification
352(1)
How to allow anonymous users to access profile properties
352(2)
How to migrate data from anonymous to authenticated users
354(2)
The Cart Profile application
356(10)
The pages
356(4)
The code
360(6)
How to use a custom profile provider
366(12)
How to edit the web.config file so it uses a custom profile provider
366(2)
How to write the class for the provider
368(6)
The stored procedure that's used by the custom profile provider
374(4)
How to use the MultiView and Wizard controls
How to use the MultiView control
378(12)
How the MultiView control works
378(2)
How to add views
380(2)
How to add controls to a view
382(2)
How to navigate between views with commands
384(2)
How to access the data stored in a MultiView control
386(2)
Properties and events of the MultiView and View controls
388(2)
How to use the Wizard control
390(14)
How the Wizard control works
390(2)
How to add or remove steps
392(2)
How to add a Cancel button
394(2)
How to add a completion step
396(2)
Properties and events of the Wizard and WizardStep controls
398(2)
How to use templates and styles with wizards
400(4)
How to use themes
An introduction to themes
404(6)
A page before and after a theme has been applied
404(2)
How themes work
406(2)
How to make an existing theme available to an application
408(1)
How to apply a theme to an application
408(2)
How to create your own themes
410(8)
How to use cascading style sheets
410(2)
How to use skins
412(2)
Another way to store skins
414(2)
How to use images
416(2)
More skills for working with themes
418(8)
How to apply a theme to a page
418(1)
How to apply a skin to a control
418(2)
How to remove a theme from an application
420(1)
How to remove a theme from a page
420(1)
How to remove a theme from a control
420(2)
How to use style sheet themes
422(4)
How to use web parts to build portals
An introduction to the portal framework
426(8)
A portal that uses web parts
426(4)
How user configurations are stored
430(1)
SharePoint and ASP.NET 2.0
430(2)
Types of controls that can be used as web parts
432(2)
How to use web parts
434(18)
How to create a page that uses web parts
434(4)
How to add a user control to a web part zone
438(4)
How to let the user move web parts between zones
442(2)
How to let the user add web parts to a zone
444(2)
How to let the user edit the properties of a web part
446(4)
How to apply formatting to web parts
450(2)
How to write code that works with web parts
452(6)
Classes for working with the web parts
452(2)
How to develop and use a custom WebPart control
454(4)
New ways to work with pages and other new web controls
New features for working with pages
458(6)
How to use URL mapping
458(2)
How to use access keys
460(2)
How to use validation groups
462(2)
Other new web controls
464(14)
How to use the FileUpload control
464(2)
How to use the BulletedList control
466(2)
How to use the HiddenField control
468(2)
How to use the ImageMap control
470(2)
How to use the Substitution control for improved caching
472(6)
Section 4 ASP.NET 2.0 in practice
How to migrate from ASP.NET 1.x to ASP.NET 2.0
An introduction to migration
478(6)
Four options for running ASP.NET 1.x applications
478(2)
How to set the ASP.NET version for a web site
480(2)
Two common compatibility problems
482(2)
How to convert an ASP.NET 1.x application to ASP.NET 2.0
484(8)
How to use the Conversion Wizard
484(2)
Changes made by the Conversion Wizard
486(2)
How to use the conversion report
488(4)
How to configure and deploy ASP.NET 2.0 applications
How to configure an ASP.NET 2.0 application
492(4)
How to use the Web Site Administration Tool
492(2)
How to use the IIS Management Console
494(2)
How to deploy an ASP.NET 2.0 application
496(8)
Three ways to deploy an ASP.NET 2.0 application
496(2)
How to use the Copy Web Site command for Xcopy deployment
498(2)
How to use the Publish Web Site command for precompiled deployment
500(2)
How to use the aspnet_compiler command for precompiled deployment
502(2)
How to create and use a Setup program
504

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program