Download presentation
Presentation is loading. Please wait.
Published byMavis Watson Modified over 9 years ago
1
CIS 451: ASP.NET Concepts Dr. Ralph D. Westfall January, 2009
2
.NET Framework all code (regardless of language) is compiled into Microsoft Intermediate Language (MSIL) much like Java's "bytecode" from JVM.NET languages e.g., C#, VB.NET, etc. adhere to.NET standards so they can be compiled into MSIL
3
.NET Framework - 2 common language runtime (CLR) interfaces MSIL code files with each other and with Windows, regardless of original language.NET Framework class libraries can be included in your code to do a lot of useful things (e.g., connect to a database, send email, etc.)
4
.NET Framework - 3 ASP.NET makes it possible for MSIL code to work on the Internet ASP 3.0 only worked with VBScript ASP.NET can work with any language that can be compiled into MSIL
5
ASP.NET 2.0 WebForms used to create the user interface and ASP.NET code behind it programmer creates a web page (.aspx) file and drags/drops UI controls onto it web page is largely in HTML code Visual Studio often creates a "code behind" (.aspx.vb) file that handles the logic and runs on the server side
6
WebForm Demo create an ASP.NET Web Application set Layout>Positions>Auto-position check Change and Snap add 2-3 tables from Toolbox HTML area Table>Insert>Table [set rows, columns, etc.] drag and drop to where you want them can drag sides to change all cell sizes or individually in TD style property
7
WebForm Demo - 2 create several UserControls add controls from Toolbox WebForms area view HTML and then with Debug>Start adjust table size etc. and view again
8
WebForm Advantages clean separation between "presentation" code on client side and logic on server side makes easier to update: programmer can change either part without the other most controls used in Windows applications can also be used on web in other words, a lot of useful controls
9
Performance code compiles as being written rather than when user views pages can update without restarting server when a page is requested, a copy is cached in memory for requests by other users Microsoft said ASP used 75% less code and ran 28 times faster than J2EE Microsoft said
10
Reliability detects and recovers from deadlocks and other errors if a process has a "memory leak," a new process handles new users gets all new users original shuts down after its users finish fewer server restarts required
11
Sources http://www.codeproject.com/aspnet/we bforms.asp http://www.codeproject.com/aspnet/we bforms.asp http://www.asp.net/whitepaper/whyasp net.aspx?tabindex=0&tabid=1 http://www.asp.net/whitepaper/whyasp net.aspx?tabindex=0&tabid=1 http://www.samspublishing.com/library /content.asp?b=Net_2003_21days&seq Num=63 http://www.samspublishing.com/library /content.asp?b=Net_2003_21days&seq Num=63
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.