Purdue School of Engineering and Technology

Purdue School of Engineering and Technology

Introduction to ASP.Net Programming

CIT 24200 / 3 Cr.

This course will provide students with the tools and techniques to build dynamic Web sites using the ASP.Net programming environment. Students gain hands-on experience building a database-driven Web site.

  • Visual Studio

Course Outcomes (What are these?)

  • Explain the three pillars of object oriented programming. (CIT a)
  • Develop working knowledge of C# programming constructs and the .NET Framework. (CIT a)
  • Write an object oriented program using custom classes. (CIT c)
  • Build and debug well-formed Web Forms with ASP. NET Controls. (CIT c)
  • Perform form validation with validation controls. (CIT c)
  • Create custom controls with user controls. (CIT i)
  • Use ADO.NET in a web application to read, insert, and update data in a database. (CIT i)

CIT Student Outcomes (What are these?)

(a) An ability to apply knowledge of computing and mathematics appropriate to the program’s student outcomes and to the discipline.

(c) An ability to design, implement, and evaluate a computer-based system, process, component, or program to meet desired needs.

(i) An ability to use current techniques, skills, and tools necessary for computing practice.

  • .NET and Visual Studio
  • C# Language Basics
  • Object Oriented Programming Concepts
  • Web Forms and Controls
  • Debugging and Error Handling
  • Managing Your Website
  • Validation
  • Working with Data
  • Rich & User Controls
  • State Management
Principles of Undergraduate Learning (PULs)

1b. Identify and propose solutions for problems using quantitative tools and reasoning.

1c. Make effective use of information resources and technology.

3. Integration and Application of Knowledge

4. Intellectual Depth, Breadth, and Adaptiveness

What You Will Learn

Intro to .NET and Visual Studio

  • Successfully install Visual Studio
  • Describe the difference between server-side and client-side programming and name one advantage and disadvantage of each.
  • List and describe the components of the .NET Framework.
  • Locate and describe the purpose of the Visual Studio IDE elements
  • Explain the three sections of a basic web page: page directive, doctype, and XHTML with ASP web controls.
  • Distinguish between XHTML elements and attributes.
  • Describe the three ways to add an event handler for a control.
  • Create, build and run a simple Web application.

C# Language Basics

  • Explain the general structure of a C# program.
  • Declare variables of different data types.
  • Explain the difference between initialization and assignment.
  • Use operators and expressions to do work in your program.
  • Evaluate an expression based on operator precedence.
  • Utilize conditional statements to make decisions within your program.
  • Utilize loop structures to do work in your program.
  • Declare and use arrays to store and retrieve data from memory.

OOP Concepts

  • Define the three OOP pillars: encapsulation, inheritance and polymorphism.
  • Define class and distinguish among its three components: name, attributes and operations.
  • Explain, to a non-programmer, the difference between a class and an object.
  • Given a description, draw a Class Structure Diagram to describe a class.

Web Forms and Controls

  • Explain the anatomy of an ASP.NET application.
  • Explain the web page life cycle to a non-computer person.
  • Create basic web pages with appropriately used web controls.
  • Explain the purpose of the web.config file.
  • Explain event handling and page postback.
  • Be able to diagram the order in which events are fired on a web page.

Debugging and Error Handling

  • Explain the importance of error handling.
  • Define exception handlers.
  • Utilize the Exception class to catch and handle exceptions.
  • Log Messages to the Event Log.
  • Implement custom error pages.
  • Utilize tracing to find errors.
  • Use the Debugger to step through a program and view object state.

Managing Your Website

  • Understand the basic of the CSS standard and how it applies to web controls.
  • Create a style sheet.
  • Apply a theme to an entire website.
  • Implement a master page.
  • Create user-friendly navigation utilizing a site map.


  • Use the five Validator controls.
  • Create a regular expression to match input to a specified pattern.
  • Use validation summary and validation groups.
  • Select the best Validator control for a specific purpose.

Working with Data

  • Explain what ADO.NET technology is and how .NET applications use it to interact with a database.
  • Use ADO.NET in a web application to read, insert, and update data in a database.
  • Bind data to controls on an ASP.NET web page.
  • Implement a master page.
  • Explain the differences between the GridView, DetailsView, ListView, and FormView data controls.

Rich & User Controls

  • Explain the basics of a rich control and how rich controls are used in web forms.
  • Insert and utilize the Calendar control.
  • Apply the AdRotator control within a website.
  • Create a user control.

State Management

  • Use the ViewState collection to store and retrieve data on a page.
  • Use custom cookies to store & retrieve data.
  • Store & retrieve data using session state.
  • Configure session state for your application.
  • Explain the differences between view state, session state and custom cookies.
  • Transfer information between pages using cross-page posting and query strings.
  • Store global objects using application state.