.NET
  Home arrow .NET arrow Page 2 - What is the .NET Framework?
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
.NET

What is the .NET Framework?
By: Niranjan Babu Kalla
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 80
    2004-01-05

    Table of Contents:
  • What is the .NET Framework?
  • Components of .NET
  • .NET Class Library
  • Features of .NET
  • Application Development in .NET
  • Visual Studio.NET

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    What is the .NET Framework? - Components of .NET


    (Page 2 of 6 )

    .NET framework has two main components.  They are:

    1. Common Language Runtime
    2. .NET class library

    Common Language Runtime

    The Common Language Runtime (CLR) is the environment where all programs in .NET are run. It provides various services, like memory management and thread management. Programs that run in the CLR need not manage memory, as it is completely taken care of by the CLR. For example, when a program needs a block of memory, CLR provides the block and releases the block when program is done with the block.

    All programs targeted to .NET are converted to MSIL (Microsoft Intermediate Language). MSIL is the output of language compilers in .NET (see figure 2). MSIL is then converted to native code by JIT (Just-in Time Compiler) of the CLR and then native code is run by CLR.

    As every program is ultimately converted to MSIL in .NET, the choice of language is pure personal.  A program written in VB.NET and a program written in C# are both converted to MSIL.  Then MSIL is converted to native code and run. So, whether you write program in C# or VB.NET at the end it is MSIL all that you get.

    It is believed VB6.0 programmers will migrate to VB.NET and C++ and Java programmers switching to .NET will prefer to use C# as it more resembles those languages.

    For Java programmers, MSIL in .NET is same as Bytecode in concept.  CLR is same as JVM (Java virtual machine).

    So the inevitable question is “Is .NET platform independent like Java?” The answer is technically YES. A program written for .NET can run on any platform as long as .NET is made available on that platform. As of now, .NET runs only on Windows. So, .NET is technically platform independent but not reall, at least not now.  Efforts are on to make .NET run on Linux. The project is called as Mono and is currently being developed. Though some people doubt the seriousness of Microsoft, I will not be surprised if Microsoft comes out with .NET on Linux in future.  If that happens, all your VB.NET, and C# programs can run as they are on both Windows and Linux.  Who knows what more in store?

    Figure-2: MSIL and CLR in .NET Framework

    The code that is run under CLR is called Managed code.

    More .NET Articles
    More By Niranjan Babu Kalla


     

    .NET ARTICLES

    - Using CrystalReportViewer to Display Crystal...
    - Creating Summary .Net Crystal Reports
    - More on Commands, Input and the WPF
    - Grouping and Aggregating When Querying LINQ ...
    - Commands, Input and the WPF
    - Keyboard and Ink Input with WPF
    - Mouse Input and the WPF
    - Input with Windows Presentation Foundation
    - Introducing LINQ with XML and Databases
    - An Introduction to LINQ
    - Querying LINQ to SQL: Basics
    - Completing a Simple Storefront with LINQ
    - Knowing Your Environment: the System.Environ...
    - Creating the Home Page for a Simple Storefro...
    - LINQ Quickly with Language Integrated Queries

     
    Application Delivery: Everything You Wanted to Know, but Didn`t Know You Needed to Ask
    A comprehensive guide to examining the topics of Wide-area Data Services and app....

     
    Best Practices: Safe and Secure Hardware Asset Recovery
    Companies increasingly must meet EPA and local requirements for the disposal of ....

     
    Managing SSL Security in Multi-Server Environments
    Read this white paper to learn how to simplify management of your organization's....

     
    Open Source Security Myths
    Open Source Software (OSS) is computer software whose source code is available t....

     
    Power and Cooling Capacity Management for Data Centers
    This paper describes the principles for achieving power and cooling capacity man....

     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
    Stay green...Green IT