Developing Web Applications Using Microsoft Visual Studio 2008 (Course Code: 2310C)

Course Schedule:

Please call 8622 8900 or email us for further information
Microsoft Certified Partner

Overview:

This five-day instructor-led course will teach you the fundamentals of Web application development and best practices for Microsoft Web development technologies, including ASP.NET 3.5, ASP.NET AJAX Extensions, and Silverlight. This course focuses on using the Microsoft Visual Studio 2008 development environment and the Microsoft .NET Framework 3.5 to create a Web application that delivers dynamic content to a Web site.

Learning method:

This course will be presented using a combination of lectures, group discussions and practical exercises. Each student will be provided with a comprehensive set of course notes. This hands-on course combines exercises and practical work to solidify learning.

Who will benefit from this course?

This course is designed for introductory-level Web developers who have knowledge of Hypertext Markup Language (HTML) or Dynamic HTML (DHTML), along with some knowledge of a scripting language such as Visual Basic Scripting Edition or Java Script.

This course is also appropriate for Microsoft Visual Basic 6.0, Microsoft Visual Basic for Applications (VBA) or classic ASP developers who want to learn ASP.NET 3.5 and other Microsoft Web development technologies.

Pre-requisites:

Before attending this course, students should have knowledge of HTML or DHTML, including:

  • tables
  • images
  • forms
  • programming experience using Microsoft Visual Basic or Microsoft Visual C# , including:
  • declaring variables
  • using loops
  • using conditional statements

The completion of Course 4994: Introduction to Programming Microsoft .NET Framework Applications with Microsoft Visual Studio 2005, or the equivalent knowledge and experience satisfies the preceding prerequisite skills requirements for Visual Basic and Visual C#.

What can you expect to gain from this course?

After completing this course, you will be able to:

  • describe the key features of the Microsoft .NET Framework and ASP.NET
  • create a component by using Visual Basic or Visual C#
  • create a Microsoft ASP.NET Web Form that contains server controls
  • add functionality to server controls that are on an ASP.NET Web form
  • view runtime information about a Web application by using the Trace and Debug objects
  • validate user input by using validation controls
  • create and implement a user control
  • access data by using Microsoft ADO.NET 3.5 and the built-in data access tools available in Visual Studio 2008
  • accomplish complex data access tasks from an ASP.NET Web application
  • access and manipulate data that was stored by using Extensible Markup Language (XML)
  • create and extend an ASP.NET AJAX application
  • create a Microsoft Silverlight-based application that delivers dynamic content
  • call a Web service from an ASP.NET Web application and incorporate the returned data into a Web application
  • store ASP.NET Web application and session data by using a variety of methods
  • configure and deploy an ASP.NET Web application
  • secure an ASP.NET Web application by using a variety of technologies, including authentication and authorisation.

Course Content:

Module 1:Overview of the Microsoft .NET Framework
  • This module describes the key features of the Microsoft .NET Framework and ASP.NET.
  • Introduction to the .NET Framework
  • Overview of ASP.NET
  • Overview of the Lab Application
  • Resources
Module 2:Creating Web Applications by Using Microsoft Visual Studio 2008 and Microsoft .NET-Based Languages
  • This module explains how to create a Web application by using Visual Studio 2008. It also describes how to create a component by using Visual Basic or C#.
  • Overview of Visual Studio 2008
  • Creating an ASP.NET Web Application Project
  • Overview of the Microsoft .NET-Based Languages
  • Creating a Component by Using Visual Studio 2008
  • Exercise: Creating Web Applications by Using Microsoft Visual Studio 2008 and Microsoft .NET-Based Languages
  • Creating an ASP.NET Web Site
  • Creating a Class
  • Calling the Component
Module 3:Creating a Microsoft ASP.NET Web Form
  • This module describes how to create a Microsoft ASP.NET Web Form that contains server controls and uses a master page.
  • Creating Web Forms
  • Adding Server Controls to a Web Form
  • Creating Master Pages
  • Exercise: Creating a Microsoft ASP.NET Web Form
  • Creating the Default.aspx Web Form
  • Creating the benefitsMaster Master Page
  • Creating the Life.aspx Web Form
Module 4:Adding Code to a Microsoft ASP.NET Web Form
  • This module explains how to add functionality to server controls that are on an ASP.NET Web form.
  • Implementing Code-Behind Pages
  • Adding Event Procedures to Web Server Controls
  • Handling Page Events
  • Exercise: Adding Functionality to a Web Application
  • Creating a Page_Load Event Procedure
  • Creating a Click Event Procedure
  • (If Time Permits): Implementing a Component in a User Control
Module 5:Tracing in Microsoft ASP.NET Web Applications
  • This module explains how to view runtime information about a Web application by using the Trace and Debug objects.
  • Tracing and the Trace Object
  • Remote Debugging
  • Exercise: Tracing in Microsoft ASP.NET Web Applications
  • Implementing Trace Statements
  • Tracing into a Component
Module 6:Validating User Input
  • This module explains how to validate user input by using validation controls.
  • Overview of User Input Validation
  • Validation Controls
  • Page Validation
  • Exercise: Validating User Input
  • Implementing RequiredFieldValidator Controls
  • Implementing the ValidationSummary Control
  • Implementing the CompareValidator Control
  • Implementing the RegularExpressionValidator Control
Module 7:Creating and Implementing User Controls
  • This module explains how to create and implement a user control.
  • Adding User Controls to an ASP.NET Web Form
  • Creating User Controls
  • Exercise: Creating and Implementing User Controls
  • Creating a User Control
  • Implementing a User Control
Module 8:Accessing Data with Microsoft ADO.NET and Visual Studio 2008
  • This module explains how to access data by using Microsoft ADO.NET 3.5 and the built-in data access tools available in Visual Studio 2008.
  • Overview of ADO.NET
  • Connecting to a Database
  • Accessing Data
  • Accessing Multiple Tables
  • Exercise: Accessing Data with Microsoft ADO.NET and Visual Studio 2008
  • Connecting to the Doctors Database
  • Paging and Selection in a GridView Control
  • Implementing a SqlDataReader
  • (If Time Permits) Viewing Doctors from All Cities
Module 9:Accomplishing Complex Data Access Tasks
  • This module explains how to call stored procedures from an ASP.NET Web application. It also covers how to access data from a database by using LINQ to SQL.
  • Overview of Stored Procedures
  • Calling Stored Procedures
  • Data Access with LINQ to SQL
  • Exercise: Accomplishing Complex Data Access Tasks
  • Get Unique City Names
  • Get Doctor Specialties
  • Get Doctor Specialties by Using LINQ to SQL
Module 10:Reading and Writing XML Data
  • This module explains how to access and manipulate data that was stored by using Extensible Markup Language (XML).
  • Overview of XML Architecture in ASP.NET
  • XML and the DataSet Object
  • Managing XML Data
  • Accessing XML Data by Using the XML Web Server Control
  • Exercise: Reading XML Data
  • Reading a List of Mutual Funds from an XML File
  • Reading, Transforming, and Displaying XML
  • (If Time Permits): Nested Data
Module 11:Creating an ASP.NET AJAX Application
  • This module explains how to create and extend an ASP.NET AJAX application.
  • Introduction to ASP.NET AJAX
  • Creating an ASP.NET AJAX Application by Using the ASP.NET AJAX Extensions
  • Extending an Application by Using the ASP.NET AJAX Control Toolkit
  • Exercise: Creating an ASP.NET AJAX Application
  • Implementing Partial Page Rendering with the UpdatePanel Control
  • Installing and Using the AJAX Control Toolkit
Module 12:Delivering Dynamic Content with Microsoft Silverlight
  • This module explains how to create a Microsoft Silverlight-based application that delivers dynamic content.
  • Overview of Microsoft Silverlight
  • Creating Silverlight-Based Applications with Visual Studio 2008
  • Exercise: Delivering Dynamic Content with Microsoft Silverlight
  • Creating a Microsoft Silverlight-Based Application
  • Adding Dynamic Content to a Microsoft Silverlight Application
Module 13:Consuming and Creating XML Web Services
  • This module explains how to call a Web service from an ASP.NET Web application and incorporate the returned data into a Web application.
  • Overview of Using XML Web Services
  • Calling an XML Web Service
  • Creating an XML Web Service
  • Exercise: Consuming and Creating XML Web Services
  • Creating the Dentist XML Web Service and the GetAllDentists XML Web Service Method
  • Creating the GetDentistsByPostalCode XML Web Service Method
  • Consuming the GetAllDentists XML Web Service Method
  • Consuming the GetDentistsByPostalCode XML Web Service Method
Module 14:Managing State
  • This module explains how to store ASP.NET Web application and session data by using a variety of methods.
  • State Management
  • Application and Session Variables
  • Cookies and Cookieless Sessions
  • Exercise: Storing Application and Session Data
  • Implementing Session Variables
  • Implementing Cookies
  • Implementing Application Variables
  • Storing Session Variables in a Database
Module 15:Configuring, Optimising, and Deploying a Microsoft ASP.NET Web Application
  • This module explains how to configure and deploy an ASP.NET Web application.
  • Implementing the Cache Object
  • ASP.NET Output Caching
  • Configuring an ASP.NET Web Application
  • Deploying an ASP.NET Web Application
  • Exercise: Configuring, Optimising, and Deploying a Microsoft ASP.NET Web Application
  • Caching a DataSet by Using the Cache Object
  • Reducing Response Times by Using the Page Output Cache
  • Partial Page Caching
  • Implementing Dynamic Properties
  • Deploying Your Site
Module 16:Securing a Microsoft ASP.NET Web Application
  • This module explains how to secure an ASP.NET Web application by using a variety of technologies, including authentication and authorisation.
  • Web Application Security Overview
  • Windows-Based Authentication
  • Forms-Based Authentication
  • Exercise: Securing a Microsoft ASP.NET Web Application
  • Securing Your Web Site by Using Windows-Based Authentication
  • Securing Your Web Site by Using Forms-Based Authentication
  • Registering New Users