6
How ASP.NET works
lWeb page activates back end processing, which generates HTML sent to the browser
lTwo organizations for ASP.NET applications
ŘSingle web page of file type aspx containing HTML and embedded code is run at the server to augment the HTML
ŘA web page of file type .aspx which contains HTML and HTML-like objects with names connects with code in a separate “code behind” file, this code being activated to replace these objects with actual HTML before the page is sent to the browser
lTwo approaches
ŘBack-end code creates and send entire page:
§Code accesses data and builds the entire HTML page according to the code’s own internal algorithms
§The page is sent as successive (or a single) string to the browser by calling System.Web.HttpResponse