Home

Advantages of Choosing Compiled Code over Interpreted Code

Advantages of Choosing Compiled Code over Interpreted Code

Owner
writeen by Owner

#.net

20 may 2021

Overview

It is a web development platform that offers a programming model, a comprehensive software infrastructure, and essential services for building robust web applications for both PCs and mobile devices.

CLR: Common Language Runtime, the key to running and managing .NET applications.

It performs memory management, exception handling, debugging, security checking, thread execution, code execution, code safety, verification, and compilation. The code that is directly managed by the CLR is called the managed code. When the managed code is compiled, the compiler converts the source code into a CPU independent intermediate language (IL) code. A Just In Time(JIT) compiler compiles the IL code into native code, which is CPU specific.

It contains a huge library of reusable types. classes, interfaces, structures, and enumerated values, which are collectively called types

It is the technology used for building and executing connected systems.

It imparts data querying capabilities to .Net languages using a syntax which is similar to the tradition query language SQL.

Components of .Net Framework 3.5

It provides guidelines for declaring, using, and managing types at runtime, and cross-language communication.

Metadata is the binary information describing the program, which is either stored in a portable executable file (PE) or in the memory. Assembly is a logical unit consisting of the assembly manifest, type metadata, IL code, and a set of resources like image files.

Windows Forms contain the graphical representation of any window displayed in the application

It is the technology used for building and executing connected systems.

bannerimage

State Management

ASP.Net has the facility to control state management. HTTP is known as a stateless protocol. Let’s take an example of a shopping cart application. Now, when a user decides what he wants to buy from the site, he will press the submit button.

The application needs to remember the items the user choose for the purchase. This is known as remembering the state of an application at a current point in time. HTTP is a stateless protocol.

When the user goes to the purchase page, HTTP will not store the information on the cart items. Additional coding needs to be done to ensure that the cart items can be carried forward to the purchase page.

Caching

can implement the concept of Caching. This improve’s the performance of the application. By caching those pages which are often requested by the user can be stored in a temporary location. These pages can be retrieved faster and better responses can be sent to the user. So caching can significantly improve the performance of an application.

Thanks for reading

Relatd blogs