Principles of ASP.NET | Part 1

Microsoft ASP.NET

Microsoft initially developed the old Active Server pages (ASP) web technology, from which the present ASP.NET was derived. Although ASP name is common in both these web technologies, they widely differ in their basic and advanced usage. ASP.NET is developed with the Dot NET family applications technology and is based on the .NET platform. This is also called the Common Language Runtime, or the Common Runtime Language (CLR).

Web developers can now more comfortably write easier web programming codes by implementing any of the high-level languages which are supported by the .NET Framework (also called the class library) .NET. For example, they can use the Visual Basic .NET (created by Microsoft), or use the C # (which is pronounced as ‘C Sharp’), or use the J # (also called the ‘J Sharp’, a programming language that is developed from Java platform).

The web programmers now can also use many other open source languages (OSL) and other web development and programming languages such as Perl and Python. This has become possible due to the CLR, which has now being standardized by ECMA International. ASP.NET applications are comparatively much faster and are more performance-oriented than those applications created by using other scripting technologies. This is because of the fact that the entire program code of the website is enclosed within a few ‘dll’ files or within a single file and is managed from a Web server.

ASP.NET is chiefly used to make the migration of programs from Windows applications to web applications much simpler. This enables the web programmers to build web pages which contain various web controls and the other web widgets, which are similar to those used by the user interface of Windows.

A web control, such as a web button or web label acts much like their Windows counterparts: the program code associated with them gives them certain properties and perform actions in response to events associated with them (for example, the push of a button triggers a certain clicked event in the Windows environment). The difference between these two though is that while Windows checks and draws these controls on the computer’s screen, the web controls produce blocks of HTML codes through which web pages are automatically inserted in the web browser on the end user’s computer.

Programming paradigm of ASP.NET

ASP.NET is designed to encourage development in a systematic way to use the paradigm of the graphical interface (GUI, for Graphical User Interface) combined with the so called events (event-driven) that is the style of programming where various blocks of code are executed in response to certain events, or actions, at the controls with graphic representation on the desktop.

The conventional style of language for developing web applications had so far based on technique instead of scripting. The library classes .NET Framework will also propose to combine and interact with existing technologies such as Javascript, so as to give a character of permanence to software objects, even in an environment like the Web, which is inherently stateless (stateless server).

The class library .NET Framework, implements the structure of the CLR (Common Language Runtime), whose base is formed by a JIT compiler (just in time). This means that the code intermediate product, called IL (Intermediate Language) and identical for all high-level languages used, is compiled into machine language for the first run. Using different compilers just in time you can reuse the same intermediate IL on different processors. This technique is referred to as ‘Jitting’. This type of filling is very different from languages such as Java, where all code runs on the other hand a true virtual machine, while in .NET at the time the program is actually a machine language like all other languages.

Like all the other languages of the suite .NET, ASP.NET also uses the mechanism of automatic memory de-allocated called garbage collector.

Continued…

Related posts:

  1. Principles of ASP.NET | Part 2

Tags: asp.net, asp.net programming, class library .net framework, clr, Common Language Runtime, Common Runtime Language, jitting, microsoft asp.net, principles of asp.net

Leave a Reply

You must be logged in to post a comment.