.NET Web Developer
In this 5-day course, you will learn the fundamentals of building interactive, dynamic web applications using the .NET framework. You'll learn the essentials of the framework using either C# or VB.NET - with examples and exercises provided in both - and get an introduction to the .NET base class library. Then, move on to ASP.NET and learn to put your skills to use building interactive, feature-rich web pages.
What You'll Learn
- Understand the .NET framework
- Run and compile .NET programs
- Understand data types, language constructs, and flow control
- Understand classes and objects, and inheritance
- Leverage controls provided by the framework and how to extend and build custom controls
- Use the ASP.NET syntax and structure
- Understand and use many built-in namespaces and base classes
- Create pages that work with interactive form data
- Work with the intrinsic objects used in ASP.NET for managing HTTP requests and responses and maintaining state
- Use ADO.NET to connect to and modify databases
- Use the XML support in .NET to produce XML data, transform data for web pages, and store XML data in a database
- Debug your ASP.NET pages
Who Needs to Attend
This course is for web development professionals who do not have previous experience with the .NET framework and who will need to develop or support enterprise functionality, including operations on multiple databases or legacy applications, within a short timeframe.
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.
1. Introduction to .NET Programming
- C# VB.NET and .NET
- The .NET Platform
- The .NET Framework
- Documentation and Tools
- The C# and VB.NET Languages
- Hello World
- Your First .NET Program
2. Creating a Simple Windows Application
- Understanding Windows Applications
- Windows vs. Web Applications
- Creating a Windows Form
- Windows Form in VS.NET
- Other Interface Elements (buttons, combo boxes, etc.)
3. Creating a Simple Web Application with Web Forms
- Understanding Web Applications
- Understanding Web Forms
- Web Form Lifecycle
- Creating a Web Form
- Adding Controls
- Responding to Events
4. Introduction to VS.NET
- Integrated Development Environment
- Solutions and Projects
- Source Files
- Form and Code View (codebehind)
- Overview of Build Configurations (covered in detail in ASP/Win)
- .NET Framework Documentation
- VS.NET Documentation
- Tools for Source Code Documentation
- Overview of Debugging
- Setting Break Points
5. Language Fundamentals Part 1: Data Types, Literals, and Constants
- Using Statement
6. Language Fundamentals Part 2: Statements, Expressions, and Subroutines
- If /else
- Logical Operators
- Short Circuit
- Preprocessor Directives
10. Classes and Objects
- Access Modifiers
- Class Methods
- Instantiating Objects
- Static Methods
- Destructor & Finalize
- Passing Parameters
- Overloading Methods
- Virtual Functions
- Overriding Virtual Function
- The Object Class
- Object as Root
- Boxing and Unboxing
- The Array
- Arrays and Foreach
- Rectangular vs. Jagged
- The String Class
- Immutable Strings
- String Builder
- Regular Expressions
- Collections Part I: Hashtables and Enumeration
- Collections Part 2: ArrayLists, Other Collection Types, and Sorting
14. 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
15. Creating a Simple Web Application
- Understanding Web Applications
- Understanding Web Forms and Events
16. 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
- Debugging and Diagnostics
17. Setting Up Course Exercise Solutions
- Create a Blank Solution
18. Introducing ASP.NET
- What is ASP.NET?
- What Software is Needed 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
19. Fundamentals of Web Forms and Controls
- The Architecture of a Page: Pages as Web Forms
- Adding Controls to Your Forms
20. 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
21. Custom User Controls
- What are User Controls?
- The Architecture of a User Control: User Controls as Reusable Components
22. Events in ASP.NET
- What is an Event?
- Page Events
- Web Server Control Events
- Example: Simple Loan Calculator
- Immediate versus Cached Event Submission
23. Refresher: ADO.NET Introduction
- What is ADO.NET?
- An Overview of Relational Database Concepts
- What is an RDBMS?
- The ADO.NET Object Model
- Introducing the Database Used for the Course
- Example: Selecting Records from the Database Using ADO.NET
24. Refresher: ADO.NET DataSets and the Disconnected Model
- What is a DataSet?
- Example: Selecting Records from a Database using a DataSet
- Example: Using a DataSet With Multiple Tables
25. Data Drilldowns with Data Bound Controls
- What is Data Binding?
- What is a Data Drill Down Interface?
- Example: A Sample Data Bound Data Drill Down
26. Web Development Support
- The Request Object
- The Response Object
- The Server Object
- The Uri Class
27. The SmtpMail and MailMessage Classes
28. ASP.NET Applications, the Application Object, and the HttpApplicationState Class
- What is an Application?
- Inspecting the Global.asax File
29. The Session Object and the HttpSessionState Class
- What is a Session?
- How Does ASP.NET Keep Track of Sessions?
- Example: A User Name as a Session Variable
30. 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
31. Working with Validation Controls
- What are Validation Controls?
- Example: RequiredFieldValidator, CompareValidator, and RangeValidator
- The ValidationSummary Control
32. Regular Expression Validation
- Introducing Regular Expressions
- The RegularExpression Validator Control
33. Custom Validators
- The CustomValidator Control
34. Introducing XML
- What is XML?
- XML Logical Structure
- XML Physical Structure
- XML Design Patterns
- Applications of XML (and related technologies)
- Producing XML from Database Data via ADO.NET
- Example: Generate and View XML from a DataSet
35. Performing XSLT with ASP.NET
- XSLT in ASP.NET
- Overview of Deployment in .NET
- VS.NET Build Configurations
- Copying a Web Application
- Creating a Web Setup Project
37. Introducing Components
- Why Are Components Useful?
- Using Assemblies to Package and Deploy Components