Selected content adapted from material by Marty Stepp, Jessica Miller, and Victoria Kirst © 2012. Used by permission.
http://server/path/file
https://math-cs.gordon.edu/cps353/quote.aspx
math-cs.gordon.edu to run the program quote.aspx and send back its output
.html file (static content): server just sends that file.aspx file (dynamic content): server reads it, runs any code inside it or that is called by the page, then sends result across the network
The following contents could go into a file hello.aspx:
<%= "Hello, world!" %>
<%= and ends with %>
.aspx page on your local hard drive; you'll either see nothing or see the C# source code.aspx file will run the program and send you back its output
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title> Embedded C#</title></head>
<body>
<% for ( var i = 99; i >= 1; i--) { %>
<p> <%= i %> bottles of beer on the wall, <br />
<%= i %> bottles of beer. <br />
Take one down, pass it around, <br />
<%= i - 1 %> bottles of beer on the wall. </p>
<% } %>
</body>
</html>
<body>
<% for ( int i = 1; i <= 3; i++) { %>
<h<%= i %>>This is a level <%= i %> heading.</h<%= i %>>
<% } %>
</body>