You are currently viewing Introduction to ASP.Net and its benefits

Introduction to ASP.Net and its benefits

There are lots of technologies available for creating web applications and websites, ASP.NET is one of them. ASP.Net can be seen as successor of ASP from Microsoft. ASP stands for Active Server Pages. It is just a technology that runs on server which is used for web application and web development. ASP.Net is gaining popularity because it can be used with more than 44 programming languages. C#, VB.Net and J# to name few of them. Before creating web applications, we should understand and have basic knowledge about .Net Framework, Compilation Process, Back End Tools and Development environment required for it. In this article we will discuss about .Net Framework, its versions, and benefits of using .Net.

 Understanding .Net Frame Work

The .Net framework is collection of tools, technologies & languages which work together to communicate on multiple platforms because client can be anybody. The .Net framework can be defined as a language neutral platform designed to provide a number of rich and powerful application development tools and technologies. It has an extensive class library that provides wide-ranging support for data access. .Net framework has an independent code execution and management environment called the Common Language Runtime (CLR) which ensures that code is safe to run, and provides an abstract layer on top of the operating system, which allows the elements of the .Net framework to run on many operating systems and devices.

.Net Frame Work Architecture

dotnet-framework-image1

Base Class Library (BCL)
The Base Class Library (BCL) is collection of standard classes which we can use in .NET supported languages and is a standard library available to all languages using the .NET Framework. .NET includes the BCL in order to encapsulate a large number of common functions, such as file reading and writing, graphic rendering, database interaction, and XML document manipulation, which makes the programmer’s job easier. It is much larger in scope than standard libraries for most other languages, including C++, and is comparable in scope and coverage to the standard libraries of Java. The BCL is sometimes incorrectly referred to as the Framework Class Library (FCL), which is a superset including the Microsoft Namespaces.

Common Language Runtime (CLR)
The Common Language Runtime (CLR) is the environment which manage the execution of coding. CLR is the virtual machine component of Microsoft’s .NET framework and is responsible for managing the execution of .NET programs. In a process known as just-in-time (JIT) compilation, the CLR compiles the intermediate language code known as Common Intermediate Language (CIL) into the machine instructions that in turn are executed by the computer’s CPU. The CLR provides additional services including memory management, type safety and exception handling. All programs written for the .NET framework, regardless of programming language, are executed by the CLR. It manages:-

  • Memory
  • Garbage Collector
  • Multiple languages support

 Versions of .Net Framework

VersionVisual Studio VersionDate of ReleaseDescription
.Net Framework 1.0Visual Studio 2000Feb 13,2002For Testing
.Net Framework 1.1Visual Studio 2003April 24,2003First version in 2003 in market
.Net Framework 2.0Visual Studio 2005Nov 07,2005 
.Net Framework 3.0Expression BlendNov 06,2006Only for windows vista
.Net Framework 3.5Visual Studio 2008Nov 19,2007For windows 7,8,8.1,10
.Net Framework 4.0Visual Studio 2010April 12,2010 
.Net Framework 4.5Visual Studio 2012August 15,2012For windows 8
.Net Framework 4.5.1Visual Studio 2013October 17, 2013For windows 8.1
.Net Framework 4.5.2N/AMay 05, 2014 
.Net Framework 4.6Visual Studio 2015July 20,2015 
.Net Framework 4.6.1Visual Studio 2015Nov 30,2015 

Benefits of using .Net

The windows platform is inherently complex and may pose several problems for programmers. However the .Net platform is used as it provides solutions to many such problems and offers an Internet centric platform. The following are the benefits of using .Net platform:

Multiple platform Support: .Net platform has been designed keeping multiple platform support as a key feature. For version 2.0 this means that the code written using the .Net platform can run on all versions of Windows. i.e. Windows 98,95,NT,2000 and so on.
Microsoft has included rich support for all the platforms. Also this code shall also work on any 64-bit processor that may be used by Microsoft later.
It is also expected that .Net shall run on other platforms like UNIX also, however it is not for sure that all functionality will be available for the same.

.Net as a clean start: On the windows platform, the technologies available often depend on the programming language that they are written in, so they are very different. Depending on the chosen programming language, these technologies can be restrictive.The problem with this approach is that it makes the Windows platform harder to understand.
Using .Net there is just one simple object oriented way of accessing the functionality of the .Net Framework.

Performance: .Net has been designed to provide great performance and scalability. For .Net to succeed, the companies must be able to migrate their applications and not suffer due to the way the CLR works. To ensure this CLR converts the code into native machine code. So the conversion can take step-by-step method and will make use of the given machines resources and processor features.
As newer versions of the CLR are released and technologies like web forms are released, each release will have a better performance and smaller memory footprints. Also .Net has succeeded in replacing completely the older technologies like COM with better and efficient design equivalents. At the heart of the .Net platform is the CLR.

Header Image taken from http://www.asp.net/

 

Dinesh Kumar Bansal

Dinesh Kumar Bansal is an Indian Software Developer, who is working on ASP.Net, MS-SQL, SAP-ABAP technologies from last one year. His Basic Principle of developing software is, “You have to clear about, what do you want to do, how can it be done”. He always says that development can be done with a cool & fresh mind.

Leave a Reply