Characteristics of Asp .Net Pages

  • Posted on : March 18, 2014
  • Author : SPEC INDIA
  • Category : ASP .NET

Asp.Net is a server-side Web application framework designed for Web development to produce dynamic Web pages. It allows programmers to build dynamic web sites, web applications and web services. Asp.Net is built on the Common Language Runtime (CLR), allowing programmers to write Asp.Net code using any supported .NET language.

The .Net Framework family also includes two versions for mobile or embedded device use. A reduced version of the framework, the .NET Compact Framework, is available on Windows CE platforms, including Windows Mobile devices such as smartphones. Additionally, the .NET Micro Framework is targeted at severely resource-constrained devices.

Building Blocks of Asp.Net Pages

Asp.Net Web pages, known officially as Web Forms, contain various components for application development.

Asp Net Pages

The code-behind model allows static text to remain on the .aspx page, while dynamic code remains in an .aspx.vb or .aspx.cs or .aspx.fs file.

Characteristics of Asp.Net Pages

  • Directives
  • User controls
  • Custom Controls
  • Rendering Techniques
  • State management
  • Application
  • Session state
  • Performance


  • A special instruction to process Asp.Net Page

• User controls

  • User Controls have encapsulations of page sections registered and used as controls in Asp.Net

• Custom controls

  • Custom controls are built by developers.
  • They do not have an ASCX markup file
  • They have all the code compiled into a dynamic link library (DLL) file

• Rendering Techniques

  • Asp.Net uses visited composite rendering technique
  • During compilation, the template file is compiled into initialization code which builds a control tree which is also called the composite. It represents the original template
  • Literal text goes into instances of the Literal control class
  • Server controls are represented by instances of a specific control class
  • The initialization code is combined with user-written code resulting in exclusive class for a page

• State management

  • Asp.Net applications are hosted by a Web server and are accessed using the stateless HTTP protocol
  • If an application uses stateful interaction, it has to implement state management on its own
  • Asp.Net provides various functions for state management
  • “State” is treated as GUI state.
  • Problems may arise if an application needs to keep track of data of the states like transient states

• Application

  • Application state is held by a collection of shared user defined variables
  • These are set and initialized when the Application_OnStart event fires on the loading of the first instance of the application and are available until the last instance exits
  • Application state variables are accessed using the Applications collection, which provides a wrapper for the application state
  • Applications are identified by their names

• Session state

  • Server-side session state is held by a collection of user-defined session variables that are persistent during user sessions
  • These variables are unique to each session instance
  • The variables can be set to be automatically destroyed after a defined time of inactivity even if the session does not end and free various resources
  • Client-side user session is maintained by either a cookie or by encoding the session ID in the URL

Asp.Net simplifies developers’ transition from Windows application development to Web development by offering the ability to build pages composed of controls similar to a Windows user interface. A Web control, such as a button or label, functions in very much the same way as its Windows counterparts, code can assign its properties and respond to its events. Controls know how to render themselves, whereas Windows controls draw themselves to the screen, Web controls produce segments of HTML and JavaScript which form parts of the resulting page sent to the end user’s browser. The framework combines existing technologies such as JavaScript with internal components to bring persistent state to the stateless Web environment.

The Microsoft .NET Framework has an established track record as a robust, reliable and versatile software development framework.

SPEC INDIA adopts the Microsoft .NET platform since its inception in the software development arena. SPEC INDIA has 27 years of experience as an Outsourced software application development partner for clients spread across over 20+ countries using varied technologies. We provide Customized Solutions in areas of Desktop Application Development, Web Application Development, Mobile Application Development and Enterprise Mobility Solutions. Our professionals have extensively worked in Asp.Net, Silverlight, WCF, WPF, MOSS, SQL Sever and LINQ, while developing n-tier applications with in-depth implementation of MVC (Model View Controller) or Entity Framework. Cumulatively, our development team has worked on the Microsoft .NET platform for over 75000 man-hours.


Guest Contribution

We are looking for industry experts to contribute to our blog section through fresh and innovative content.

Write For Us

Our Portfolio

Proven Solutions Across Industries
Technology for Real-Life

Visit Our Portfolio

Scroll Up