Objectif 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. Participant This class is intended for experienced software developers who understand object-oriented programming (OOP) and C# or VB.NET. Prérequis Before attending this course, students must have: Experience using C# or VB.NET with Visual Studio 200 or newer. Previous Web development is helpful but not necessary. Remarque Le support de cours est en anglais Programme 1. Introducing.NET 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.. 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. 2. The Page Class and Other Files Know the three architectures of ASP.NET Web pages. Perform debugging and tracing. Introducing Web Site Administration Tool (WAT). Research the global.asax file. Trapping application errors. 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. adhara Formation Catalogue Informatique Page 1 sur
Understand the basics of Web.config. 3. ASP.NET Controls 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. 4. Custom Controls 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.. User Controls and Master Pages 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. 6. Site Navigation 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. 7. State Management Define the role of view state. Read and write cookies. The role of application state and session state. adhara Formation Catalogue Informatique Page 2 sur
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. 8. CSS and Themes Understand Cascading Style Sheets (CSS). Adding a stylesheet to a theme. 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. 9. ADO.NET Introducing System.Data.dll. Working with the members of a DataSet. Working with a DataView. Testing the CommandBuilder. Adding Data relationships. 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. 10. Data Binding 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. 11. Handlers, Modules and IIS Understand ASP.NET and IIS process management. adhara Formation Catalogue Informatique Page 3 sur
Creating a custom module. Comparing handlers and modules to ISAPI filters and extensions. Configuring IIS.1, 6, 7.x. 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. 12. Providers 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. 13. Web Parts 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. 14. Security 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. adhara Formation Catalogue Informatique Page 4 sur
1. AJAX 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. 16. Deployment 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. 17. Silverlight 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. adhara Formation Catalogue Informatique Page sur