Site hosted by Angelfire.com: Build your free website today!

ASP.NET is a web development platform that provides a programming model, a comprehensive software infrastructure and other services needed to build robust web applications for PC and mobile devices.


ASP.NET runs on top of HTTP, and uses HTTP commands and policies to define a communication and bilateral cooperation browser-server.


ASP.NET is part of the Microsoft .Net platform. ASP.NET applications are compiled code, written using extensible and reusable components or objects in .Net framework. These codes can be used throughout the class hierarchy in .Net framework.


The ASP.NET application codes can be written in the following languages:


C #

visual Basic.Net

jscript

J #

ASP.NET is used to produce interactive, data-driven Web applications on the Internet. It consists of a large number of controls such as text boxes, buttons and labels for assembling, configuring and manipulating code to create HTML pages.


ASP.NET Web Forms Model

ASP.NET Web Forms extend the event interaction model for Web applications. The browser sends a Web form to the Web server and the server returns a markup page or a full HTML page in response.


All client-side user activities are transmitted to the server for stateful processing. The server processes the output of the client actions and triggers reactions.


Now, HTTP is a stateless protocol. ASP.NET framework can store information relating to the state of the application, which consists of:


State of the page

Session state

The state of the page is the state of the client, ie, the contents of the input fields in the web form. Session state is the collective information obtained from different pages the user has visited and worked with, namely, the general state of the session. To clear the concept, consider the example of a basket.


The user adds items to a shopping cart. Articles are selected from a page, such as page elements, and the total collected and price elements are displayed on a different page, say the shopping cart page. Only HTTP can not keep track of all the information from different pages. ASP.NET session state infrastructure and server side monitors the information collected worldwide during a session.


The ASP.NET runtime carries the page state and server across page requests while generating ASP.NET runtime code, and integrates state-of server-side components in hidden fields.


This way, the server becomes aware of the state of the overall application and operated so connected to two speeds.


The ASP.NET component model

The ASP.NET component model provides various ASP.NET pages of building blocks. Basically, it is an object model that describes:


server-side counterparts of almost all HTML elements or tags such as <form> and <input>.


Server controls, which help to develop complex user interface. For example, the Calendar control or the GridView control.


ASP.NET is a technology that works on the .Net framework that contains all Web-related features. The .Net framework is composed of a hierarchy object oriented. An ASP.NET Web application is made to pages. When a user requests an ASP.NET page, IIS delegates the processing of the page to the ASP.NET runtime system.


The ASP.NET runtime transforms the .aspx page in an instance of a class that inherits from the page of the base class of the .Net framework. Therefore, each ASP.NET page is an object and all its components, namely, server-side controls are also objects.

asp.net interview questions