01-05-2013, 12:55 PM
Introduction to ASP.NET and Web Forms
Introduction to ASP.NET.ppt (Size: 960 KB / Downloads: 22)
BackgroundWhat is ASP?
Server-side programming technology
Consists of static HTML interspersed with script
ASP intrinsic objects (Request, Response, Server, Application, Session) provide services
Commonly uses ADO to interact with databases
Application and session variables
Application and session begin/end events
ASP manages threads, database connections, ...
BackgroundASP Successes
Simple procedural programming model
Access to COM components
ActiveX Data Objects (ADO)
File System Object
Custom components
Script-based: no compiling, just edit, save & run
VBScript, JScript – leverages existing skills
Support for multiple scripting languages
ASP has been very popular
ASP.NET Overview
ASP.NET provides services to allow the creation, deployment, and execution of Web Applications and Web Services
Like ASP, ASP.NET is a server-side technology
Web Applications are built using Web Forms
Web Forms are designed to make building web-based applications as easy as building Visual Basic applications
Automatic Compilation
Just edit the code and hit the page
ASP.NET will automatically compile the code into an assembly
Compiled code is cached in the CLR Assembly Cache
Subsequent page hits use compiled assembly
If the text of the page changes then the code is recompiled
Works just like ASP: edit, save and run