What is .NET?

Windows Developers Usually Use Microsoft .NET When Writing Programs

If you are new to writing software for Windows personal computers (PCs) it is not long before you come across Microsoft .NET (pronounced “dot net”). What is .NET? The simplest answer is to say that .NET is used to build and run programs on a computer. (For the complete beginner who knows nothing about computer programs read our article What is Computer Programming?) In this post we attempt to provide a brief explanation to .NET in they way of an introduction. Microsoft .NET is an important Windows technology to ease the development of computer programs.

.NET Provides a Framework to Help Write Complex Programs

Steel Building FrameworkWhenever you see a building, such as an office block or skyscraper, being constructed you will notice that a steel frame is used to provide the basic structure. On to this frame is fixed walls, windows, floors, ceilings and everything else that makes up a building. The framework is made of steel beams, rivets and welds. Everything that is attached to it is made from common building materials and components. It is the architects and builders that determine the final look of the building using standard components.

A similar thing occurs when computer programs are written, the software developer (a.k.a. computer programmer) decides the final functionality and look of a program but will use an existing set of components to help achieve the end requirement.

Microsoft .NET Libraries and Runtime Engine

Microsoft .NET is a computer framework that contains hundreds of useful components. The components are gathered together into libraries to organize them into categories. Libraries that contain components to draw on the screen, read input, talk to the Internet, etc. This allows the programmer to concentrate on producing the functionality of the software and not have to work on the code that controls the hardware. Modern software programs are written with a tool called an Integrated Development Environment (IDE). An IDE allows the programmer to write the code in an editor, run the code to test it and use a debugger to fix any errors found during testing. Many IDEs come with a set of common existing components to use, such as text boxes, buttons and image containers.

Visual Studio IDE

An Intergrated Development Environment

With the .NET framework and an IDE it only takes a few lines of code to get a simple program working. The speed of software development using .NET makes it a very useful framework for developers writing Windows programs.

Programmers and other companies can produce their own components and bundle them into their own libraries, many do. A programmer will often developer a library of routines that they reuse in new software projects. Very large and complex programs will be broken down into different sections, those sections will usually be contained in their own libraries to help with a program’s design and maintenance. Not only is .NET a comprehensive set of libraries for all of the facilities that a program could need, it is also an environment in which a program executes.

Most computer programs are written in a high-level logical computer language. Where as a computer itself runs code that is stored a binary numbers. The process of converting the programmers high level code to the computers binary code is called compiling. Microsoft .NET adds a layer between the high level code and the binary code call the Common Language Runtime (CLR). The CLR allows programmers to pick from a variety of high level languages to write software in and allows the computers to execute that code in an efficient and secure manner. It means that many types of computers with different types of microprocessors call all run the same .NET program efficiently.

Common Language Runtime

This article provides a basic introduction to .NET, for a more in-depth overview see the Wikipedia entry. To learn more on the details of the .NET framework head over to the Microsoft .NET site at http://www.microsoft.com/NET/.

.NET is not limited to Windows systems. Its popularity has led to it becoming available on other platforms see the Mono Project for support on Linux, Apple Macs and iOS devices, and on the Android OS.


The building framework picture was cropped from this Wikimedia image: http://commons.wikimedia.org/wiki/File:Building_Skeleton_-_geograph.org.uk_-_706243.jpg

The .NET Runtime Image was derived from this Wikimedia image: http://commons.wikimedia.org/wiki/File:Overview_of_the_Common_Language_Infrastructure.svg

Leave a Reply

Your email address will not be published. Required fields are marked *

Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.