Summary

Summary

  • Namespaces organize your code and provide access to code in the .NET Framework. To use a namespace from outside your project, establish a reference to the namespace using the References dialog box from the Project menu. Add an Imports (Visual Basic .NET) or using (Visual C#) statement to the source file to provide a shortcut for referring to members of the namespace in code.

  • Classes define objects within a namespace. You can base one class on another using inheritance. When using inheritance, the base class provides its members to the derived class, where they can be overridden, overloaded, or hidden.

  • Web applications use the System.Web and System.Web.UI namespaces. These namespaces define most of the objects used in a Web application, including the Application, Page, Request, and Response objects. These four objects provide access to most of the subordinate objects in a Web application.

  • Because ordinary variables defined in a Web form are not persistent, you need to save volatile data between requests. ASP.NET lets you save data items as query strings, cookies, ViewState, Session state, or Application state.



MCAD(s)MCSD Self-Paced Training Kit(c) Developing Web Applications With Microsoft Visual Basic. Net and Microsoft V[.  .. ]0-315
MCAD(s)MCSD Self-Paced Training Kit(c) Developing Web Applications With Microsoft Visual Basic. Net and Microsoft V[. .. ]0-315
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 118

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