Learn your way! Get started

ASP.NET 2.0 Using Visual C# 2005

with experts Andy Baron, Ken Getz, Mary Chipman


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 1/6/2005
Level Beginner
Runtime 9h 34m
Closed captioning N/A
Transcript N/A
eBooks / courseware N/A
Hands-on labs N/A
Sample code Included
Exams N/A
Platform Internet Explorer Only


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

Exploring ASP.NET Using Visual C# 2005 course provides a general overview of the exciting and powerful new features in ASP.NET 2.0. The course introduces many of the new ASP.NET server controls, shows how to incorporate the new membership, profile and personalization features, examines new data caching and data binding features, and more. This course will prepare upgrading ASP.NET developers to be productive with new features as soon as possible.

Meet the experts

Andy Baron is a nationally recognized industry expert specializing in Visual Basic, Visual C#, ASP.NET, ADO.NET, SQL Server, and SQL Server Business Intelligence. He is an experienced consultant, author, and editor for several industry publications and speaker at industry conferences. Andy has also been repeatedly selected as a Microsoft MVP for his contributions to Microsoft's online support.

Ken Getz is a featured instructor for several of our Visual Studio courses. He is a Visual Basic and Visual C# expert and has been recognized multiple times as a Microsoft MVP. Ken is a seasoned instructor, successful consultant, and the author or co-author of several best-selling books. He is a frequent speaker at technical conferences like Tech-Ed, VSLive, and DevConnections and he has written for several of the industry's most-respected publications including Visual Studio Magazine, CoDe Magazine, and MSDN Magazine.

Mary Chipman is a programmer-writer for the Data Access Technologies team at Microsoft. Previously, she was a senior consultant and was repeatedly recognized as a Microsoft MVP. Mary is the co-author of the "Microsoft Access Developer's Guide to SQL Server" (Sams) and has written additional books and articles for technical journals. She has been a frequent speaker at industry conferences and is an experienced trainer and courseware author.

Course outline



Module 1

Productivity Gains (31:50)
  • Introduction (02:11)
  • Making a Data Connection (01:16)
  • New Web Site (01:46)
  • Add a Gridview Ctrl (02:26)
  • Run the Application (02:03)
  • Second Gridview Ctrl (06:54)
  • Enable Paging (00:37)
  • Sorting (00:39)
  • No Hidden Sections (02:02)
  • Editing in Source View (05:24)
  • Deployment (02:11)
  • Config Files (01:55)
  • Web Site Admin Tool (01:48)
  • Summary (00:32)
New Classes and Controls (32:15)
  • Introduction (00:28)
  • Object Data Source (05:08)
  • About Compiling (01:49)
  • Caching (06:12)
  • Membership (07:14)
  • Personalization (05:50)
  • Anon. Profile (00:55)
  • Web Parts (04:01)
  • Summary (00:34)
Designer Features (25:45)
  • Introduction (01:15)
  • Master Page (03:54)
  • Themes and Skins (02:12)
  • Navigation / SiteMaps (02:17)
  • Source Formatting (03:03)
  • Outlining (00:49)
  • Productivity Increases (04:55)
  • Team Productivity (06:37)
  • Summary (00:39)

Module 2

Configuring Membership (22:40)
  • Introduction (00:41)
  • ASP.NET 1.x (00:51)
  • ASP.NET 2.0 (00:54)
  • Membership Mgmt (01:20)
  • Role Management (00:38)
  • How It Fits Together (00:56)
  • Where the Data Goes (01:09)
  • Access Provider (00:46)
  • Prepare SQL Server (00:43)
  • SQL Setup Wizard (01:38)
  • Web Config Tools (00:54)
  • Membership Demo (01:59)
  • Enable Role Support (00:34)
  • Manage Access Roles (07:26)
  • No Cookies (01:24)
  • Summary (00:37)
Membership Controls (22:33)
  • Introduction (00:58)
  • No Code! (00:36)
  • Rich Server Controls (00:28)
  • LoginStatus Control (01:38)
  • Membership Demo (00:43)
  • Smart Tag (01:48)
  • Login.aspx (01:42)
  • LoginView Control (02:08)
  • LoginView Demo (01:34)
  • ChangePassword Ctrl (02:42)
  • PasswordRecovery Ctrl (03:57)
  • Default New User (00:34)
  • CreateNewAccount.aspx (02:52)
  • Summary (00:45)
Programming Membership (29:19)
  • Introduction (01:03)
  • Membership API (02:29)
  • Membership Demo (01:23)
  • Finding Users (03:20)
  • New User API (02:12)
  • Roles API (00:56)
  • Roles API Demo (03:29)
  • IsUserInRole (00:39)
  • DeleteRole Method (00:49)
  • Custom Provider (01:08)
  • Sample XML Provider (02:19)
  • Membership Element (00:50)
  • XML Provider (03:58)
  • XMLProvider Class (02:34)
  • XMLProvider Demo (01:20)
  • Summary (00:45)

Module 3

Posting Techniques (31:40)
  • Introduction (01:54)
  • Standard Postback (01:21)
  • XMLHTTP Callbacks (02:25)
  • View the Code (01:11)
  • fillCustomerAddress (01:36)
  • Interface on Server (08:28)
  • Cross-Page Postback (04:06)
  • PostBackURL Property (01:12)
  • CustomerSalesByCrossPage (00:26)
  • Previous Page Property (02:31)
  • PreviousPage.FindControl (04:19)
  • PreviousPageType (00:47)
  • Summary (01:18)
Validation Controls (13:37)
  • Introduction (01:39)
  • Validation Ctrl Problems (00:24)
  • Setting Focus on a Ctrl (00:45)
  • Focus--Ctrl Validation (00:36)
  • Validation Groups (04:21)
  • Set a Default Button (01:09)
  • Validation Ctrl Solutions (00:23)
  • Validation Group Property (00:52)
  • Default Control Focus (00:50)
  • Set Focus on Error (01:25)
  • Summary (01:07)
Binding to Databases (22:07)
  • Introduction (00:25)
  • Data Source Controls (02:28)
  • Data Source Ctrl Types (00:55)
  • Data Bound Controls (00:42)
  • SqlDataSource Control (01:43)
  • Add SqlDataSource Ctrl (04:04)
  • Viewing the Source (01:10)
  • Add a Bound Data Ctrl (05:18)
  • Add a Lookup (04:02)
  • Web.config File (00:57)
  • Summary (00:17)
Bind to Files and Objects (10:09)
  • Introduction (00:23)
  • XMLDataSource Ctrl (01:55)
  • DataList Control (01:48)
  • ObjectDataSource Ctrl (02:33)
  • Generics (03:11)
  • Summary (00:16)

Module 4

Personalization Features (17:08)
  • Introduction (01:22)
  • Membership v Personal. (00:51)
  • Strongly Typed Access (01:27)
  • On-Demand Lookup (01:01)
  • Use Personalization Data (02:03)
  • Type-Safe Programming (00:32)
  • Configure Personalization (02:44)
  • Profile Demo (01:50)
  • Grouping Items (01:05)
  • Multiple Providers (00:29)
  • Storing Pers. Data (00:57)
  • Prepare SQL Server (00:53)
  • Objects as Properties (01:02)
  • Summary (00:46)
Set Up Personalization (27:34)
  • Introduction (00:58)
  • Profile Info (02:08)
  • Membership / Personal. (01:17)
  • Anonymous Identification (02:01)
  • Migrating Anon. Users (02:41)
  • Multiple Users (06:27)
  • Add a Custom Provider (06:49)
  • Provider Tips (03:09)
  • Pers. vs. Session State (00:51)
  • Personalization and UI (00:24)
  • Summary (00:44)
Web Parts in Action (34:37)
  • Introduction (01:18)
  • Personalization (01:38)
  • Web Parts Page Menu (02:12)
  • Design Page Layout (04:04)
  • Add Web Parts (04:22)
  • Connecting Web Parts (06:08)
  • Editing Web Parts (06:40)
  • Custom Verbs (00:57)
  • Display Mode Objects (02:30)
  • Show Catalog (00:32)
  • Reset Shared/My Data (00:24)
  • Web Part Info in DB (00:52)
  • Web Part Design View (02:05)
  • Summary (00:48)
Programming Web Parts (34:58)
  • Introduction (00:50)
  • Web Part Server Ctrls (04:41)
  • Digging In-Web Parts Code (05:06)
  • Custom Web Part (09:02)
  • Custom Verbs (01:59)
  • IWebEditable Interface (02:38)
  • ConnectionConsumer (00:56)
  • Editor Part (03:22)
  • Checking Modes (05:27)
  • Summary (00:52)

Module 5

GridView Control (30:14)
  • Introduction (00:59)
  • Introducing GridView (01:15)
  • Getting Started (02:21)
  • Modifying Styles (00:55)
  • Edit the Columns (01:14)
  • Add New Columns (00:52)
  • Filtering the Rows (03:14)
  • Editing Rows (02:18)
  • Edit Template Field (01:19)
  • Add DropDownList to Grid (01:37)
  • Add a HyperLink Field (02:23)
  • Modify GridView Columns (02:32)
  • Making HyperLink Editable (02:19)
  • Configure DataSource (01:46)
  • Add DetailsView to Grid (01:42)
  • Rebind the Grid to Data (02:23)
  • Summary (00:57)
GridView Events (29:57)
  • Introduction (00:56)
  • Events Galore (01:13)
  • Using Events (01:05)
  • Delete Selected Customer (01:02)
  • Status Label Control (00:47)
  • Add a Delete Link (04:10)
  • RowEditing Event (02:28)
  • RowDeleted/DataBound (02:46)
  • Issues for DetailsView (00:59)
  • Disable Grid Editing (01:20)
  • Hide Controls (01:39)
  • Add New Customer (02:13)
  • Select Correct Country (01:30)
  • ItemInserted Event (01:55)
  • Add Country to List (01:28)
  • GetIndexByCustomerID (00:58)
  • GrideView_DataBound (01:41)
  • What To Take Away (00:49)
  • Summary (00:48)
Themes and Skins (35:18)
  • Introduction (00:22)
  • Intro to Themes / Skins (04:01)
  • Themes at Runtime (00:29)
  • New Themes / Skins (02:48)
  • Format the Skins (02:33)
  • Applying Format to Skin (02:19)
  • Remove Formatting from Grid (00:19)
  • Format a Second Skin (02:48)
  • Apply Styles at Runtime (03:29)
  • Theme / Skins Demo (01:45)
  • Enable Theming Property (00:18)
  • SkinID Property (03:47)
  • Use SkinID to Override Theme (02:40)
  • Apply Theme to Entire Site (03:11)
  • Use CSS Pages (02:29)
  • Page_PreInit Event (01:41)
  • Summary (00:10)
Master Pages (19:12)
  • Introduction (00:23)
  • Intro to Master Pages (00:53)
  • Designing Master Pages (00:49)
  • Master Pages at Runtime (00:30)
  • Creating a Master Page (02:40)
  • Create Content Page (04:13)
  • Browse the Page (00:51)
  • Convert Existing Content (02:32)
  • Convert all .aspx Pages (04:13)
  • Web.config (01:51)
  • Summary (00:12)

Module 6

Web Site Navigation (25:12)
  • Introduction (00:23)
  • Navigation Controls (01:34)
  • Master Page (02:38)
  • SiteMapDataSource Ctrl (00:36)
  • Menu Control (04:22)
  • SiteMapPath (03:57)
  • TreeView Control (04:43)
  • Create a SiteMap File (05:14)
  • Default Master (01:24)
  • Summary (00:17)
Cache Dependencies (43:25)
  • Introduction (00:51)
  • Caching Benefits (01:25)
  • Output Caching (02:06)
  • Programmatic Expiration (02:14)
  • New Caching Features (04:03)
  • CacheDependency Class (01:15)
  • AggregateCacheDependency (00:28)
  • SqlCacheDependency (04:07)
  • SQLDS Cache Support (00:57)
  • Cache by Table (15:08)
  • Declarative.aspx (07:52)
  • SqlDataSourceControl.aspx (02:02)
  • Summary (00:51)
Cache Results Sets (22:41)
  • Introduction (00:44)
  • Filtering Changes (02:19)
  • Create a Trigger (03:12)
  • Run in Query Analyzer (02:06)
  • Filtered.aspx Demo (02:27)
  • Filtered_2005 Demo (04:20)
  • SetCacheability (05:52)
  • Summary (01:37)
Cache Profiles (11:53)
  • Introduction (02:07)
  • OutputCacheSettings (02:06)
  • OutputCache (01:26)
  • Post-Cache Substitution (01:45)
  • Substitution Control (00:37)
  • Substitution.aspx (02:23)
  • Summary (01:26)