ASP.NET

Learn how to use ASP.NET, including programming essentials, forms, web server controls, form validation, classes, namespaces, applications, database interaction, error handing, email and creating an online store.

Course Code: BIT200
Fee Code: S4
Duration (approx) Duration (approx) 100 hours
Qualification Statement of Attainment
Get started!

GAIN PROGRAMMING SKILLS THAT PEOPLE ACTUALLY WANT!

ASP.Net programmers are the most sought after for writing web sites. Whilst there is an oversupply of programmers skilled in some languages, there is heavy demand for skilled ASP.Net Programmers. This course provides a comprehensive introduction to ASP.Net. By the end of the course, you should be able to easily understand all the major aspects of ASP.Net and use it to produce your own database driven web applications.

 

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 internet access. Students are required to install Visual Web Developer Express Edition -- this is a free download from Microsoft.

 

WHAT IS ‘MICROSOFT.NET’?

Microsoft explains the concept of .NET in these words:

“Microsoft® .NET is a set of Microsoft software technologies for connecting information, people, systems, and devices. It enables a high level of software integration through the use of Web services—small, discrete, building-block applications that connect to each other as well as to other, larger applications over the Internet.”

 

Microsoft’s ‘.NET’ platform was released in 2001 as a new feature to their Windows family of products, and with regular improvements since then has become one of the most important languages used in web site programming. This affects many aspects of Information Technology because Windows products are responsible for a major share of home and office computers systems and website servers on the Internet. The technology behind .NET allows programmers (often called ‘developers’) to create software programs or applications that utilise the wide spectrum of information technology resources used every day by people around the world.

 

A NEW APPROACH TO BUILDING WINDOWS SOFTWARE

The .NET Framework simplifies Windows software development. It provides developers with a single approach to build both desktop applications - sometimes called ‘smart client applications’ - and Web-based applications. It also enables developers to use the same tools and skills to develop software for a variety of systems ranging from handheld smart phones to large server installations.

Software built on the .NET Framework can be easier to deploy and maintain than conventional software. Applications can be designed to automatically upgrade themselves to the latest version. The .NET Framework can also minimize conflicts between applications by helping incompatible software components coexist.

Lesson Structure

There are 11 lessons in this course:

  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
    • 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
    • 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 Lifecycle
    • 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

Each lesson culminates in an assignment which is submitted to the school, marked by the school's tutors and returned to you with any relevant suggestions, comments, and if necessary, extra reading.

Aims

  • 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 You Will Do

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

Do You Understand?

  • The following is an extract from the course. If you understand this, you should be able to cope with this course.
  • If you do not understand this; you are advised to complete our HTML course before attempting this course.
 
Variables
 
When you input data (i.e. information) into a computer the data is stored in the computer’s memory. To visualise this, you might think of the computer’s memory as millions of little boxes, each holding a single value. Normally, each box is numbered starting at zero. As a computer uses binary numbers (made up of 0s and 1s), the boxes may be numbered something like this: 10100010, which is 162 in decimal.

The actual number of boxes depends on the amount of memory in the specific computer. When data is put into the computer, the computer stores the data in the boxes that are part of the computer’s Random Access Memory (RAM), and the numbers of those boxes is referred to as the memory addresses.

Obviously, for humans to refer to memory addresses by their binary index would be very difficult, so programming languages use a device called a variable. A variable is a word label that the programmer assigns to a piece of data, so they don’t need to worry about where it is stored in memory or how to tell the computer where to find it.

Variables are simple memory boxes with names. You, the programmer, supply these names.

For example, the following lines first declare a variable called myAge of data type Integer (it will store whole numbers), and then assigns the integer value 25 to myAge:

Dim myAge As Integer

myAge = 25

When you declare a variable, you must give it a name (the compiler will claim some memory space and associate the name with the binary address), and specify the type of data that will be stored in that variable. The keyword Dim (short for dimension) instructs the compiler to claim some memory space, set its name, and define the data type that will be stored in it.

At this point, the variable will be empty (for Integers, "empty" is equivalent to 0). In the example above, the second line stores the value 25 in the variable named myAge. This is called initialising a variable. It is important to initialise variables as soon as you have declared them, to prevent the possibility of Null exceptions, even if you don’t know what value it will eventually hold (e.g. you will be getting data from the user later in your program).

Variables can represent almost any value, and can be used in mathematical operations.

When naming your variables, there are a few rules you must follow to comply with the formal syntax for Visual Basic.NET. Variable names:

  • Must start with a letter (a to z, A to Z)
  • Can contain any number of letters or digits (a digit is 0 to 9)
  • Can contain the underscore (e.g. _)
  • Can be up to 255 characters long

Visual Basic .NET is not case sensitive. This means that once a variable named, say ‘width’ is declared, you cannot then declare another variable named, say ‘Width’; to VB, the two names are considered identical. There are several different naming conventions used in programming; a popular style, Hungarian Notation, is described below. Make your variable names suggestive of what the variable represents, to increase readability of your code. Also, try to keep your names short and concise. It doesn’t matter which naming style you decide to use, but be consistent, as changing styles throughout a program may make it hard to understand and maintain.

 

ACS Distance Education holds an Educational Membership with the ATA.
ACS Distance Education holds an Educational Membership with the ATA.
Member of Study Gold Coast Education Network.
Member of Study Gold Coast Education Network.
ACS Global Partner - Affiliated with colleges in seven countries around the world.
ACS Global Partner - Affiliated with colleges in seven countries around the world.
Since 1999 ACS has been a recognised member of IARC (International Approval and Registration Centre). A non-profit quality management organisation servicing education.
Since 1999 ACS has been a recognised member of IARC (International Approval and Registration Centre). A non-profit quality management organisation servicing education.
UK Register of Learning Providers, UK PRN10000112
UK Register of Learning Providers, UK PRN10000112

How can I start this course?

You can enrol at anytime and start the course when you are ready. Enrolments are accepted all year - students can commence study at any time. All study is self paced and ACS does not set assignment deadlines.

Please note that if a student is being assisted by someone else (e.g. an employer or government subsidy), the body offering the assistance may set deadlines. Students in such situations are advised to check with their sponsor prior to enrolling. The nominal duration of a course is approximately how long a course takes to complete. A course with a nominal duration of 100 hours is expected to take roughly 100 hours of study time to complete. However, this will vary from student to student. Short courses (eg. 100 hrs duration) should be completed within 12 months of enrolment. Certificates, Advanced Certificates and Awards (eg. over 500 hours duration) would normally be completed within 3 -5 years of enrolment. Additional fees may apply if a student requires an extended period to complete.
If a student cannot submit their assignments for 6 months to ACS, they should advise the school to avoid cancellation of their student
registration. Recommencement fees may apply.

Simply click on the ENROL OPTIONS button at the top of this screen and follow the prompts.

You can see the course price at the top of this page. Click 'enrolment options' to see any payment options available.

You can pay by Credit Card, PayPal, Afterpay or bank transfer.

Yes! We have payment plans for most courses. Click 'enrolment options' to see the available payment plans.
We also have Afterpay that will allow you to pay for your course or payment plans in four instalments (if you are in Australia).


What do I need to know before I enrol?

There are no entry requirements that you need to meet to enrol in our courses, our courses are for everyone.
If you are under 18, we need written permission from your parent/ guardian for your enrolment to continue, we can arrange that after you have enrolled.

You don’t need to purchase any additional resources to complete our courses.

We aim to teach you the essentials without you having to purchase any specific computer program.
We recommend that you have access to a word processing program, such as Microsoft Word or Google Docs, so that you can easily complete and submit your assignments.

You sure can. We are here to help you learn whatever your abilities.

Yes, if you are enrolling in a Certificate or Advanced Certificate, you might be eligible for credits if you have evidence of your previous studies or relevant experience. More information is here.

We recommend that you are able to browse websites, send emails and conduct online research. You will need to be able to type and submit your assignments.
If you have limited computer skills, we can make special arrangements for you.

This is possible, it depends on the institution. We recommend that if you would like to use our courses that you contact the institution first. Our Course Handbook is a good resource for this.

Our courses are written in English and we only have English speaking academic staff. If you can read and complete your assignments in English, our courses are ideal for you.

Our courses are designed to build knowledge, hands on skills and industry connections to help prepare you to work in the area, running your own business, professional development or as a base for further study.

This course has been designed to cover the fundamentals of the topic. It will take around 100 hours to complete, which includes your course reading, assignment work, research, practical tasks, watching videos and anything else that is contained in the course. Our short courses are a great way to do some professional development or to learn a new skill.

It’s up to you. The study hours listed in the course are a rough guide, however if you were to study a short course (100 hours) at 10 hours per week, you could finish the course in 10 weeks (just an example). Our courses are self-paced, so you can work through the courses in your own time. We recommend that you wait for your tutor to mark and return your assignment before your start your next one, so you get the benefits of their feedback.

The course consists of course notes, videos, set tasks for your practical work, online quizzes, an assignment for each lesson (that you receive feedback from your tutor from) and ends in an exam (which is optional, if would like to receive the formal award at the end), using our custom built Learning Management System - Login.Training.

Our courses are designed for adults to gain professional development and skills to further their careers and start businesses.

Our custom online learning portal allows you to conduct your learning online. There may be practical tasks that you can do offline. You have the option of downloading your course notes or print them to read later.

There is also the option to pay an additional fee for printed course notes and or USB (availability limited to location and deliverability).

Yes, if you don’t have access to the internet, you can receive the course as paper notes or on a USB stick for an additional fee. We can also make alternative arrangements for you to send your assignments to us.

We offer printed notes for an additional fee. Also, you can request your course notes on a USB stick for an additional fee.

Yes, your tutor is here to help you. Simply post any questions you have in your login.training portal or contact the office and we can pass on a message to your tutor.

We are more learning focussed, rather than assessment focussed. You have online quizzes to test your learning, written assignments and can complete an exam at the end of the course (if you want to receive your certificate). You will not receive a pass/ fail on your course work. If you need to add more details on your assignment, we will ask you to resubmit and direct you where you need to focus. If you need help, you can ask your tutor for advice in the student room.

Each module (short course) is completed with one exam.

Exams are optional, however you must sit an exam if you would like to receive a formal award. You will need to find someone who can supervise that you are sitting the exams under exams conditions. There is an additional cost of $60 incl. GST for each exam.
More information is here

There are practical components built into the course that have been designed to be achieved by anyone, anywhere. If you are unable to complete a task for any reason, you can ask your tutor for an alternative.

When you complete the course work and the exam and you will be able receive your course certificate- a Statement of Attainment. Otherwise, you can receive a Letter of Completion.

You can bundle the short courses to create your own customised learning bundle, Certificates or Advanced Certificates. More information is on this page.

Yes, our courses are built to be applicable for people living anywhere in any situation. We provide the fundamentals, and each student can apply their own unique flair for their own interests, region and circumstances with the one-on-one guidance of a tutor. There is also a bit of student directed research involved.

Employers value candidates with industry skills, knowledge, practical skills and formal learning. Our courses arm you with all of these things to help prepare you for a job or start your own business. The longer you study the more you will learn.

ACS has an arrangement with OAMPS (formerly AMP) who can arrange Professional Indemnity from Australian and New Zealand graduates across all disciplines. Ph: 1800 222 012 or email acs@oamps.com.au.


Who are ACS Distance Education?

ACS Distance Education have been educating people for over 40 years.

We are established and safe- we have been in education for over 40 years.
We are focused on developing innovative courses that are relevant to you now and what you will need to know in the future.
We are focused on helping you learn and make the most of your experience.
You can enrol at any time, you can work on your course when it suits you and at your own pace.
We are connected to many industry bodies and our staff participate in continuous improvement and learning activities to ensure that we are ahead of what learning is needed for the future.

Our courses are not accredited by the Australian Government. However many of our courses are recognised and held in high regard by many industry bodies.

Our courses are written by our staff, who all have many years experience and have qualifications in their speciality area. We have lots of academic staff who write and update our courses regularly.


How do I enrol my staff/ sponsored students?

Yes, you can do a request for a bulk enrolment and request an invoice on our Invoice Request Form

We can prepare an invoice, quote or proforma invoice. Simply complete your details on our Invoice Request form

We can arrange bulk discounts for your course enrolment, please get in touch with us to discuss your needs.

Yes, we have many students who are in locked facilities, such as prisons or hospitals. We can cater by also offering paper notes at an additional cost.


What if I have any more questions or need more information?

We can assist you to find the right course for your needs. Get in touch with us via email (admin@acs.edu.au) call on +61 7 5562 1088 or complete our course advice form.


What if I change my mind?

Please get in touch with studentservices@acs.edu.au if you would like to be removed from our mail list.

If you would like ACS Distance Education to delete your information at any time (whether you are a customer or a prospective customer), please contact our privacy officer and we will process this ( admin@acs.edu.au ).




Course Contributors

The following academics were involved in the development and/or updating of this course.

Josiane Joubran

CSC consultant with IBM, Software QA Engineer, Course Writer and Tutor. Josiane is an I.T professional with extensive experience with computer hardware and engineering in Lebanon and Australia. Josiane has a B.Eng., Grad.Dip.I.T., Master Info.Tech., MCP, MCSE.

Sarah Jury

Over 15 years working in small business, I.T., education and science. Sarah has a PGCE(Post Compulsory Education), BSc(Hons) (Genetics), DipComp(Open), CertWebApps(Open).
She has designed and created several Web sites for different organisations.

Dr. Sherif Sakr

Research Scientist and University Lecturer in Computer Science and Engineering. Sherif has a PhD in Computer Science, MSc, BSc.

Need Help?

Take advantage of our personalised, expert course counselling service to ensure you're making the best course choices for your situation.


I agree for ACS Distance Education to contact me and store my information until I revoke my approval. For more info, view our privacy policy.