16.8. Summary

 < Day Day Up > 

ASP.NET is a development platform that offers a variety of techniques to overcome the inherent problems that plague client-server interaction over the Internet. These problems include browser incompatibility, the difficulty of retaining an application's state between requests, and a reliance on interpreted script rather than compiled code to implement program logic.

The ASP.NET answer to these problems is server-side based model whose code is written in C# or VB.NET. A Web page is a class deriving from the Page class. Controls are all classes that implement a Render method to generate the HTML code that represents them in the browser. An important design feature of this model is the ability to separate presentation logic from the business logic by placing the latter in a code-behind file.

Controls fall into two categories: HTML server controls and Web controls. The former correspond to traditional HTML tags, but include a runat=server attribute that indicates they are run on the server. Web controls are much richer than HTML controls. They include list controls; data display controls DataList and GridView that are usually bound to data sources; and validation controls, which are helper controls that validate the content of other controls. If none of these controls meet an application's need, custom controls can be designed that extend existing controls or present a new interface.

     < Day Day Up > 


    Core C# and  .NET
    Core C# and .NET
    ISBN: 131472275
    EAN: N/A
    Year: 2005
    Pages: 219

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