Download presentation
Presentation is loading. Please wait.
Published byJocelin Austin Modified over 9 years ago
1
Introduction to ASP.NET MIS 324 Professor Sandvig
2
Outline Why ASP.NET? .NET Framework ASP.NET Features Object Oriented Object Oriented Event driven Event driven Server controls Server controls Summary
3
Why ASP.NET? Industrial Strength Full Featured Full Featured Security, logging, performance, etc.Security, logging, performance, etc. Highly integrated with Visual Studio Highly integrated with Visual Studio .NET aimed at corporate users Employers of WWU graduates Employers of WWU graduates Designed for large, complex projects
4
.NET PHP/ASP .NET
5
.NET Framework Create both web & Windows applications Different interface Different interface Same plumbing Same plumbing Support for many languages VB, C#, J#, Java, C++, PERL, Python, Effiel, Cobol,..VB, C#, J#, Java, C++, PERL, Python, Effiel, Cobol,.. 15+ in development15+ in development Runs on several operating systems Windows, Unix Windows, Unix Under development: Linux & FreeBSD Under development: Linux & FreeBSD Mono projectMono projectMono projectMono project
6
.NET Framework Two major components: 1. Common Language Runtime (CLR) Manages compilation, memory, security, exceptions, garbage collection, etc.Manages compilation, memory, security, exceptions, garbage collection, etc. Technical details outside scope of this classTechnical details outside scope of this class 2. Class Library…
7
.NET Class Library Classes are pre-written code Web server controls, access data, manipulate data, send email, etc.… Web server controls, access data, manipulate data, send email, etc.… Classes are grouped into Namespaces .NET Class Library.NET Class Library.NET Class Library
8
.NET Features 1. Object Oriented 2. Web Server Controls 3. Visual Studio
9
1. Object Oriented Advantages: Encapsulation Encapsulation Compartmentalize functionality into classesCompartmentalize functionality into classes Messy details hidden inside the class Messy details hidden inside the class Need to understand only the class interfaceNeed to understand only the class interface Reusability Reusability Build once, test, reuse many timesBuild once, test, reuse many times
10
Object Oriented All modern programming languages support OOP OOP concepts & terminology are universal
11
2. Web Server Controls Advantages: Separation of code and presentation Separation of code and presentation Code provides logic & generate outputCode provides logic & generate output Server controls displayServer controls display We write less HTML & Javascript We write less HTML & Javascript Data saved in viewstate Data saved in viewstate Disadvantage: Must learn control featuresMust learn control features
12
2. Web Server Controls Example: Hello.aspx Hello.aspx Hello.aspx
13
3. Visual Studio Integrated Development Environment Features: Drag & drop Drag & drop Web Server ControlsWeb Server Controls IntelliSense IntelliSense Syntax checking Syntax checking pop-up class documentation pop-up class documentation Debugger Debugger Integration with Sql Server Integration with Sql Server HUGE time saver Faster learning Faster learning
14
Summary ASP.NET State-of-the-art programming technology State-of-the-art programming technology Tremendous functionality Complex!! Complex!! Be prepared to work hard Be prepared to work hard Fun!!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.