NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required to build up robust web applications for PC, as well as mobile devices. NET works on top of the HTTP protocol, and uses the HTTP commands and policies to set a browser-to-server bilateral communication and cooperation. All client side user activities are forwarded to the server for stateful processing. NET framework helps in storing the information regarding the state of the application, which consists of: The page state is the state of the client, i.e., the content of various input fields in the web form.
The browser submits a web form to the web server and the server returns a full markup page or HTML page in response.
NET runtime codes, and incorporates the state of the server side components in hidden fields. When the managed code is compiled, the compiler converts the source code into a CPU independent intermediate language (IL) code.
This way, the server becomes aware of the overall application state and operates in a two-tiered connected way. NET component model provides various building blocks of ASP. Basically it is an object model, which describes: ASP. Net framework that contains all web-related functionalities. Net framework is made of an object-oriented hierarchy. A Just In Time(JIT) compiler compiles the IL code into native code, which is CPU specific. NET is the web development model and AJAX is an extension of ASP.
(5) Metadata and Assemblies Metadata is the binary information describing the program, which is either stored in a portable executable file (PE) or in the memory. NET for developing and implementing AJAX functionality. NET AJAX contains the components that allow the developer to update data on a website without a complete reload of the page. NET It is the technology used for working with data and databases.
Assembly is a logical unit consisting of the assembly manifest, type metadata, IL code, and a set of resources like image files. It provides access to data sources like SQL server, OLE DB, XML etc. NET allows connection to data sources for retrieving, manipulating, and updating data.
NET application codes can be written in any of the following languages: ASP.
The server processes the output of the client actions and triggers the reactions. The session state is the collective information obtained from various pages the user visited and worked with, i.e., the overall session state. NET page is an object and all its components i.e., the server-side controls are also objects. Net, let us go through at the various components of the . The following table describes the components of the .
To clear the concept, let us take an example of a shopping cart. Items are selected from a page, say the items page, and the total collected items and price are shown on a different page, say the cart page. NET runtime transforms the page into an instance of a class, which inherits from the base class page of the . Net framework 3.5 and the job they perform: (1) Common Language Runtime or CLR It performs memory management, exception handling, debugging, security checking, thread execution, code execution, code safety, verification, and compilation.
Only HTTP cannot keep track of all the information coming from various pages. NET session state and server side infrastructure keeps track of the information collected globally over a session. NET runtime carries the page state to and from the server across page requests while generating ASP. NET page, the IIS delegates the processing of the page to the ASP. The code that is directly managed by the CLR is called the managed code.
(10)Windows Presentation Foundation It provides a separation between the user interface and the business logic. Visual Studio is an integrated development environment for writing, compiling, and debugging the code.
It helps in developing visually stunning interfaces using documents, media, two and three dimensional graphics, animations, and more. NET provides an abstraction layer on top of HTTP on which the web applications are built. It provides a complete set of development tools for building ASP.
It provides high-level entities such as classes and components within an object-oriented paradigm. NET web applications, web services, desktop applications, and mobile applications.