Course Catalog
Curriculum Guides
Buy Courseware
Technical Library
About Object Innovations
Contact Us

877-558-7246 (toll free)  

4140. ASP.NET Using C#

Rev. 4.5


This five-day course provides a comprehensive and practical hands-on introduction to developing Web applications using ASP.NET 4.5 and C#. It includes an introduction to ASP.NET MVC, a newer Web programming framework that incorporates use of the Model-View-Controller (MVC) pattern. It also includes coverage of using ASP.NET AJAX to build rich client applications.


The fundamentals of Web applications are reviewed, and a testbed is established for ASP.NET and Internet Information Services. The architecture of ASP.NET is outlined, including the role of compilation, the Page class and code-behind. Web Forms are introduced, including server controls, view state, life cycle, and the event model. Request/response HTTP programming using ASP.NET is covered.


Visual Studio 2012 is used to greatly simplify the development of ASP.NET Web applications, including facilitating UI design. ASP.NET Web applications are covered, including issues of application and session state and the use of cookies. Server controls represent an important innovation in ASP.NET and are covered in detail, including validation, rich controls, and user controls. There is an introduction to caching in ASP.NET, which provides an effective mechanism for optimizing the performance of your ASP.NET application. The fundamentals of configuration and security are introduced. Diagnostics and debugging are covered, including the use of tracing.


Additional server controls are introduced, including menus and master pages. Data access is covered in some detail in two chapters, including an introduction to ADO.NET, Language Integrated Query (LINQ), the Entity Data Model (EDM) and the powerful data access controls provided by ASP.NET 4.5. The LocalDB version of SQL Server 2012 Express is used as the database. There is further discussion of security using membership and roles, and personalization features such as themes, skins and Web parts are introduced. This section of the course is tied together by a progressive case study illustrating a Web site for a publishing company.


The final section of the course introduces rich client-side development with ASP.NET AJAX and use of the ASP.NET MVC framework. An appendix covers customizing the HTTP pipeline through the Application class, HTTP handlers, and HTTP modules. Another appendix covers hosting ASP.NET applications on IIS 7.5.


Numerous programming examples and exercises are provided, including case studies. The student will receive a comprehensive set of notes and all the programming examples.




         Gain a thorough understanding of the philosophy and architecture of Web applications using ASP.NET

         Acquire a working knowledge of Web application development using Web Forms and Visual Studio 2012

         Optimize an ASP.NET Web application using configuration, security, and caching

         Access databases using ADO.NET, LINQ and the Entity Data Model

         Use newer features in ASP.NET

         Implement rich client applications using ASP.NET AJAX

         Create Web applications using the Model-View-Controller design pattern


Audience: This course is designed for experienced application developers and architects responsible for Web applications in a Microsoft environment.


Prerequisites: The student should have a good working knowledge of C# and the .NET Framework. Knowledge of JavaScript is recommended for the AJAX chapter.


1.      Introduction to ASP.NET

Web Application Fundamentals

Using Internet Information Services

Web Forms


Web Services

ASP.NET Features


2.      Web Forms Architecture

Page Class

Web Forms Life Cycle

Web Forms Event Model



3.      ASP.NET and HTTP

Request/Response Programming

HttpRequest Class

HTTP Collections

HttpResponse Class


HttpUtility Class


4.      Web Applications Using Visual Studio

Using Visual Web Developer

Visual Studio Forms Designer

Using Components

Shadow Copying

Using the Global.asax File

Data Binding


5.      State Management and Web Applications

Session State

Application State

Multithreading Issues



6.      Server Controls

HTML Server Controls

Web Forms Server Controls

Rich Controls

Validation Controls

User Controls


7.      Caching in ASP.NET

What Is Caching?

Page-Level Caching

Page Fragment Caching

Optimizing Your ASP.NET Application

Application Caching


8.      ASP.NET Configuration and Security Fundamentals

Configuration Overview

Authentication and Authorization

Forms Authentication

Windows Authentication

Security and ASP.NET


9.      Debugging, Diagnostics and Error Handling


Application Tracing

Page Tracing

Error Handling


10. More Server Controls

Newer ASP.NET Controls


Master Pages


11. ADO.NET and LINQ

ADO.NET Overview

.NET Data Providers



DataReaders and Connected Access

Data Sets and Disconnected Access

Language Integrated Query


12. Data Controls and Data Binding

Data Source Controls

Connection String Storage




Object Data Sources



Entity Data Model



13. Personalization and Security

Configuration Overview



Security in ASP.NET 4.0

Membership and Roles

Login Controls

User Profiles



Rich Client Applications




AJAX Client Library

Remote Method Calls

AJAX Control Toolkit



Model-View-Controller Pattern

What is ASP.NET MVC?

ASP.NET MVC versus Web Forms

ASP.NET MVC Projects in Visual Studio


Action Methods and Routing


Strongly-Typed Views

Model Binding



Appendix A. Learning Resources


Appendix B. HTTP Pipeline

Customizing the HTTP Pipeline





Appendix C. Hosting in IIS 7.5


Installing IIS 7.5

IIS Manager

ASP.NET with IIS 7.5


System Requirements


Required software is Visual Studio 2012, Professional Edition or higher, and the LocalDB version of SQL Server 2012 Express Edition (bundled with Visual Studio 2012). The recommended operating system is Windows 7. Internet Information Services should be installed. See the course Setup Notes for details.


A good minimal hardware profile for this course would have a 1.8 GHz or equivalent CPU, 2 GB of RAM, and at least 10 GB of free disk space for tools installation and courseware.