Course 2311 — Three days — Instructor-led
Sign Up Now
Introduction
This three-day, instructor-led course provides students with the knowledge and skills that are needed to successfully design and implement Web applications using Microsoft ASP.NET. This course assumes student exposure to the new features of ASP.NET that can be leveraged for Web applications matching corporate requirements.
Audience
This course is intended for existing ASP.NET developers who are writing solutions using Microsoft ASP.NET. This course assumes that the students are familiar with Hypertext Markup Language (HTML), client-side and server-side scripting, ASP.NET, Microsoft ActiveX Data Objects for .NET (ADO.NET), and a Microsoft .NET-based programming language.
The Web developer is responsible for the design and implementation of a Web application and/or a Web solution. Typically, these individuals perform the following functions:
&bull Assist with the creation of functional specifications.
&bull Design and develop user interfaces (UIs).
&bull Create ASP.NET Pages.
&bull Write Web Forms applications.
&bull Create and test prototypes.
At Course Completion
After completing this course, students will be able to:
After completing this course, students will be able to:
&bull Create a Web application architecture that is maintainable and extensible.
&bull Describe the elements of a well-designed portal application using ASP.NET.
&bull Implement best practices for creating data access logic components.
&bull Create a well-designed data abstraction layer to maximize code reusability.
&bull Tune data-driven Web applications for optimal performance.
&bull Customize databinding for maximum scalability and usability.
&bull Design and implement an easy-to-administer configuration strategy.
&bull Generate custom configuration handlers.
&bull Create custom controls to encapsulate user interface.
&bull Use best practices for interoperating with COM components.
&bull Implement caching techniques to improve Web application performance.
&bull Design reusable Web presentation patterns using object-oriented techniques.
&bull Use GDI+ classes to create interactive graphics.
&bull Use DataGrids for advanced reporting techniques.
&bull Apply best practices for debugging and exception handling.
&bull Use Application Center Test for stress testing Web applications.
&bull Create a flexible security infrastructure.
&bull Implement encryption classes to secure communication.
&bull Build an administrative interface for a portal application.
&bull Use object-oriented techniques to build an extensible modular design.
Prerequisites
Before attending this course, students must meet the following prerequisites:
&bull Ability to create HTML pages with tables, images, and forms.
&bull Experience using a scripting language, such as Microsoft Visual Basic Scripting Edition or JavaScript.
&bull Experience using ASP.NET to create Web applications.
&bull Ability to retrieve data from relational databases by using ADO.NET.
&bull Familiarity with a .NET-based programming language.
In addition, it is recommended, but not required, that students have completed:
&bull Course 2310: Developing Microsoft ASP.NET Web Applications Using Visual Studio .NET
&bull Course 2640: Upgrading Web Development Skills to Microsoft ASP.NET
Microsoft Certified Professional Exams
This workshop will help the student prepare for the following Microsoft Certified Professional exam:
• Exam 70-292: Managing and Maintaining a Microsoft Windows Server 2003 Environment for an MCSA Certified on Microsoft Windows 2000
Course Materials
The student kit includes a comprehensive workbook and other necessary materials for this class.
Course Outline
Module 1: Considerations for Building Advanced ASP.NET Applications
This module presents a framework for developing Web applications and describes the application that students will construct during class.
Lessons
&bull Building Enterprise Web Applications With ASP.NET
&bull Presentation Layer
&bull Data Access Layer
&bull Business Logic Layer
Lab: Understanding Application Structure
&bull Examining the Structure of the Applications
&bull Building Utility Controls
After completing this module, students will be able to:
&bull Describe an application architecture that is easy to maintain and extend.
&bull Explain the use of the object-oriented features of .NET in constructing a portal application.
&bull Describe the data access and storage architecture of the application.
&bull Explain application configuration settings and the tradeoffs involved in creating a configuration strategy.
Module 2: Designing Data Tier Components
This module explains best practices for creating the data tier of a Web application. The concept of data abstraction is introduced and illustrated with specific implementations recommended by Microsoft and incorporated into the class application.
Lessons
&bull Implementing Data Access Logic Components
&bull Designing a Data Abstraction Layer
&bull Performance Tuning for Data Access
&bull Managing Settings and Configuration with Typed DataSets
&bull Best Practices for Reliable Data Access
Lab: Using Data Access Components
&bull Using Data Access Components for Databinding
&bull Creating Collection Classes for Data Display
After completing this module, students will be able to:
&bull Define business entities and describe how they are used in Web applications.
&bull Design effective data access components.
&bull Explain the design decisions for creating business entity components, including representing entity data.
Module 3: Web Presentation Patterns
This module introduces the concept of design patterns and demonstrates how to use them effectively in creating an extensible Web presentation infrastructure.
Lessons
&bull Using Design Patterns in Web Applications
&bull Creating Dynamic Interfaces with User Controls
&bull Using Inheritance to Define Basic Site Functionality
&bull Using Collection Classes for DataBinding
&bull Properties and Elements of the DataGrid
&bull Optimal Data Paging for DataGrids
&bull DataGrid Editing Techniques
&bull Creating Master/Detail Views with a DataGrid
Lab: Implementing Databound Presentations
&bull Implementing the Defect Class
&bull Implementing the Defect Module
&bull Creating a Master/Detail Report
After completing this module, students will be able to:
&bull Describe design patterns applicable to Web applications.
&bull Apply design patterns to create extensible user interfaces.
&bull Use collection classes for efficient databinding.
&bull Describe the major properties and elements of a DataGrid.
&bull Implement optimal data paging techniques.
&bull Apply effective DataGrid editing practices.
&bull Create efficient Master/Detail Views using DataGrids.
Module 4: Building Custom Controls
This module describes the steps necessary to create custom controls and is illustrated with several examples of practical controls.
Lessons
&bull Architecture of Custom Controls
&bull Creating Control Object Models
&bull Using Events in Controls
&bull Rendering Control Output
&bull Creating Data-Bound Custom Controls
Lab: Building Custom Controls
&bull Identifying Parts of a Data-Bound Custom Control
&bull Implementing a Data-Bound Custom Control
&bull Using a Data-Bound Custom Control
After completing this module, students will be able to:
&bull Describe the architecture of system controls.
&bull Create an object model for a custom control.
&bull Raise and use event handlers during control execution.
&bull Use rendering methods to create control content.
Module 5: Using Graphics Classes to Generate Images
This module describes how to use the System.Drawing classes to generate images in ASP.NET.
Lessons
&bull Major System.Drawing Classes
&bull Methods for Generating Images
&bull Using Data to Generate Charts
Lab: Generating Data-Driven Graphics
&bull Creating a Graphics object
&bull Stream the image to the browser
After completing this module, students will be able to:
&bull Describe the major elements of the GDI+ object model.
&bull Use the main GDI+ methods for manipulating graphics images.
&bull Create an ASP.NET page that creates chart graphics using data objects.
Module 6: Creating a Secure Infrastructure
This module presents alternative ASP.NET security models and illustrates how a flexible and extensible security infrastructure can be created in Web applications.
Lessons
&bull ASP.NET Security Models
&bull Role-based Authorization Techniques
&bull Process Identity and Accessing Resources
&bull Securing Communication with Encryption
Lab: Creating a Security Infrastructure
&bull Implementing the ICustomPrincipal Interface
&bull Creating Security Classes Customized Authentication Process
&bull Identifying User Roles
After completing this module, students will be able to:
&bull Identify where and how you need to perform authentication in ASP.NET applications.
&bull Implement role-based authorization.
&bull Secure resources using process identity.
&bull Identify where and how to secure communications using encryption.
Module 7: Caching Patterns and Practices
This module explains how to cache user interface elements and data objects for maximum performance and usability.
Lessons
&bull Effective Caching Strategies
&bull Managing Session Data
&bull Client-side Caching Options
Lab: Caching in the Portal Application
&bull Caching Site Configuration
&bull Caching Dynamic Controls
After completing this module, students will be able to:
&bull Describe best practices for output caching.
&bull Implement a caching strategy for dynamic Web content.
&bull Use data caching effectively.
&bull Manage Session data for optimal performance.
&bull Evaluate client-side caching options.
Module 8: Diagnostics and Exception Handling
This module introduces the best practices for debugging and exception handling. Related concerns including stress testing and applying performance counters are also covered.
Lessons
&bull Exception Handling Strategies
&bull Best Practices for Debugging
&bull Using Application Center Test for Performance Testing
&bull Applying Performance Counters to Profile Web Applications
Lab: Using the Exception Manager
&bull Implementing an Exception Handling Framework
&bull Creating and Handling a Custom Exception Testing Web Applications with Application Center Test
&bull Using Application Center Test to Find Web Server Capacity
After completing this module, students will be able to:
&bull Choose appropriate debugging techniques for Web applications.
&bull Implement an exception handling framework for logging and diagnostics.
&bull Use Application Center Test to stress test Web applications.
&bull Identify and apply performance counters for application measurement.
Module 9: Interoperability with COM
This module builds on the materials in the previous module to describe best practices for interoperating between ASP.NET and COM components.
Lessons
&bull Overview of COM Interop
&bull Creating and using a Runtime Callable Wrapper
&bull Guidelines and Issues in COM Interoperation
Lab: Interoperability with COM
&bull Referencing a COM component from an ASP.NET application
After completing this module, students will be able to:
&bull Describe why and how to call COM components from .NET.
&bull Create and use a Runtime Callable Wrapper.
&bull Address common issues and pitfalls when working with COM Interop.
&bull Export data into Excel from ASP.NET using COM Interop.
Module 10: ASP.NET Configuration
This module explains and illustrates important issues in managing ASP.NET configuration, including using configuration handlers.
Lessons
&bull Configuration Schema Overview
&bull Examples of Built-in Configuration Settings
&bull Creating Custom Configuration Settings
&bull Encrypting Configuration Settings
&bull Using the Configuration Management Application Block
Lab: Configuration Management
&bull Creating and Reading Custom Configuration Settings
&bull Working with Encrypted Configuration Sections
&bull Using Microsoft Configuration Management Application Block
After completing this module, students will be able to:
&bull Have an understanding of the .NET configuration handling mechanism.
&bull Take advantage of a few built-in ASP.NET configuration settings.
&bull Create your own custom configuration sections.
&bull Encrypt configuration sections for better security.
&bull Utilize a ready-to-use component that abstracts Configurations Management.
Module 11: Administering and Extending the Portal
This module displays the elements of an extensible administration framework for managing a Web application. It also demonstrates how to extend the portal through modular design.
Lessons
&bull Creating Flexible Site Administration Tools
&bull Adding Modules to the Portal
Lab: Extending the Portal with New Modules
&bull Extending the Data Layer
&bull Creating the User Control and Edit Page
After completing this module, students will be able to:
&bull Describe the main components of the administrative interface and how they interact.
&bull Identify the steps needed to extend the portal by adding new modules. |