Core Web Application Technologies with Microsoft Visual Studio 2005
Übersicht
MOC 2543Dauer: 3 Tage
Preis:
Agenda
Session 1: Creating a Web Application
This unit describes the different types of Web sites that you can create with
Visual Studio 2005. It introduces the concept of event handling, and shows how
to work with default event handlers for an object. It also explains how to
control a Web application through the hierarchy of configuration files.
Lessons
-
Visual Studio Web Site Types
-
Default Event Handling in Web Applications
-
Web Configuration Files
- Creating a New Web Application
- Configuring and Building a Web Application
After completing this module, students will be able to:
- Describe the types of Web sites that they can create with Visual Studio 2005.
- Describe the concept of a default event handler for an object.
- Explain how the Machine.Config and Web.Config files control the settings for a Web application.
- Create a new Web application.
- Configure and build a Web application.
This unit introduces the advanced event-handling capabilities of ASP.NET 2.0 and
describes how to work with events in Visual Studio 2005. It shows how to work
with non-default event handlers and centralized event handlers. It also
addresses other common Web programming concepts, including:
- Detecting the type, version, and capability of the browser being used to view a Web site.
- Accessing information in an ASP.NET Web Page header.
- Using the HttpResponse.Write method to provide feedback to users.
- Handling page-level errors.
-
Event Handling in Web Applications
-
Browser Capability Detection
-
Page Header Retrieval
-
Page-Level and Application-Level Error Handling
- Implementing Non-Default Event Handlers
- Detecting Browser Capabilities and Setting Page Header Properties
- Handling Page-Level Exceptions
After completing this module, students will be able to:
- Describe various event-handling techniques.
- Explain how to detect browser types and capabilities.
- Explain how to access page headers.
- Describe how to handle page-level errors and application-level errors.
- Implement advanced techniques for handling events.
- Implement browser-capability detection.
- Implement page-header manipulation.
- Implement page-level and application-level error handling.
This unit explains how to use the HTML controls and Web server controls provided
by Visual Studio 2005 and ASP.NET 2.0. It shows how to design and build
Web-based user interfaces, and it teaches how to program Web server controls.
This unit also describes how the ASP.NET 2.0 postback model works and how it can
be used.
Lessons
-
HTML Controls and Web Server Controls
-
Types of Web Server Controls
-
Working with Web Server Controls
-
The ASP.NET 2.0 Page Postback Model
- Building Graphical User Interfaces with HTML Controls
- Building Graphical User Interfaces with Web Server Controls
- Programming Web Server Controls and Working with Postbacks
After completing this module, students will be able to:
- Explain the differences between HTML controls and Web server controls.
- Describe the different types of Web server controls.
- Explain how to use HTML controls and Web server controls.
- Explain how the postback model of ASP.NET 2.0 works.
- Create Web-based user interfaces with HTML controls and Web server controls.
- Write code that interacts with Web server controls.
- Write code that interacts with the postback model of ASP.NET 2.0.
This unit explains how to use master pages to define common layouts for Web
pages. Master pages provide developers with a new set of features for ensuring
consistent page layout. Students will work with master pages and nested master
pages in the lab to build a Web application that has a consistent layout and
functionality across Web pages.
Lessons
-
What Are Master Pages?
-
What Are Content Pages?
-
Nested Master Pages
- Designing a Master Page
- Adding and Configuring Content Pages
- Designing Nested Master Pages
After completing this module, students will be able to:
- Describe the concept of a master page.
- Describe the concept of a content page.
- Describe nested master pages.
- Design master pages.
- Configure content pages.
- Design nested master pages.
This unit describes the different state management technologies that students
can use in ASP.NET 2.0 Web applications. It discusses how controls can retain
state data over multiple requests, and then explains how developers can work
with this state data. This unit then shows how to store state data in the
Application and Session objects provided by ASP.NET 2.0. It also discusses the
different session-data storage mechanisms. Finally, this unit explains how to
use the Cache object to cache and retrieve state data.
Lessons
-
ViewState Properties and ControlState Data
-
Application and Session Objects
-
Strategies for Managing Session State Data
-
The Cache Object
- Configuring ViewState Properties for Web Server Controls
- Storing and Retrieving Application and Session State
- Implementing Out-of-Process Session State
- Storing and Managing State Data in the Cache Object
After completing this module, students will be able to:
- Describe the ViewState and ControlState data models for Web pages.
- Describe the Application and Session objects and explain how state data is stored and retrieved in these objects.
- Describe various session-state data-storage strategies.
- Describe the Cache object and explain how you can use it to store and manage state data.
- Configure ViewState properties and ControlState properties for Web server controls.
- Store and retrieve Application and Session state.
- Implement out-of-process session state.
- Store and manage state data in the Cache object.
This unit describes how to add database connections to the Web.Config file and
the benefits that this approach adds when building manageable Web applications.
This unit then describes the new data controls for accessing data in a variety
of formats. It includes details about using the SqlDataSource control, the
XmlDataSource control, and the ObjectDataSource control. This unit also
describes how user interface data controls are bound to the data source
controls, and it includes a discussion about binding data-aware standard
controls to data.
Lessons
-
Database Connections and the Web.Config File
-
Relational Data and Data Source Controls
-
XML Data and Data Source Controls
-
Object Data and Data Source Controls
- Creating and Retrieving Database Connections
- Accessing Data by Using SqlDataSource Controls and Data Controls
- Accessing Objects as Data with ObjectDataSource Controls
- Accessing XML Data by Using XmlDataSource Controls
After completing this module, students will be able to:
- Explain how to store and retrieve database connections by using the Web.Config file.
- Explain how to use data source controls to access relational data.
- Explain how to use data source controls to access XML data.
- Explain how to use data source controls to access object data.
- Create and retrieve database connections by using the Web.Config file.
- Access relational data by using the SqlDataSource control and data controls.
- Access XML data by using the XmlDataSource control and data controls.
- Access objects as data by using the ObjectDataSource control and data controls.
This unit describes authentication and authorization for Web applications. It
also shows how to develop login, sign-up, and other membership pages for Web
applications based on the ASP.NET 2.0 Membership system.
Lessons
-
Authentication for Web Applications
-
Authorization for Web Applications
-
Site Membership Systems Using the Membership Class
-
Web Site Security Administration Using the Roles Class
- Configuring Authentication and Authorization for a Web Application
- Implementing a Membership Registration Page
- Implementing a Login Page and Adding Login Controls
- Creating a Membership Management Administrative User Interface
After completing this module, students will be able to:
- Describe the authentication methods for Web applications.
- Describe the authorization methods for Web applications.
- Describe the main components of a membership system.
- Describe how to build a security administration interface.
- Configure authentication and authorization for a Web application.
- Implement a membership registration page.
- Implement a login page.
- Create a membership management administrative user interface.
This unit describes three different ways to deploy Web applications:
- Using the Copy Web Site utility to deploy a Web application in a non-compiled state
- Using the Publish Web Site utility to deploy a precompiled version of the Web application
- Building Microsoft Windows( Installer packages to create a redistributable application with full setup logic
-
The Copy Web Site Utility
-
The Publish Web Site Utility
-
Windows Installer Setup Packages
- Deploying a Web Application by Using the Copy Web Site Utility
- Precompiling and Deploying a Web Application by Using the Publish Web Site Utility
- Building a Windows Installer Package for Deploying a Web Application
After completing this module, students will be able to:
- Describe how to use the Copy Web Site utility to deploy a Web application.
- Describe how to use the Publish Web Site utility to precompile and deploy a Web application.
- Describe how to build Windows Installer packages for deploying a Web application.
- Deploy a Web application by using the Copy Web Site utility.
- Precompile and deploy a Web application by using the Publish Web Site utility.
- Build and run a Windows Installer setup application for deploying a Web application.
This unit explains how to enable browsers running on mobile devices, such as
Pocket PCs and mobile phones, to access pages within your application.
Lessons
-
Device Emulators for Mobile Web Forms
-
Mobile Device Detection and Redirection
-
Mobile Web Forms
-
Device-Specific Features in Mobile Web Forms
- Managing Redirection for Mobile Devices
- Designing and Implementing a Mobile Web Form
- Designing Device-Specific Features for a Mobile Web Application
- Browsing a Mobile Web Application with Specific Device Emulators
After completing this module, students will be able to:
- Explain how to detect mobile devices and redirect them to an appropriate page in a Web application.
- Describe mobile Web pages, forms, and mobile controls.
- Explain how to use device-specific features in mobile Web pages to respond to the different capabilities of mobile devices.
- Explain how to use device emulators in Visual Studio 2005 to test mobile Web pages.
- Design and implement mobile Web forms.
- Design device-specific features for mobile Web pages.