ASP.Net is a web programming framework built on the Common Language Runtime that can be used on a server to build powerful Web applications.
Put simply, ASP.Net allows you to customise the content of your website’s pages by executing code on the webserver. For example, you may want to change the output of your pages based on
o the time the page was requested
o the geographic location of your user
o the contents of a database
ASP.Net allows you to do all these things, and more. ASP.Net offers several important advantages over previous Web development models such as ASP 3.0 (Classic ASP).
COURSE AIM
This course provides a comprehensive introduction to ASP.NET for students wishing to further develop their understanding of, and ability to creatively use the internet. By the end of the course, the student should be able to easily understand all the major aspects of ASP.NET and use it to produce their own web applications.
Pre-requisites
This course assumes that the student has a good knowledge of basic HTML. Students must have access to a computer with an internet connection and Visual Studio installed. (Students of all our computer courses can purchase the software required at a greatly discounted price or academic pricing. Speak to your local computer software retailer for more information).
COURSE STRUCTURE (More Detail below)
There are 11 lessons as follows:
- Introduction
- VB.NET Essentials
- Web Forms
- Web Server Controls
- Form Validation
- Classes and Namespaces
- Creating ASP.NET Applications
- ADO.NET
- Error Handling
- Email from your Applications
- Project: Creating an Online Store
SUMMARY OF COMPETENCIES DEVELOPED
On successful completion of the course you should be able to do the following:
- Understand the .NET framework and the advantages of ASP.NET over other web based languages.
- Understand the basics of Visual Basic .NET (VB.NET).
- Understand how web forms work including how and when to use them.
- Understand web server controls and how to use them to enhance asp.net web applications.
- Understand how to use web forms validation to control what information is accepted by a web form.
- Understand classes and namespaces in ASP.NET.
- Understand what web applications are and how to create them.
- Understand the basics of databases and data access technologies used in ASP.NET.
- Understand how to handle errors in your website application and how to "debug" to prevent errors.
- Understand how to send email from your web application.
- Develop a completed online store web application.
WHAT THE COURSE COVERS
Here are just some of the things you may be doing:
- Define "code behind"
- Learn what ASP.NET is.
- Define many different types of variables.
- Define what a subroutine is.
- Define what a function is.
- Work with webforms and note advantages over traditional html forms.
- Explain how & when Web Controls are used.
- Explain the difference between ASP server side controls and standard html controls.
- Create a web form that asks for a person’s details.
- Select two validation controls and explain their benefits.
- Create code for a page that asks for a file name and then creates that file on the local hard drive.
- Define what a "namespace" is and give examples of two namespaces.
- What is the web.config file and what is it used for?
- Explain the difference between application & session events.
- Create a small ASP.NET application that uses a database, admin section and front page.
- Explain the difference between page level tracing and application level tracing.
- Create an Email contact page.
- Create an Online Shopping application.
Duration: 100 hours
LESSON CONTENTS
The eleven lessons in this module are each outlined below:
1. Introduction
- What is ASP.Net
- Enhanced Performance,
- World-Class Tool Support
- Power and Flexibility
- Simplicity
- Manageability
- Scalability and Availability
- Customizability and Extensibility
- Security
- Required Software
- Visual Web Developer Express Edition
- Visual Studio.NET 2005
- Internet Information Services (IIS)
- A Simple Asp.Net Page
- Programming Exercise -Running the Example in Visual Web Developer
2. VB.NET Essentials
- What Are Variables?
- Arrays
- Kinds of Variables (Data types)
- Integer variables
- Long integer variables
- Single precision floating point variables
- Double precision floating point variables
- Assigning Variable Values
- Operator Precedence
- Strings
- Hard Coding Variables
- Program Flow and Branching
- conditional branching
- unconditional branching
- If Statements
- If...Else Statements
- Select Statements
- Looping
- For Loop
- While Loops
- Other Types of Loops
- Looping Summary
- Hungarian Notation
- Functions
- Subroutines
- Programming Exercise -Using Variables
3. Web Forms
- Using CSS and Master Pages
- Master Pages
- Content Page vs. Master Page
- Creating a Master Page
- Default Master Content
- Web Forms
- A Basic Introduction to HTTP
4. Web Server Controls
- Server Controls
- HTML Controls
- ASP.NET Controls
- Validation Controls
- Programming Exercise -Creating a Form to Capture User Details
- Raising and Handling Events
- Postback Architecture
5. Form Validation
- Required Field Validator
- Compare Validator
- Regular Expression Validator
- Range Validator
- Custom Validator
6. Classes and Namespaces
- OOP Concepts
- Fields, Properties, Methods, and Events
- Encapsulation, Inheritance, and Polymorphism
- Overloading, Overriding, and Shadowing
- Access Levels
- Constructors and Destructors
- Namespaces
7. ASP.NET Applications
- Page Lyfescycle
- Events in the Life Cycle of Page
- Page Methods
- Site Model
8. Interacting with Databases
- Database basics
- Creating a Database
- Connecting to a Database
- Coding Connections
- Reading from a Database
- Executing the Query
- Stepping through the SQL Result
- Writing to a Database
- Adding New Records
- Updating Records
- Closing the Connection
- Data Binding
9. Error Handling
- Introduction
- Exceptions
- Trapping Errors
- Try … Catch
- Logging Exceptions
- Using Web.config file
10. Email from Your Applications
- System.net,mail Namespace
- SMTP
- Sending a Simple Email
- Using the Mailmessage Class
11. Project: Creating an Online Store
- Systems Development Lifecycle
- System Request
- Analysis and Design
- Programming
- Testing and Acceptance
- Installation/ Implementation
- Maintenance
- Using Interface Design (UID)
- Project