Tek Eye Logo

Tek Eye

What is .NET? The Microsoft Programming Framework

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?)

Windows Developers Can Use Microsoft .NET When Programming

This article provides a brief explanation, in they way of an introduction, to answer the question, what is .NET? Microsoft .NET is an important Windows technology to ease the development of computer programs. It is shipped for free with Microsoft Windows and thus available on millions of computers around the world.

.NET Provides a Framework to Help Write Complex Programs

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

Steel Building Framework

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

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. Microsoft provides the Visual Studio IDE. Here's an Integrated Development Environment in use:

Visual Studio IDE

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.

Microsoft .NET Runtime Engine

Most computer programs are written in a high-level logical computer language. Where as the computer itself runs code that is stored as 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 called the Common Language Runtime (CLR). The CLR allows programmers to pick from a variety of high level languages with which to write software, 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 website.

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


See Also

Author:  Published:  Updated:  

ShareSubmit to TwitterSubmit to FacebookSubmit to Google+Submit to LinkedInSubmit to redditPrint Page

markdown CMS Small Logo Icon ↓markdown↓ CMS is fast and simple. Build websites quickly and publish easily. For beginner to expert.

Articles on:

Android, HTML, VPS, Computing, IT, Computer History, ↓markdown↓ CMS

Free Android Projects and Samples:

Android Examples, Android List Examples, Android UI Examples