Complete ASP.NET 3.5

Code: 50392
Course duration: 5 days

50392: Complete ASP.NET 3.5 (5 days)

About this Course

Complete ASP.NET 3.5 is a five-day instructor-led course which begins by introducing the different architectures of ASP.NET Web applications. It then covers the Page class, Web controls, master pages, CSS/Themes, Web parts, user controls, site navigation, ADO.NET, data binding, handlers/modules, the provider model, security, AJAX, and deployment. This course and labs is designed for both C# and VB.NET developers.

Audience Profile

This class is intended for experienced software developers who understand object-oriented programming (OOP) and C# or VB.NET.

At Course Completion

After completing this course, students will be able to:

  • Understand the different architectures of ASP.NET Web applications.
  • Create Web Sites and Web Application Projects using various controls.
  • Create custom controls and user controls.
  • Use master pages, CSS styles, themes, and Web parts.
  • Add site navigation and consider different deployment methods.
  • Work with the provider model, ADO.NET, data binding, AJAX, and security.

Course Outline

Module 1: Introducing .NETThis module introduces the world of ASP.NET Web development. It examines the two different types of Visual Studio Web applications – Web Sites and Web Application Projects. It also covers some of the new features in ASP.NET 3.5 and compares the different versions of IIS.

Lessons

  • Understand the basic architecture of a Web application.
  • Understanding the role of HTTP.
  • The difference between HTML and XHTML.
  • Learn the key features of ASP.NET 3.5.
  • The ASP.NET Namespaces.
  • The history of ASP.NET Web development.
  • Contrast the use of IIS vs. the Visual Studio 2008 development Web server.
  • Work with different versions of IIS.
  • Know the differences between a Visual Studio 2008 Web Site and a Web Application project.

Lab : Introducing ASP.NET

  • Use VS to create, explore and configure a Web Site.
  • Use VS to create, explore and configure a Web Application Project.
  • Work with the ASP.NET development server, webdev.webserver.exe and IIS.
  • Migrate a Web Application Project from the file system to IIS.

After completing this module, students will be able to:

  • Understand the basic architecture of a Web application.
  • Know the key features of ASP.NET 3.5.
  • Contrast the use of IIS and the Visual Studio development Web server.
  • Work with different versions of IIS.
  • Know the differences between a Visual Studio Web Site and a Web Application Project.

Module 2: The Page Class and Other Files

This module introduces the Page class, which offers tremendous capabilities to all derived .aspx Web pages. This module also describes some of the other more common files and folders in an ASP.NET application such as Global.asax, Web.config. This module also covers tracing and debugging.

Lessons

  • Know the three architectures of ASP.NET Web pages.
  • Work with members of the Page class.
  • The Page class events.
  • Explore the single-file and code-behind models.
  • The ASP.NET directives (Page, Control, and so on).
  • Investigate the ASP.NET folders.
  • The Request and Response objects.
  • The IsPostback property.
  • Understand the basics of Web.config.
  • Perform debugging and tracing.
  • Introducing Web Site Administration Tool (WAT).
  • Research the global.asax file.
  • Trapping application errors.

Lab : Page Class and Other Files

  • Experiment with the single-file and code-behind models.
  • Examine the life cycle of a page object.
  • Populate an .aspx file’s control tree manually.
  • Turn on tracing for an application and analyze the results.
  • Create a dedicated error handling page.

After completing this module, students will be able to:

  • Know the architecture of an ASP.NET Web page.
  • Work with members of the Page class.
  • Interact with the Page class events.
  • Explore the single-file and code-behind models.
  • Investigate the ASP.NET folders.
  • Understand the basics of Web.config.
  • Perform debugging and tracing.
  • Research the Global.asax file.

Module 3: ASP.NET Controls

This module defines the three types Web controls available with ASP.NET. It examines HTML Server Controls and different types of Web Controls including simple controls, list controls, data controls, rich controls, and validation controls. It also covers how to use HTML tables and CSS for positioning controls on a Web page.

Lessons

  • Understand the ASP.NET Web control event architecture.
  • Contrast HTML Server Controls with Web Controls.
  • Survey the categories of Web Controls.
  • Work with ASP.NET Validation Controls.
  • Examine the use of HTML tables and CSS to provide exact positioning of Web content.

Lab : ASP.NET Controls

  • Create a new Web Application Project that uses a custom DLL.
  • Position your controls within an HTML table.
  • Work with the Calendar and Ad Rotator controls.
  • Work with the ASP.NET Validation controls.

After completing this module, students will be able to:

  • Understand the ASP.NET Web control event architecture.
  • Contrast HTML Server Controls with Web Controls.
  • Know the categories of Web Controls.
  • Work with ASP.NET Validation Controls.
  • Examine the use of HTML tables and CSS to provide exact positioning of Web content.

Module 4: Custom Controls

This module shows how to create a custom Web control using the VS Custom Web control project. It also shows how the controls inherit from the WebControl class and how to dynamically add existing controls. Last, the module also shows how to do it with style using the Style object.

Lessons

  • Understand the need for custom Web controls.
  • Building custom Web controls.
  • Using the HTMLTextWriter.
  • Adding Style to Custom Controls.
  • Integrating custom Web controls with the VS IDE.
  • Creating composite custom controls.
  • Registering the controls with .aspx, .ascx, and .master files.
  • Defining properties for the VS Properties window.
  • Adding a custom icon for the Toolbox.

Lab : Custom Controls

  • Learn how to use a custom control in an ASP.NET Web Application.
  • Learn how to implement the attributes associated with custom controls.
  • Learn how to integrate a custom control into the Visual Studio development environment.
  • Add an icon to a custom control for the Toolbox.

After completing this module, students will be able to:

  • Build custom Web controls.
  • Integrate custom Web controls with the VS IDE.
  • Register the controls with .aspx, .ascx, and .master files.
  • Work with style.
  • Work with the VS Properties window.

Module 5: User Controls and Master Pages

This module examines user controls (.ascx files), which are really just a portion of a Web page with a code-behind file, and Master pages, which can give multiple Web pages the ability to “inherit” controls and appearance.

Lessons

  • Understanding and creating user controls.
  • Creating composite user controls.
  • Manipulating user controls on the host page.
  • Exposing events from user controls.
  • Host Web pages subscribing the user control events.
  • Introducing Master pages.
  • A Master page walkthrough.
  • Nested Master pages.
  • Master page events and page access.

Lab : User Controls and Master Pages

  • Create a simple composite user control.
  • Create a user control that supports events.
  • Build pages that consume user controls.
  • Design, build and consume master pages.

After completing this module, students will be able to:

  • Build custom user controls as composite controls.
  • Know how to subscribe/handle to events raised by user controls.
  • Build Master pages.
  • Understand how to build nested master pages.
  • Programmatically set the master page.

Module 6: Site Navigation

This module examines the navigation controls, including the TreeView, Menu, Wizard, and MultiView control.

Lessons

  • Basic page navigation.
  • Response.Redirect() and Server.Transfer().
  • Work with the MultiView control.
  • Work with the Wizard control.
  • Understand the site map model of ASP.NET.
  • Examine the Menu navigation control.
  • Examine the TreeView navigation control.
  • Create Web application breadcrumbs.

Lab : Experimenting with .NET Assemblies

  • Create and configure a private assembly.
  • Work with application configuration files.
  • Build a shared assembly and place it in the GAC.
  • Experiment with versioning.

After completing this module, students will be able to:

  • Utilize Response.Redirect() and Server.Transfer() methods.
  • Work with the MultiView control.
  • Use the Wizard control.
  • Understand the site map model of ASP.NET.
  • Implement the Menu navigation control.
  • Use the TreeView navigation control.

Module 7: State Management

This module examines a number of state management techniques including view state, application state, session state, cookies, and caching. It examines how to use the state management features that are included with ASP.NET such as the state server, the ASPState database, and caching methods.

Lessons

  • Define the role of view state.
  • Read and write cookies.
  • The role of application state and session state.
  • Work with The State Services.
  • Work with SQL Server session management.
  • Study the various forms of caching (the Cache object and OutputCache).
  • Work with Cache dependencies, such as a Sql Server dependency.

Lab : State Management

  • Work with Application data.
  • Work with Session data.
  • Set up SQL Server to store Session and Application data.
  • Configure the ASP.NET State Server to store session and application data.

After completing this module, students will be able to:

  • Define the role of view state.
  • See how to read and write cookies.
  • Know role of application state and session state.
  • Work with out-of-process and SQL Server session management.
  • Use the various forms of caching.

Module 8: CSS and Themes

This module defines the stylized support included with ASP.NET that enables you to create reusable styles with CSS and themes. First, it examines the use of Cascading Style Sheets (CSS) for modifying control appearance and positional layout. It also covers Visual Studio’s support for style sheet building (.css files, CSS classes and inline styling). Then it dives into ASP.NET themes, which are used to complement (not replace) CSS. Themes and CSS can work together to establish a consistent Web user interface using style attributes, .css files, CSS classes, and skins.

Lessons

  • Understand Cascading Style Sheets (CSS).
  • Adding a CSS Style sheet.
  • CSS and Web controls.
  • Learn the style builder tools in Visual Studio.
  • Examine the use of themes and skins.
  • Dynamically assign themes.
  • Adding a skin to a theme.
  • Defining a .skin file.
  • Using CSS and themes together.
  • Adding a stylesheet to a theme.

Lab : CSS and Themes

  • Define a CSS style sheet in VS.
  • Add various .skin files to themes and use them with an .aspx.
  • Provide a way for the end user to change themes.
  • Store the current theme selection within a session variable.

After completing this module, students will be able to:

  • Understand Cascading Style Sheets (CSS).
  • Use of themes and skins.
  • Dynamically assign themes.
  • Use CSS and themes together.

Module 9: ADO.NET

This module will cover the primary data objects used in ADO.NET with both models. It will also demonstrate how they can be used to display data in a Windows application.

Lessons

  • Introducing System.Data.dll.
  • The ADO.NET Data Providers.
  • The Speedy DataReader.
  • Binding DataReaders to Web controls.
  • Performing CRUD operations in a connected model.
  • Working with Parameters.
  • Working with Sql Server Stored Procedures.
  • The Disconnected Model.
  • Working with the Data Adapter.
  • Working with the members of a DataSet.
  • Working with a DataView.
  • Testing the CommandBuilder.
  • Adding Data relationships.

Lab : ADO.NET

  • Work with several integrated database tools in Visual Studio.
  • Work with the DataReader and Command objects.
  • Build and implement stored procedures.
  • Work with DataAdapters and DataSets.

After completing this module, students will be able to:

  • Understand the ADO.NET data access model.
  • Work with ADO.NET DataReaders.
  • Work with ADO.NET DataSets and DataAdapters.
  • Work with DataViews and DataRelations.

Module 10: Data Binding

This module examines several different data-binding techniques offered by ASP.NET. Using data controls such as the FormView and DetailsView allow for extremely simple Web page creation for displaying data using a “no-code” declarative approach.

Lessons

  • Understanding ASP.NET Data Binding.
  • Data Binding with Array, Collection and Custom Types.
  • Look at some new ways to manage Connection Strings in our applications.
  • Declarative data binding.
  • Expression data binding.
  • Data Source Controls.
  • The SqlDataSource control.
  • The GridView control.
  • The Repeater control.

Lab : Data Binding

  • Observe the ASP.NET data-binding engine in action.
  • Use data-binding expressions.
  • Work with the Repeater control.

After completing this module, students will be able to:

  • Understand the range of data sources that can be used in binding operations.
  • Know some new ways to manage connection strings in applications.
  • Work with the new data source controls.
  • Use the data controls (GridView, ListView, Repeater, etc.)
  • Know the “declarative” model of data binding.

Module 11: Handlers, Modules and IIS

This module takes a look at the details of the entire request pipeline to help gain a clear understanding of how the request for an ASP.NET resource is processed and the points of extensibility along the way. It will also examine the HTTPHandler class via its implementation in the Page class, and in a custom implementation of a handler and module.

Lessons

  • Understand ASP.NET and IIS process management.
  • IIS delegation of requests.
  • Understand ASP.NET handlers.
  • Configuring handlers.
  • Creating a custom handler.
  • Installing a custom .ashx handler.
  • Using as custom file extension.
  • Understand ASP.NET modules.
  • Configuring modules.
  • Creating a custom module.
  • Comparing handlers and modules to ISAPI filters and extensions.
  • Configuring IIS 5.1, 6, 7.x.

Lab : Handlers, Modules and IIS

  • Create an HTTP Handler that returns a thumbnail of an image.
  • Create a page that uses the HTTP Handler to display a thumbnail linking to each image in a directory.

After completing this module, students will be able to:

  • Know ASP.NET and IIS Process Management.
  • Create ASP.NET Handlers.
  • Understand ASP.NET Modules.

Module 12: Providers

This module examines the membership provider, the role provider, and the new profile manager provided by ASP.NET.

Lessons

  • Understand the ASP.NET provider model.
  • Configuring providers.
  • Using aspnet_regsql.exe.
  • Explore the membership providers and SqlMembershipProvider.
  • Adding new users.
  • The MembershipUser type.
  • Learn the Role Manager with SqlRoleProvider.
  • Store and retrieve user information with the Profile object.
  • Personalize a Web site.

Lab : Providers

  • Define a custom type that represents items in the shopping cart.
  • Maintain two GridView objects to display inventory and shopping cart items.
  • Persist your shopping cart data using the ASP.NET Profile object.

After completing this module, students will be able to:

  • Understand the ASP.NET provider model.
  • Work with the membership providers and SqlMembershipProvider.
  • Known the Role Manager with SqlRoleProvider.
  • Store user information with the Profile object.
  • Personalize a Web site.

Module 13: Web Parts

This module gives a great overview of the capabilities of Web Parts. It introduces the different types of parts and how they are displayed in a Web browser, depending on the display mode.

Lessons

  • The role of Web Parts.
  • The Web Part Manager.
  • The different modes of the WebPartManager.
  • Working with Web Part Zones.
  • Add Web Parts.
  • Web Parts in the Toolbox.
  • Using an EditorZone.
  • Using a CatalogZone.
  • Using AJAX with Web Parts.

Lab : Web Parts

  • Build a page which contains various WebPartsZones.
  • Implement a User Control with a Web Part.
  • Enable the Web Part Manager’s Edit display mode to reposition Web Parts.
  • Enable the Web Part Manager’s Catalog display mode to add existing Web Parts.

After completing this module, students will be able to:

  • Understand the role of Web Parts.
  • Learn the types of Web Parts.
  • Use the Web Part modes.
  • Personalize with Web Parts.

Module 14: Security

This module begins by suggesting several Web programming best practices. It also introduces ASP.NET Forms authentication and how users can be authenticated and authorized for Web pages. It also demonstrates how to use Forms authentication with the SqlMembershipProvider.

Lessons

  • Definition of Web security.
  • Understand Web programming best practices.
  • Learn ASP.NET forms-based authentication.
  • Discover ASP.NET authorization.
  • Encrypting sections of Web.config.
  • Know ASP.NET security configuration.
  • Learn IIS security.
  • Work with ASP.NET security controls.

Lab : Security

  • Work with the ASP.NET WAT (Web Site Administration Tool).
  • Create a new account.
  • Log in to a site using an existing account.
  • Marvel at the utter simplicity of securing a site.
  • Encrypt/Decrypt sections of Web.config and read the data.

After completing this module, students will be able to:

  • Understand the definition of Web security.
  • Understand Web programming best practices.
  • Know the ASP.NET security configuration.
  • Work with IIS security.
  • Work with ASP.NET security controls.

Module 15: AJAX

In this module, you learn AJAX and its purpose, along with numerous ways to implement it. You learn to implement AJAX manually with JavaScript, with ASP.NET Script Callbacks, and with the ASP.NET AJAX controls.

Lessons

  • Know the role of AJAX.
  • AJAX in today.
  • Understand the role of the XMLHttpRequest object.
  • Learn about the ASP.NET Page Script Callbacks.
  • Learn the ASP.NET AJAX controls.
  • Learn the ASP.NET AJAX controls.
  • Build a Web site using the ASP.NET AJAX Control Toolkit.

Lab : AJAX

  • Build an AJAX-enabled Web application.
  • Understand the UpdatePanel and ProgressPanel.
  • Work with the AJAX Control Toolkit.

After completing this module, students will be able to:

  • Know the role of AJAX.
  • Understand the role of the XMLHttpRequest object.
  • Learn the ASP.NET AJAX controls.
  • Build a Web site using the ASP.NET AJAX Control Toolkit.

Module 16: Deployment

ASP.NET and Visual Studio offer several different tools that developers, testers and software administrators can use for pushing software. These tools and processes are explained here to offer Web developers various choices for different types of ASP.NET Web deployment.

Lessons

  • Copy, XCopy and RoboCopy a Web Site.
  • Pre-compiling a Web site using aspnet_compiler.exe.
  • Copying a Web site in Visual Studio.
  • Publishing a Web site in Visual Studio.
  • Building an ASP.NET Web deployment (*.msi) project.

Lab : Deployment

  • Pre-compile an ASP.NET Web site.
  • Publish a Web site in Visual Studio.
  • Create a Microsoft Installer (.msi) Web Setup project.

After completing this module, students will be able to:

  • Copy, XCopy and RoboCopy a Web site.
  • Pre-compile a Web site.
  • Copy a Web site.
  • Publish a Web site.
  • Build an ASP.NET Web deployment (.msi) project.

Module 17: Silverlight

This module is an overview of Silverlight 2.0, including the overarching programming model and technologies as well as the core development tools.

Lessons

  • Understand the role of Silverlight.
  • Contrast the Silverlight 1.0 and 2.0 feature sets.
  • Survey the Silverlight 2.0 architecture.
  • Overview key Silverlight 2.0 development tools.
  • Learn the core Silverlight assemblies and namespaces.
  • Learn the role of the Application and UserControl classes.
  • Learn the syntax of XAML.

After completing this module, students will be able to:

  • Understand the role of Silverlight.
  • Contrast the Silverlight 1.0 and 2.0 feature sets.
  • Survey the Silverlight 2.0 development tools.
  • Know the Silverlight 2.0 architecture.
  • Examine a simple Silverlight 2.0 application.

Before attending this course, students must have:

  • Experience using C# or VB.NET with Visual Studio 2005 or newer.
  • Previous Web development is helpful but not necessary.

Guaranteed to Run

2018-03-07 09:00 to 2018-03-09 17:00
Fort Lauderdale, Florida (Virtual Instructor-Led)
2017-12-11 09:00 to 2017-12-15 17:00
Attend Online
2017-12-04 09:00 to 2017-12-08 17:00
Attend Online
2017-12-04 09:00 to 2017-12-08 17:00
Attend Online
2017-11-27 09:00 to 2017-12-01 17:00
Attend Online

Course Reviews

No reviews found for this course.

Be the first to write a review