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.
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
- User controls
- Custom Controls
- Rendering Techniques
- State management
- Session state
- 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 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
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.