Introduction to ASP'NET - PowerPoint PPT Presentation

1 / 14
About This Presentation
Title:

Introduction to ASP'NET

Description:

Introduction to ASP.NET. BCS2203. Web Application Development. Nor Azhar Bin Ahmad. Outline ... Why ASP.NET? Industrial Strength. ASP & PHP fine for small sites ... – PowerPoint PPT presentation

Number of Views:261
Avg rating:3.0/5.0
Slides: 15
Provided by: busi378
Category:
Tags: asp | net | asp | introduction | net

less

Transcript and Presenter's Notes

Title: Introduction to ASP'NET


1
Introduction to ASP.NET
  • BCS2203
  • Web Application Development
  • Nor Azhar Bin Ahmad

2
Outline
  • Why ASP.NET?
  • .NET Framework
  • ASP.NET Features
  • Object Oriented
  • Event driven
  • Server controls
  • Summary

3
Why ASP.NET?
  • Industrial Strength
  • ASP PHP fine for small sites
  • Lack structure
  • Poor separation of code content
  • .NET aimed at corporate users
  • Employers of UMP graduates
  • Full-featured
  • Highly customizable

4
.NET
  • PHP/ASP
  • .NET

5
.NET Framework
  • Create both web Windows applications
  • Different interface
  • Same plumbing
  • Support for many languages
  • VB, C, J, Java, C, PERL, Python, Effiel,
    Cobol, ..
  • 15 in development
  • Runs on several operating systems
  • Windows, Unix
  • Under development Linux FreeBSD
  • Mono project

6
.NET Framework
  • Two major components
  • Common Language Runtime (CLR)
  • Manages compilation, memory, security,
    exceptions, garbage collection, etc.
  • Technical details outside scope of this class
  • Class Library

7
.NET Class Library
  • Library contains 5,000 classes
  • Classes are pre-written code
  • Web server controls, access data, manipulate
    data, send email, etc.
  • Classes are grouped into Namespaces
  • .NET Class Library
  • Class Library is like a huge Lego set

8
.NET Features
  • Object Oriented
  • Event Driven
  • Web Server Controls
  • Visual Studio

9
1. Object Oriented
  • Advantages
  • Reusability
  • Build once, test, reuse many times
  • Important for large/complex projects
  • Disadvantages
  • Abstract concepts
  • New terminology
  • OOP concepts terminology are universal

10
2. Event Driven
  • Code executes in response to events
  • Typical events
  • User clicks a button
  • User adds or changes text in a textbox
  • User clicks radio button
  • Web form is posted to server
  • Triggers many other events
  • We write code to handle events
  • Advantage
  • Code more organized

11
3. Web Server Controls
  • Controls that write HTML JavaScript
  • Replaces response.write (ASP) echo (PHP)
  • Advantages
  • We write less HTML Javascript
  • Validation controls
  • Control data automatically saved
  • Device sensitive
  • Disadvantage
  • Must learn control features

12
3. Web Server Controls
  • Three types
  • Simple
  • textbox, button, checkbox, dropdownlist, label,
    etc.
  • Validation Controls
  • Validate user inputs
  • Rich Controls
  • Calendar, navigation, ad-rotator
  • Example
  • Hello.aspx

13
4. Visual Studio
  • Integrated Development Environment
  • Features
  • Drag drop
  • Web Server Controls
  • IntelliSense
  • Syntax checking
  • pop-up class documentation
  • Debugger
  • HUGE time saver
  • Faster learning

14
Summary
  • ASP.NET
  • Sophisticated
  • State-of-the-art programming technology
  • Tremendous functionality
  • Complex!!
  • Be prepared to work hard
  • Fun!!
Write a Comment
User Comments (0)
About PowerShow.com