Chat with us, powered by LiveChat
ASP.NET – Part 1

ASP.NET – Part 1


ASP.NET is a set of technologies for developing software for the web, marketed by Microsoft. Using these technologies, developers can build applications and Web services (Web Service).

Principles on which ASP.NET is built:

Although the name derives from ASP.NET ASP (Active Server Pages) (the old technology for web development by Microsoft), there are substantial differences between the two. ASP.NET is based in fact, like all family applications in Dot NET, the CLR (Common Language Runtime).

Developers can write code using any of the high-level languages supported by. NET Framework (class library). NET, as, for example, Visual Basic, Dot Net (owners Microsoft), C # (pronounced C sharp), J # (J Sharp, derived from Java), but also many other open source languages such as Perl and Python. This is possible because the CLR has been standardized by ECMA. ASP.NET applications are significantly faster and more performance than that achieved using other scripting technologies, since the entire code of the website is pre-filled in a few dll files (dynamic link libraries, often in a single file) managed from a Web server.

ASP.NET is to simplify the migration of developers from Windows applications to web applications enabling them to build pages composed of controls so many widgets, similar to those used by the user interface of Windows.

A web control, such as a button or label (label), behaves much like their Windows counterparts: the code associated with them may give them certain properties and perform actions in response to events associated with them (for example the push of a button). The difference is that while Windows checks draw themselves on screen, web controls produce blocks of HTML code that you should automatically insert the page to be sent to the browser the end user.

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 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.

Strengths of ASP.NET compared to ASP

The wide range of controls, classes and development tools can significantly reduce development time of software modules, and makes the developer able to easily reuse the same code in different applications. ASP.NET has also simplified significantly the capabilities of data access compared to ASP. For example, it is much easier and immediate to generate a page containing a list of data retrieved from a database.



Leave your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.