3-Day (DV-ASPCORE-301-EN)
Description
Key Benefits
Prerequisites
Objectives
Course Materials
Course Outline
Description
The release of the new ASP.NET platform (version 2.0) hasn't changed a simple, basic fact: ASP.NET applications rely on a runtime environment that generates markup through server controls. The new version adds tons of new features and improvements but thinking in terms of the delta between the old and the new platform isn't the most effective way of learning. So you want to write Web applications with .NET? Great, then you have to grab a solid understanding of ASP.NET.
Loaded with practical insights and information, this class brings you to the next level of proficiency and productivity as far as ASP.NET and Web-related .NET technologies are concerned. Learn about the internals of the HTTP runtime, explore techniques for authoring pages, discover best practices for optimizing end-to-end performance, raise the security bar of applications.
Key Benefits
Dive deeper inside the ASP.NET machinery and understand why is it so, rather than just showing how it is. This class shows how it works, but gives reasons for that and explain the internal mechanics. As a result, attendees will learn a method and build skills on the ASP.NET internals that are of great help to quickly diagnose problems in real applications and to quickly invent solutions for challenging issues. The class doesn't cover 100% of the possible ASP.NET topics, but deliberately focuses on the objectively most important, core topics: runtime, security, UI, data binding. Not all, but deep.
The class is largely based on the book "Programming Microsoft ASP.NET 2.0-Core Reference", Microsoft Press, 2005.
Prerequisites
Developers who plan to attend the seminar should have a working knowledge of Web applications. In particular, developers should be familiar with HTTP and typical Web server's activity. This experience may have been matured on any Web platform and not necessarily IIS/ASP. In addition, potential attendees should know about ADO.NET and tools for data access on the .NET platform.
At least a reading knowledge of the whole .NET platform and the basic principles of object-oriented programming is welcome, but not strictly required.
Objectives
After completing this course, students will be able to:
- Understand the ASP.NET runtime and interaction with IIS
- Optimize existing applications by tweaking state management solutions
- Author page using themes and master pages
- Configure and deploy an ASP.NET Web application
- Implement advanced data-binding features
- Implement defensive programming practices to fend off attacks
- Build secured pages fastly and effectively
Course Materials
The student kit includes a comprehensive set of handouts and other necessary materials for the class. Full sample code is included or made available for download.
Course Outline
Day 1 - Inside ASP.NET Pages and Controls
From ASPX to markup and back
- ASP.NET pages and code-behind
- The postback mechanism
- Page lifecycle
Rich Page Composition
- Controls and Web user controls
- Master pages
- Themes
Working with the page
- OOP applied to pages
- Handling user profiles
- Handling cross-page references
Day 2 - State Management
Security
- Forms authentication
- Membership and roles management
- Remarks on ASP.NET and Web security
Session state
- Application vs. session state
- Architecture of the session state
- Working with session managers
Caching
- The Cache Object
- Cache dependencies
- Output caching
Day 3 - Adding Data to a Site
Data Access Models
- Classic data binding
- Data-source controls
- Two-way data binding
- GridView and DetailsView
The ObjectDataSource control
- Using the control
- Caching and paging
- ObjectDataSource vs. SqlDataSource vs. XmlDataSource
Building a Data Access Layer
- Tour of data access patterns
- DataSet vs. Collections
- Using the feature in real-world pages