Fundamentals of ASP.NET using VB.NET and C#

$1,200.00


  • Virtual Classroom

  • Onsite

← Continue Searching

Duration: 3 Days

In this introductory/intermediate-level class, you will learn the basics of building and working with ASP.NET applications using Visual Studio.NET. You will get an introduction to ASP.NET for web development, and you'll cover Visual Studio 2008, enabling you to get up and running quickly. Drill down into the details of web application architecture, leveraging user controls, and managing session and application state. You also will learn to work with ADO.NET and the data bound controls in the framework. The class includes examples and exercises in both C# and VB.NET.

What You Will Learn

 

  • ASP.NET and how this powerful technology facilitates creating robust web applications using sound object-oriented techniques
  • Create powerful user interfaces using web forms
  • Leverage controls provided by the framework and learn how to extend and build custom controls
  • Learn to work with the validation controls in ASP.NET
  • Work with the intrinsic objects used in ASP.NET for managing HTTP requests and responses and maintaining state
  • Leverage ADO.NET to bind data to the controls in your forms
  • Use the XML support in .NET to produce XML data, transform data for web pages, and store XML data in a database
  • Work with VS.NET to debug, deploy, secure, and fine-tune applications

Audience

 

Prerequistes

 

Prior programming experience in at least one object-oriented language such as a .NET language (e.g., C#, VB.NET), Java, C++, or SmallTalk, or significant programming experience in a modern language such as MS Visual Basic

Course Outline

 

1. Introduction to .NET Programming

  • What is the .NET Platform?
  • What is the .NET Framework?
  • The .NET Languages
  • Example: Welcome to .NET Program
  • Example: Welcome Using Alert

2. Creating a Simple Web Site

  • Understanding Web Sites and Applications
  • Compile Models for Web Sites in VS.NET 2005
  • The ASP.NET Development Web Server
  • Web Forms and Events

3. Refresher: Introduction to Visual Studio .NET

  • What is Visual Studio .NET and is it required to write .NET and ASP.NET applications?
  • The Integrated Development Environment
  • Working with Solutions and Projects
  • Documentation and Help
  • Debugging and Diagnostics

4. Setting Up Course Exercise Solutions

  • Create a Blank Solution

5. Introducing ASP.NET

  • What is ASP.NET?
  • What software do I need in order to run ASP.NET applications?
  • The Page Class
  • Structure of an ASP.NET Web Application
  • Example: Outputting the Current Time
  • Example: Processing Form Submissions in ASP.NET

6. Fundamentals of Web Forms and Controls

  • The Architecture of a Page: Pages as Web Forms
  • Adding Controls to Your Forms

7. Introduction to Server Controls

  • What are Server Controls
  • Page Control Hierarchy
  • ASP Web Controls vs. HTML Controls
  • Using the Visual Studio .NET Web Form Editor
  • Example: Calculating BirthDays

8. Custom User Controls

  • What are User Controls?
  • The Architecture of a User Control: User Controls as Reusable Components

9. Events in ASP.NET

  • What is an Event?
  • Page Events
  • Web Server Control Events
  • Example: Simple Loan Calculator
  • Immediate vs. Cached Event Submission

10. Refresher: ADO.NET Introduction

  • What is ADO.NET?
  • An Overview of Relational Database Concepts
  • What is an RDBMS?
  • The ADO.NET Object Model
  • Getting the Data Out
  • The IDataReader Interface
  • Introducing the Database Used for the Course
  • Example: Selecting Records Using a DataReader

11. Refresher: ADO.NET DataSets and the Disconnected Model

  • What is a DataSet?
  • Accessing Data through a DataSet's Tables and Rows
  • Example: Selecting Records from a Database using a DataSet

12. Introduction to Data Binding in Web Forms

  • What is Data Binding?
  • What is a Data Source?
  • DataSource Code and DataSource Controls
  • Data Binding in Code
  • Data Binding with DataSource Controls

13. Data Drilldowns with Data Bound Controls

  • What is a Data Drill Down Interface?
  • Example: A Sample Data Bound Data Drill Down
  • Example: Details and More

14. Web Development Support

  • The Request Object
  • The Response Object
  • The Server Object
  • The Uri Class
  • The SmtpClient and MailMessage Classes

15. ASP.NET Applications, the Application Object, and the HttpApplicationState Class

  • What is an Application?
  • Inspecting the Global.asax File

16. The Session Object and the HttpSessionState Class

  • What is a Session?
  • How ASP.NET Keeps Track of Sessions
  • Example: A User Name as a Session Variable

17. Application Configuration with Web.config

  • ASP.NET Configuration is XML
  • ASP.NET Configuration is Applied in a Cascading Way
  • Inspecting Configuration Files
  • Example: Using Web.config to Create Custom Error Pages

18. Working with Validation Controls

  • What are Validation Controls?
  • Example: RequiredFieldValidator, CompareValidator, and RangeValidator
  • The ValidationSummary Control

19. Regular Expression Validation

  • Introducing Regular Expressions
  • The RegularExpression Validator Control

20. Custom Validators

  • The CustomValidator Control

21. Master Pages

  • What are Master Pages?
  • Example: A Basic Master Page
  • Example: Referencing Properties and Controls on the Master Page

22. Introducing XML

  • What is XML?
  • XML Logical Structure
  • XML Physical Structure
  • XML Design Patterns
  • Applications of XML (and related technologies)

23. Producing XML from Database Data via ADO.NET

  • Example: Generate and View XML from a DataSet

24. Performing XSLT with ASP.NET

  • XSLT in ASP.NET

25. Deployment

  • Overview of Deployment in .NET
  • VS.NET Build Configurations
  • Suggested Build Configuration Model
  • Copying a Web Application
  • Pre-compiling and Copying a Web Site
  • Creating a Web Setup Project

26. Advanced: Deployment Settings Using Conditional Compilation with Compile-Time Constants

  • Compile-Time Compilation Constants
  • Example: Using Build Configuration Settings to Show and Hide Controls

27. Advanced: Introducing Components

  • Why Are Components Useful?
  • Using Assemblies to Package and Deploy Components

Course Labs