1.6 ASP.NET

 < Day Day Up > 



ASP.NET is the next stage in the evolution of Microsoft Web-development technology. Essentially it is the coming together of Active Server Pages (ASP) and the Common Language Runtime (CLR) with some extra goodies added on. The end result is a fairly comprehensive environment for building Web-based applications.

Web Forms are at the core of applications written within ASP.NET and provide the user interface (UI) layer. In early Web development, the UI was severely limited in what it could support, and the applications were bland in the extreme. With Web Forms, a lot of the richness associated with the more traditional client/server applications has now been brought into the world of the Web.

A Web Form comprises the user interface stored in an ASPX file and a separate class file that stores the code behind the form. The user interface can have a number of objects added to it in the form of controls. These include HTML, Web Form, Field Validator, and Custom controls.

  • HTML controls. These are designed to behave in the same way as controls added by HTML editors and include standard controls such as text areas, password fields, and buttons.

  • Web Form controls. Like HTML controls, these can detect the type of browser reading the page and adjust its look and feel accordingly.

  • Field Validator controls. These are used to avoid round trips when checking to see if a value has been filled into a control. In practice the control writes client-side JavaScript into the HTML page, which can be read by any browser to execute the checking process.

  • Custom controls. These can perform any customized function.

Web Forms behave a lot like Windows Forms in that a series of events will run when the form is started and loads. In addition, events will be raised when the user interacts with the form in the browser.



 < Day Day Up > 



Microsoft  .NET. Jumpstart for Systems Administrators and Developers
Microsoft .NET: Jumpstart for Systems Administrators and Developers (Communications (Digital Press))
ISBN: 1555582850
EAN: 2147483647
Year: 2003
Pages: 136
Authors: Nigel Stanley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net