Web Page Processing

All the asp.net pages similar to other web pages exist in Web-accessible directories on the Web server. A request in the form of URL address is sent to the server to retrieves the pages for delivery to the user computer. While standard Web pages are basically transmitted back to the requesting browser for instant display, usually at first ASP.NET pages are cut off by the server and the ASP.NET processor use to scan the requested web pages for processing scripts. These scripts are just transmitted through the requesting browser for instant display, ASP.NET pages are first intercepted by the server. The ASP.NET processor scans the page for processing scripts. These scripts are run at the server, often resulting in new information being generated and added to the page, appearing among the XHTML code and hard-coded text composing the original page.

Scripts and Server Controls

To complete the process of server, ASP.NET pages are serene of two main parts. The SCRIPT segment of a page, usually coded in the most top of the page, comprise server code to process input data and produce output information. The XHTML section of a page show the visual results of server processing in the user’s browser.
Script Block

Server scripts are encapsulated within a script block acknowledged by a <script> tag. This tag includes Visual Basic sub programs and functions which process the inputted data and provide output information on behalf of input. Sub programs are termed groups of code comprise Visual Basic statements to execute a focused set of processing actions to create page output; functions are alike code groupings which revisit a generated data value to its calling statement. Input data can be supplied through the user, extracted from files and databases reside in on the server, or produced within by the script. Output information is accessible for browser viewing or may be utilized to update files and databases with new or changed values.

Web Form

The XHTML part of the page comprises XHTML code attaching content for appearance in a browser; a large amount like standard XHTML pages is coded. In accretion, the page gives three more basic purposes. It confine data from users as input to server scripts, it makes calls to sub programs and functions to process this and other data, and it show output results from server processing. These three behavior and others take place via a Web Form comprising various server controls coded on the page.


Server controls are tags similar to the XHTML with the particular possessions which they can be openly accessed by server scripts come into view on the page. Server controls are coded much such as standard XHTML tags, but with the asp: prefix to recognize them as script-accessible XHTML elements. For example, the <asp: TextBox> server control create a textbox for data admission resembling which of a standard <input type=”text”> XHTML tag. The dissimilarity is which the <asp:TextBox> control can be straight referenced through a server script come into view on the same page. The script can employ the value come into the textbox for processing input, or it can target the textbox for script output.


It is general for ASP.NET pages to supply three types of server controls to effect information processing. Data input controls are required to capture and supply user data for processing, script activation controls are required to identify area on the page where script output can appear. Together server controls interacting with server scripts encapsulate on a single page all the functionality required to turn Web pages from simple information displays into full-featured information processors.