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.8


This five-day course provides a comprehensive and practical hands-on introduction to developing Web applications using ASP.NET and Visual Studio 2017. 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 and the use of Web API to create HTTP services. A final chapter introduces ASP.NET on Microsoft’s Azure cloud.


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 2017 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. The LocalDB version of SQL Server 2016 Express is used as the database. 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 four important ASP.NET technologies: ASP.NET AJAX, ASP.NET MVC, ASP.NET Web API, and ASP.NET on Azure.


An 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 2017

·         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

·         Create HTTP services using ASP.NET Web API

·         Deploy an ASP.NET Web application to the Azure cloud


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. Some familiarity with 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




Rich Client Applications




AJAX Client Library

Remote Method Calls



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





Representational State Transfer

REST and Web API

HTTP Services Using Web API

Using Fiddler

Web API Clients


16. ASP.NET and Azure

What Is Windows Azure?

A Windows Azure Testbed

Deploying an Application to Azure

Updating an Application on Azure


Appendix A. Learning Resources


Appendix B. Hosting in IIS 7.5


Installing IIS 7.5

IIS Manager

ASP.NET with IIS 7.5


System Requirements


Required software is Visual Studio 2017, which includes LocalDB, a lightweight version of SQL Server 2016 Express. The free Visual Studio Community 2017 may be used. The operating system should be Windows 7SP1 or more recent.  The free Fiddler tool is also used. This can be downloaded from the Web. The last chapter requires a connection to the Internet and a Windows Azure account (a free trial account is available from Microsoft). See the course Setup Notes for details.


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