ASP.NET Using Visual Basic 2010, Part 7 of 9
Interactive

ASP.NET Using Visual Basic 2010, Part 7 of 9

Course description

In this course, you will learn how to use features of Visual Studio 2010 and Visual Basic/C# 2010 to build ASP.NET Web pages. You will gain an understanding of the architecture behind ASP.NET and how to use the various ASP.NET server controls. You will learn to create consistent web sites using Master Pages, add membership features and configure-deploy ASP.NET applications, to authenticate users and limit their access to resources, direct users using Site Navigation tools, debug .NET, and to display/edit data using ASP.NET and ADO.NET. In addition, you will learn about ASP.NET features, such as support for LINQ (Language Integrated Query), CSS tools, and will become familiar with the tracing features in Visual Studio that help you quickly troubleshoot issues. You will also learn how to work with ASP.NET Profile features, ASP.NET Web Parts, and how to take advantage of creating your own user-defined control. As you progress through the course you will learn about optimizing your sites, the ListView control, and so much more.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

This course assumes that students have already been introduced to Visual Studio 2008 or 2010 and Visual Basic, and have a basic understanding of the .NET Framework. Some prior experience with Web development will also be helpful.


Meet the experts

Ken Getz

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.

Don Kiely

Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.

Video Runtime

200 Minutes

Time to complete

260 Minutes

Course Outline

Module 17

Tracing (24:15)

  • Introduction (01:11)
  • Demo: Page-Level Tracing (03:00)
  • Trace.Write and Trace.Warn (01:35)
  • Demo: Using Write and Warn (01:43)
  • Interpret Trace Output (01:53)
  • Page Tracing with TraceContext (01:20)
  • Demo: TraceContext (01:45)
  • Application-Level Tracing (00:56)
  • Configuring Web.config (00:58)
  • Attributes and Options (02:43)
  • Forwarding Trace Output (01:14)
  • Demo: Forwarding Trace Output (01:58)
  • Using the Trace Viewer Tool (01:11)
  • Demo: Trace Viewer Tool (02:06)
  • Summary (00:34)

Listeners (29:28)

  • Introduction (01:01)
  • Using TraceListeners (01:06)
  • TraceListener Methods (01:15)
  • Pre-Defined TraceListeners (03:15)
  • Trace Switches (01:58)
  • TraceSwitch Class (00:56)
  • Configuring Switches (01:07)
  • Demo: Switches in Web.config (01:33)
  • Demo: Listeners and Switches (09:10)
  • WebPageTraceListener (01:37)
  • Demo: WebPageTraceListener (00:36)
  • Demo: Diagnostics Tracing (05:22)
  • Summary (00:26)

Health Monitoring (12:01)

  • Introduction (01:08)
  • TraceFinished Event (00:47)
  • TraceContextRecord (00:55)
  • Demo: Create Event Handler (01:58)
  • Send Web Event Data (01:18)
  • Demo: Setup aspnetdb Database (01:21)
  • Demo: SqlWebEventProvider (01:03)
  • Providers and Rules (00:14)
  • Event Mappings (00:22)
  • Demo: View webconfig (01:02)
  • Demo: View Event Data (01:21)
  • Summary (00:27)
Module 18

User Controls (19:22)

  • Introduction (01:12)
  • User-Defined Controls (01:26)
  • Demo: Creating a User Control (04:37)
  • A More Complex User Control (01:01)
  • Providing States Data (00:15)
  • User Control Properties (00:16)
  • User Control Events (00:14)
  • Demo: Investigate the Control (00:59)
  • Demo: Providing States Data (02:19)
  • Demo: User Control Properties (01:31)
  • Demo: User Control Events (03:35)
  • Demo: Testing the User Control (00:42)
  • Summary (01:08)

Custom Controls (55:13)

  • Introduction (01:11)
  • Demo: Create a Custom Control (06:40)
  • StateDropDownList Control (00:39)
  • Rendering the Control (00:49)
  • HtmlTextWriter Class (00:34)
  • Demo: Creating the Control (04:39)
  • Adding Control Attributes (01:41)
  • Demo: Adding Attributes (04:42)
  • Rendering Controls Contents (04:51)
  • Control Properties (00:42)
  • Demo: Control Properties (02:40)
  • Managing Property Behavior (01:12)
  • Demo: Property Behavior (04:19)
  • Working with Postback Data (01:25)
  • IPostBackDataHandler Interface (00:33)
  • Demo: IPostBackDataHandler (01:30)
  • PostBack Sequence (00:53)
  • Loading Postback Data (00:36)
  • Raising Postback Events (01:35)
  • Demo: Postback Events (04:54)
  • Reviewing the Postback Events (01:06)
  • Specifying a Toolbox Icon (01:47)
  • Demo: Toolbox Icon (02:10)
  • Finishing Touches (01:20)
  • Demo: Ease-of-Use Features (01:49)
  • Summary (00:44)
Module 19

Caching (32:43)

  • Introduction (01:13)
  • Improvements over Classic ASP (01:01)
  • Types of Caching in ASP.NET (02:13)
  • Page Output Caching (01:04)
  • Caching Static Pages (00:33)
  • Demo: Caching Static Pages (06:01)
  • Caching Multiple Page Versions (02:13)
  • Demo: Multiple Page Versions (04:36)
  • Varying by Form Parameters (00:23)
  • Demo: Form Parameters (01:53)
  • Varying by HTTP Header (00:53)
  • Demo: Varying by HTTP Header (03:24)
  • Varying by Browser (01:10)
  • Demo: Varying by Browser (01:26)
  • Varying by a Custom String (00:55)
  • Demo: Varying by String (03:10)
  • Summary (00:27)

Page Fragments (26:57)

  • Introduction (01:10)
  • Demo: Caching Page Fragments (04:49)
  • Using VaryByControl (01:25)
  • Demo: Using VaryByControl (01:12)
  • Multiple Versions of a Control (01:01)
  • Demo:Multiple Control Versions (02:52)
  • Post-Cache Substitution (01:30)
  • Call a Method to Insert HTML (01:00)
  • Demo: WriteSubstitution Method (04:04)
  • Caching Configuration (01:26)
  • Demo: Caching Configuration (05:57)
  • Summary (00:26)
;