This five-day course provides a comprehensive and practical hands-on introduction to developing web applications using ASP.NET 4.0 and Visual Basic. Upon completion of this course, participants with be familiar with ASP.NET application architecture and possess the knowledge needed to develop and optimize their own applications.

Class curriculum includes a review of web application fundamentals, an introduction to ASP.NET MVC and exploration of ASP.NET AJAX for building rich client applications. Web forms will also be discussed as well as request/response HTTP programming. The final section of the course introduces rich client-side development with ASP.NET AJAX and use of the ASP.NET MVC framework.

Course Duration: 5 Days
Prerequisites:

A working knowledge of Visual Basic and the .NET framework is required. Knowledge of JavaScript is also recommended.

Course Outline:
  • Introduction to ASP.NET
    • Web Application Fundamentals
    • Benefits of ASP.NET
    • An Echo Program
    • ASP.NET Features
    • Compiled Code
    • Server Controls
    • Browser Independence
    • Separation of Code and Content
    • State Management
  • Web Forms Architecture
    • Web Forms Architecture
    • HelloCodebehind.aspx
    • HelloCodebehind.aspx.cs
    • Page Class
    • Code-Behind Inheritance Model
    • Web Forms Page Life Cycle
    • View State
    • Web Forms Event Model
    • Page Processing
    • Page Events
    • Page Properties
    • Page Directive
    • Tracing
  • ASP.NET and HTTP
    • Classical Web Programming
    • Active Server Pages Object Model
    • Request and Response Objects
    • Request/Response in ASP.NET
    • HttpRequest Class
    • Properties of HttpRequest
    • Using HttpRequest Class
    • HTTP Collections
    • HttpResponse Class
    • Redirect
    • HttpUtility
    • Echo.aspx
    • EchoBack.aspx
    • GET and POST Compared
    • QueryString and Forms Collections
  • Web Applications Using Visual Studio
    • Using Visual Studio
    • Visual Web Developer
    • Starter Web Site
    • ASP.NET Empty Web Site
    • Adding a Web Form
    • Using Components in ASP .NET
    • Compilation Error
    • Shadow Copying
    • Temporary Copy of the Component
    • ASP.NET Applications
    • Global.asax
    • Web Application Life Cycle
    • Code in Global.asax
    • Log Class
    • Adding Global.asax File
    • ListBox
    • Data Binding
    • Items Collection
    • XHTML
    • XHTML in Visual Studio
    • Absolute Positioning
  • State Management and Web Applications
    • Session and Application State
    • Session Object
    • Page_Load
    • Session Variable Issues
    • Session State and Cookies
    • Session State Timeout
    • Session State Store
    • Application State
    • Implementing Application State
    • Global.asax
    • Users.aspx.cs
    • Multithreading Issues
    • Bouncing the Web Server
    • Cookies
    • Cookies and ASP.NET
    • HttpCookie Properties
    • Acme Travel Agency Case Study
    • State Management Techniques
  • Server Controls
    • Server Controls in ASP.NET
    • HTML Server Controls
    • Using HTML Server Controls
    • HTML vs. Web Forms Server Controls
    • Code for Login
    • HTML Controls in Visual Studio
    • Using HTML Controls
    • Web Controls
    • Validation Controls
    • Required Field Validation
    • Regular Expression Validation
    • Rich Controls
    • Copying a Web Site
    • User Controls
    • Using a User Control
    • Copyright.ascx
    • Copyright.ascx.vb
  • Caching in ASP.NET
    • What Is Caching?
    • Why Cache?
    • Data to be Cached – Time Frame
    • ASP vs. ASP.NET Response Model
    • Caching in ASP.NET
    • Three Types of Caching in ASP.NET
    • Output Caching
    • @ OutputCache Directive
    • @ OutputCache – Attributes in Detail
    • VaryByParam in Detail
    • HttpCachePolicy Class
    • Page Fragment Caching
    • Common Mistakes in Using Fragment Caching
    • Data Caching or Application Caching
    • Add an Item to the Cache Object
    • Insert and Add Methods
    • Expiration
    • Problems in Caching
  • ASP.NET Configuration and Security
    • One-Minute Introduction to XML
    • ASP.NET Configuration Overview
    • Multi-Level Configuration
    • Configuration Hierarchy
    • Web.Config File Structure
    • Web.Config Sections
    • Application Settings
    • ASP.NET Security Overview
    • Role-Based Security and CAS
    • Types and Steps
    • Steps in Enabling Role-Based Security
    • Three Ways to Authenticate
    • Forms Authentication – Default.aspx
    • Forms Authentication – Web.Config
    • Features of Forms Authentication
    • Authentication Cookie
    • Forms Authentication Classes
    • Customizing Forms Authentication
    • Authentication Source
    • Forms Authentication – Analysis
    • Windows Authentication
    • Windows Authentication – Analysis
    • Passport Authentication
    • Passport Authentication – Analysis
    • Authorization
  • Debugging, Diagnostics and Error Handling
    • ASP.NET Diagnostics
    • Debugging Using Visual Studio
    • Debugging Calculator
    • Application-Level Tracing
    • Tracing Calculator
    • Using the Page Cache
    • Preparing to Debug
    • Trace Messages
    • Tracing the Calculator Page
    • Conditional Tracing
    • Trace Category
    • Trace Warning
    • Exceptions in Trace
    • Errors in ASP.NET
    • Uncaught Exception
    • Custom Error Pages
  • More Server Controls
    • ASP.NET Control Improvements
    • New Controls in ASP.NET
    • Master Pages
    • Creating Content Pages
    • TreeView Control
    • Master Page Application
  • ADO.NET and LINQ
    • ADO.NET
    • ADO.NET Architecture
    • .NET Data Providers
    • ADO.NET Interfaces
    • .NET Namespaces
    • Connected Data Access
    • AcmePub Database
    • Creating a Connection
    • Using Server Explorer
    • Performing Queries
    • ADO.NET with ASP.NET
    • Web Client Isolation
    • Web Client Database Code
    • Using Commands
    • Creating a Command Object
    • Using a Data Reader
    • Use of Session State
    • Generic Collections
    • Executing Commands
    • Parameterized Queries
    • DataSet
    • DataSet Architecture
    • Why DataSet?
    • DataSet Components
    • DataAdapter
    • Data Access Class
    • Retrieving the Data
    • Filling a DataSet
    • Accessing a DataSet
    • Using a Standalone DataTable
    • Adding a New Row
    • Searching and Updating a Row
    • Deleting a Row
    • Row Versions
    • Row State
    • Iterating Through DataRows
    • Command Builders
    • Updating a Database
    • Language Integrated Query (LINQ)
    • Bridging Objects and Data
    • Object Relational Designer
    • IntelliSense
    • Basic LINQ Query Operators
    • Obtaining a Data Source
    • Filtering
    • Ordering
    • Aggregation
    • Obtaining Lists and Arrays
    • Deferred Execution
    • Modifying a Data Source
    • Performing Inserts via LINQ to SQL
    • Performing Deletes via LINQ to SQL
    • Performing Updates via LINQ to SQL
  • Data Access in ASP.NET 4.0
    • Data Access in ASP.NET
    • SQL Generation Options
    • Enable Edit and Delete
    • Editing Records
    • GridView Control
    • DetailsView Control
    • Storing the Connection String
    • Protecting the Configuration String
    • FormView Control
    • Master/Detail Web Pages
    • Data Binding
    • Template Editing
    • Using XML Data
    • Multiple-Tier Data Access
    • Object Data Source
    • Data Access in ASP.NET 4.0
    • Using the Entity Data Model
    • EntytDataSource Control
    • ListView Edit
    • DataPager Control
    • LinqDataSource Control
    • Configuring LinqDataSource
    • QueryExtender Control
  • Personalization and Security
    • Themes
    • Control Skins
    • Applying Themes
    • Security in ASP.NET 4.0
    • ASP.NET Membership
    • Login Controls
    • Web Site Administration Tool
    • Access Rules
    • Profile Properties
    • Using ASP.NET Profile Properties
  • ASP.NET AJAX
    • Desktop Applications
    • Web Applications
    • Plug-Ins
    • Client-Side Scripting
    • Script Code
    • JavaScript in ASP.NET
    • Dynamic Pages
    • Efficient Page Redraws
    • AJAX
    • Google Maps
    • ASP.NET AJAX
    • Partial-Page Rendering
    • UpdatePanel Control
    • AJAX Extensions Controls
    • AJAX Client Library
    • Using the Client Library
    • ScriptManager Control
    • Client Library Namespaces
    • Sys.Debug Tracing
    • Document Object Model
    • JavaScript for Simple Calculator
    • Using the Client Library
    • AJAX Control Toolkit
    • ACT Controls in Visual Studio
    • AjaxControlToolkit.dll
    • Registering AjaxControlToolkit.dll
    • Extender Controls
    • NumericUpDownExtender Control
  • ASP.NET MVC
    • Model-View-Controller (MVC)
    • What is ASP.NET MVC?
    • Advantages of ASP.NET MVC
    • Advantages of Web Forms
    • Visual Studio ASP.NET MVC Project
    • Starter Application
    • Simple App with Controller Only
    • Action Methods and Routing
    • Action Method Return Type
    • Rendering a View
    • Creating a View in Visual Studio
    • The View Web Page
    • Passing Data from Controller to View
    • Embedded Scripts
    • Using a Model
    • Controller Using the Model
    • View Using the Model
    • Strongly Typed View
    • Strongly Typed View in Visual Studio
    • Using Forms
    • HTML Helper Functions
    • Displaying Sign-In Form
    • Handling Form Submission
    • Model Binding
    • Greet View o
    • Input Validation
    • Nullable Type
    • Checking Model Validity
  • Appendix A – Learning Resources
    • HTTP Pipeline
    • Web Applications
    • ASP.NET Request Processing
    • ASP.NET Architecture with IIS 5.0
    • Pipeline Processing
    • Pipeline Architecture
    • Customizing the HTTP Pipeline
    • Customizing Applications
    • Customizing a Welcome Application
    • Logger Class
    • Custom Handlers
    • IHttpHandler Interface
    • Custom Handler Configuration
    • Entry in Configuration File
    • Extension Mapping in IIS
    • .ashx Files
    • string.ashx
    • Custom Modules
    • Using DemoModule