ASP.NET
  Home arrow ASP.NET arrow Page 4 - ASP.NET Supports Web Services
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

ASP.NET Supports Web Services
By: Dwight Peltzer
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 11
    2004-04-26

    Table of Contents:
  • ASP.NET Supports Web Services
  • Getting Started
  • Examining the Code-behind feature
  • Examining the ASP.NET Page Class Process
  • Describing an ASP.NET Page’s Life Cycle

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    ASP.NET Supports Web Services - Examining the ASP.NET Page Class Process


    (Page 4 of 5 )

    ASP.NET pages begin as code in a text file with an .aspx extension. They reside within an IIS virtual directory created somewhere on your drive. All pages are instantiation classes derived from the Page class. The text file is transformed to an ASP.NET page when the client submits a request to the server. Then, the server renders the page to the client browser. All ASP.NET functionality lies primarily with the Page class.

    Two separate methods exist for inheriting from the Page class. The first method facilitates adding the @Page directive to an .aspx file. The directive automatically makes available all page properties and methods for any code written on the page. The second method supports the code-behind feature and inherits from the Page class associated with a particular page by specifying either the Src or Inherits attribute.


    <%@ Page Language=”vb” AutoEventWireup=”false” Codebehind=”RegisterForm.aspx.vb“ Inherits=”RegisterForm.WebForm1”%>

    The best feature is that it allows ASP.NET to combine the code in the Web form’s .aspx file with the code in the code-behind class file. It then compiles both files to a single merged file called an assembly.

    More ASP.NET Articles
    More By Dwight Peltzer


     

    ASP.NET ARTICLES

    - Develop Your First ASP.NET Website with Visu...
    - Run ASP.NET in Windows XP Home with Cassini ...
    - How to Test a Web Application
    - How to Add Code and Validation Controls to a...
    - Working in Source and Split Views to Build a...
    - How to Build a Web Form for a One-Page Web A...
    - How to Develop a One-Page Web Application
    - An ASP.NET Web Application in Action
    - Developing ASP.NET Web Applications
    - An Introduction to ASP.NET Web Programming
    - Introduction to the ADO.NET Entity Framework...
    - Completing an In-Text Advertising System und...
    - Programming an In-Text Advertising System un...
    - Building an In-Text Advertising System Under...
    - Developing a Mini ASP.NET AJAX Server Centri...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    Stay green...Green IT