Workshop 2543B:

Core Web Application Technologies with Microsoft Visual Studio 2005

Length:3 Days
Published:March 13, 2006
Language(s):English, Chinese (Simplified)
Audience(s):Developers
Level:200
Technology:Microsoft Visual Studio 2005
Type:Workshop
Delivery Method:Instructor-led (classroom)
About This Workshop
Elements of this syllabus are subject to change.
 
This three-day instructor-led workshop provides students with the knowledge and skills to develop Microsoft( ASP.NET 2.0 Web applications using Microsoft Visual Studio( 2005. The workshop focuses on user interfaces, Web site structure and functionality, and implementation details.
Audience Profile
This workshop is intended for corporate/ISV application developers who have a desire to learn more about specific technology areas in Web application development.
At Workshop Completion
After completing this course, students will be able to:
 
  • Create a Web application.
  • Program a Web application.
  • Add and configure server controls for a Web application.
  • Use master pages to establish a common layout for a Web application.
  • Manage state data for a Web application.
  • Access and display data in a Web application.
  • Control access to a Web application.
  • Deploy a Web application.
  • Create a mobile Web application.
Workshop OutlineSession 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
Lab : Creating a Web Application
  • 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.
Session 2: Programming 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.
Lessons
  • Event Handling in Web Applications
  • Browser Capability Detection
  • Page Header Retrieval
  • Page-Level and Application-Level Error Handling
Lab : Programming a Web Application
  • 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.
Session 3: Adding and Configuring Server Controls
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
Lab : Adding and Configuring Server Controls
  • 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.
Session 4: Creating a Common Layout by Using Master Pages
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
Lab : Creating a Common Layout by Using 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.
Session 5: Managing State for a Web Application
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
Lab : Managing State for a Web Application
  • 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.
Session 6: Accessing and Displaying Data
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
Lab : Accessing and Displaying Data
  • 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.
Session 7: Controlling Access to a Web Application
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
Lab : Controlling Access to a Web Application
  • 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.
Session 8: Deploying a Web Application
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
Lessons
  • The Copy Web Site Utility
  • The Publish Web Site Utility
  • Windows Installer Setup Packages
Lab : Deploying a Web Application
  • 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.
Session 9: Making Web Applications Available to Mobile Devices
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
Lab : Making Web Applications Available to Mobile Devices
  • 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.
Before attending this course, students must have:
 
  • Be able to manage a solution environment using the Visual Studio 2005 IDE and tools
  • Understand Microsoft .NET Framework 2.0 and the Common Language Runtime
  • Be able to program an application using a .NET Framework 2.0 compliant language
  • Know how to make assemblies available to other applications
  • Have a basic understanding of XML including XML declaration, elements, attributes, and namespaces
  • Have a basic understanding of client-side scripts
  • Have a basic understanding of HTML
Looking for training resources, events and advice from peers? Join the Microsoft Training and Certification Community. Preparing for an exam now? Find your Microsoft Certification Study Group. Talk to us on these social networks:

Find a Microsoft Learning Partner near you

Find Training Near You

Location:

Eg: Seattle, WA or Paris, France