Reuven Abliyev Elyahu Sivaks Ariel Daliot
Reuven Abliyev Elyahu Sivaks Ariel Daliot
NET
Reuven Abliyev
Elyahu Sivaks
Ariel Daliot
What is ASP.NET?
Microsoft’s web page:
“Framework for writing dynamic, high-
performance Web applications”
O’Reilly Nutshell:
“Programming framework built on the common
language runtime that can be used on a web
server to build powerful Web applications”
In other words:
“Great web pages in a short time, less code”
Why ASP.NET? 10 years of
evolution in 10 slides
Why ASPnotNET?
Why HTML?
HTML – HyperText Markup Language
Commands denote certain text as
headings, paragraphs, lists, text format,
fonts, links, etc.
HTML is static – i.e. pages cannot
change on the request of the user, must
be changed explicitly
HTML Example
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Seminar in Software Design - 2005/6</title>
<link href="style.css" type="text/css" rel="stylesheet">
<style>
.detailprop {
font-size: 12pt;
font-weight: bold;
color: #003366;
}
</style>
</head>
<body>
<!-- large frame -->
<table cellpadding="0" cellspacing="0" width="100%" border="0"><tr><td style="padding-right:20px;">
<!-- /large frame -->
<table id="headerTable" cellpadding="0" cellspacing="0">
<tr>
<table id="content" cellpadding="0" cellspacing="0" width="100%" border="0">
<tr>
<td valign="top" width="150" style="padding-right:15px;">
<!-- Side menu-->
<table id="sidemenu" class="borderedtable" cellpadding="0" cellspacing="0" width="140">
<tr>
<td class="sidemenuitem" width="134">
<p align="center"><a href="index.html" ><font size="2" color="#000080">
Information</font></a></td>
</tr>
<td class="sidemenuitem" width="134" align="center"><a href="schedule.html" >
Schedule</a></td>
</tr>
<tr>
<td class="sidemenuitem" width="134" align="center"><a href="guidelines.html">
Guidelines</a></td>
</tr>
How do web pages work - HTTP
(contains text,
Suppose user enters URL www.cs.huji.ac.il/~ssd references to 10
jpeg images)
1a. HTTP client initiates TCP
connection to HTTP server
(process) at 1b. HTTP server at host
www.cs.huji.ac.il on port 80 www.cs.huji.ac.il
waiting for TCP connection at
port 80. “accepts” connection,
notifying client
2. HTTP client sends HTTP
request message (containing
GET command) into TCP 3. HTTP server receives request
connection socket. Message message, forms a
indicates that client wants object response message containing
~ssd/index.htm html, and sends message into
its socket
time
HTTP (cont.)
request line
(GET, POST, GET /somedir/page.html HTTP/1.1
HEAD commands) Host: www.someschool.edu
User-agent: Mozilla/4.0
header Connection: close
lines Accept-language:fr
printf("Content-type: text/html\n\n") ;
</body>
</html>
----------------------------
Compiled execution
Dynamic compilation. ASP.NET will
automatically detect any changes and
dynamically compile the files
Page output cached on server
Memory Leak, DeadLock and Crash
Protection
Web-Farm Session State
Security
Passport authentication