08.01.2015 Views

Beginning Web Development, Silverlight, and ASP.NET AJAX

Beginning Web Development, Silverlight, and ASP.NET AJAX

Beginning Web Development, Silverlight, and ASP.NET AJAX

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 2 ■ BASICS OF WEB DEVELOPMENT WITH <strong>ASP</strong>.<strong>NET</strong> 33<br />

The <strong>ASP</strong>.<strong>NET</strong> Worker Process <strong>and</strong> State Management<br />

In the stock quote application, when the web browser requested the page from the<br />

server, the server recognized the .aspx page name extension as an <strong>ASP</strong>.<strong>NET</strong> page, <strong>and</strong><br />

passed the request to the <strong>ASP</strong>.<strong>NET</strong> runtime, which processed the <strong>ASP</strong>.<strong>NET</strong> code <strong>and</strong><br />

returned the output to the client. Take a look back at Listing 2-1, where the page was<br />

defined using extended HTML. If you look at the code being rendered by the browser<br />

(by selecting View Source from your browser when viewing the Default.aspx page), you’ll<br />

see something different. Take a look at Listing 2-2.<br />

Listing 2-2. The Stock Quote Application As Rendered by the Browser<br />

<br />

<br />

<br />

Untitled Page<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!