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

ASP.NET Using Visual C# 2010, Part 7 of 9

LearnNow Online
Updated Oct 25, 2018

Course description

In this course, you will learn how to use features of Visual Studio 2010 and Visual 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.


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 1

Tracing (24:17)

  • Introduction (01:11)
  • Demo: Page-Level Tracing (03:00)
  • Trace.Write and Trace.Warn (01:35)
  • Demo: Using Write and Warn (02:09)
  • Interpret Trace Output (01:53)
  • Page Tracing with TraceContext (01:20)
  • Demo: TraceContext (01:22)
  • Application-Level Tracing (00:54)
  • Configuring Web.config (00:59)
  • Attributes and Options (02:43)
  • Forwarding Trace Output (01:14)
  • Demo: Forwarding Trace Output (01:57)
  • Using the Trace Viewer Tool (01:10)
  • Demo: Trace Viewer Tool (02:08)
  • Summary (00:34)

Listeners (29:53)

  • 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:14)
  • Demo: Listeners and Switches (09:34)
  • WebPageTraceListener (01:37)
  • Demo: WebPageTraceListener (00:27)
  • Demo: Diagnostics Tracing (05:51)
  • Summary (00:26)

Health Monitoring (11:55)

  • Introduction (01:08)
  • TraceFinished Event (00:47)
  • TraceContextRecord (00:55)
  • Demo: Create Event Handler (02:01)
  • Send Web Event Data (01:19)
  • Demo: Setup aspnetdb Database (01:21)
  • Demo: SqlWebEventProvider (01:03)
  • Providers and Rules (00:36)
  • Demo: View webconfig (00:54)
  • Demo: View Event Data (01:21)
  • Summary (00:27)
Module 2

User Controls (20:06)

  • Introduction (01:12)
  • User-Defined Controls (01:26)
  • Demo: Creating a User Control (04:39)
  • A More Complex User Control (01:00)
  • Providing States Data (00:17)
  • User Control Properties (00:15)
  • User Control Events (00:14)
  • Demo: Investigate the Control (00:30)
  • Demo: Providing States Data (02:13)
  • Demo: User Control Properties (01:47)
  • Demo: User Control Events (04:15)
  • Demo: Testing the User Control (01:04)
  • Summary (01:08)

Custom Controls (54:07)

  • Introduction (01:11)
  • Demo: Create a Custom Control (08:00)
  • StateDropDownList Control (00:37)
  • Rendering the Control (00:52)
  • HtmlTextWriter Class (00:35)
  • Demo: Creating the Control (05:36)
  • Adding Control Attributes (01:42)
  • Demo: Adding Attributes (04:01)
  • Rendering Controls Contents (04:01)
  • Control Properties (00:41)
  • Demo: Control Properties (02:15)
  • Managing Property Behavior (01:11)
  • Demo: Property Behavior (03:10)
  • Working with Postback Data (01:25)
  • IPostBackDataHandler Interface (00:33)
  • Demo: IPostBackDataHandler (01:55)
  • PostBack Sequence (00:51)
  • Loading Postback Data (00:36)
  • Raising Postback Events (01:36)
  • Demo: Postback Events (03:45)
  • Reviewing the Postback Events (01:04)
  • Specifying a Toolbox Icon (01:48)
  • Demo: Toolbox Icon (02:17)
  • Finishing Touches (01:20)
  • Demo: Ease-of-Use Features (02:08)
  • Summary (00:44)
Module 3

Caching (34:14)

  • Introduction (01:13)
  • Improvements over Classic ASP (01:01)
  • Types of Caching in ASP.NET (02:12)
  • Page Output Caching (01:04)
  • Caching Static Pages (00:34)
  • Demo: Caching Static Pages (06:17)
  • Caching Multiple Page Versions (02:13)
  • Demo: Multiple Page Versions (04:16)
  • Varying by Form Parameters (00:22)
  • Demo: Form Parameters (01:49)
  • Varying by HTTP Header (00:52)
  • Demo: Varying by HTTP Header (03:40)
  • Varying by Browser (01:10)
  • Demo: Varying by Browser (02:12)
  • Varying by a Custom String (00:54)
  • Demo: Varying by String (03:50)
  • Summary (00:27)

Page Fragments (26:25)

  • Introduction (01:10)
  • Demo: Caching Page Fragments (04:41)
  • Using VaryByControl (01:33)
  • Demo: Using VaryByControl (01:05)
  • Multiple Versions of a Control (01:00)
  • Demo:Multiple Control Versions (02:32)
  • Post-Cache Substitution (01:30)
  • Call a Method to Insert HTML (00:59)
  • Demo: WriteSubstitution Method (03:57)
  • Caching Configuration (01:28)
  • Demo: Caching Configuration (05:57)
  • Summary (00:26)
;