Introduction to ASP.NET

basiliskcanoeSoftware and s/w Development

Nov 2, 2013 (3 years and 9 months ago)

81 views

Introduction to ASP.NET

MIS 324

Professor Sandvig

Outline


Why ASP.NET?


.NET Framework


ASP.NET Features


Object Oriented


Event driven


Server controls



Summary


Why ASP.NET?


Industrial Strength


Full Featured


Security, logging, performance, etc.


Highly integrated with Visual Studio



.NET aimed at corporate users


Employers of WWU graduates



Designed for large, complex projects

.NET


PHP/ASP






.NET

.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

.NET Framework


Two major components:

1.
Common Language Runtime (CLR)


Manages compilation, memory, security,
exceptions, garbage collection, etc.


Technical details outside scope of this class


2.
Class Library…



.NET Class Library


Classes are pre
-
written code


Web server controls, access data,
manipulate data, send email, etc.…


Classes are grouped into Namespaces



.NET Class Library


.NET Features

1.
Object Oriented

2.
Web Server Controls

3.
Visual Studio

1. Object Oriented


Advantages:


Encapsulation


Compartmentalize functionality into classes


Messy details hidden inside the class


Need to understand only the class interface


Reusability


Build once, test, reuse many times


Important for large/complex projects



Object Oriented


Disadvantages


Abstract concepts


New terminology



OOP concepts & terminology are universal

2. Web Server Controls


Allow separation of code and presentation


Code generates data


Assign output to web server controls


Server controls display


Advantages:


We write less HTML &
Javascript


Control data automatically saved


Device sensitive


Disadvantage:


Must learn control features


2. Web Server Controls


Example:


Hello.aspx


3. Visual Studio


Integrated Development Environment


Features:


Drag & drop


Web Server Controls


IntelliSense


Syntax checking


pop
-
up class documentation


Debugger


Integration with
Sql

Server



HUGE time saver


Faster learning

Summary


ASP.NET


Sophisticated


State
-
of
-
the
-
art programming technology


Tremendous functionality


Complex!!


Be prepared to work hard


Fun!!