views:

241

answers:

5

I am confused can someone clarify what is .NET Framework means?

Is that an another name of Visual Studio?

+5  A: 

The .Net framework is a collection libraries of classes and functions designed to extend the Common Language Runtime (CLR) and make system development easier. Visual Studio is not required. You can download the framework SDK and code against it in a text editor.

You could also look at the framework as the combination of the CLR and the set of libraries since it is all distributed as a unit.

Gary.Ray
A: 

.Net is a competitor in a way to Java. But it's a lot more than that I think. Each have strengths and weaknesses but the key issues are:

  • .Net provides a framework of classes so that you don't have to write your own code. Eg. Windows forms, encryption libraries, network libraries, web libraries etc.
  • Garbage collection (automated memory management)

MSDN .Net Framework Page

Spence
A: 

Visual Studio is an editor that can be used to write code using .NET framework.

rao
+2  A: 

As Gary said the .NET Framework is a massive collection of libraries (assemblies) providing a big deal of functionality that dramatically eases the process of coding Windows, and Rich-Client Web applications. All of these classes (and any other .net code) runs on top of the CLR (Common Language Runtime): The CLR is a runtime engine (a smart one) provides a very neat features like Just In-Time compiling, Garbage Collection, and others. You make use of the .net framework for every application you develop using this technology. Visual Studio is really nothing more than an Integrated Development Environment (IDE) that enables you to edit, debut, build, and run your code smoothly and easily. The process of executing your .NET applications is different than other languages (C/C++ for example). Like Java .NET code doesn't get transformed directly into native code, instead in gets transformed into kind of a middle layer named IL (Intermediate Language), then when you run your application, the CLR (specifically the JIT part of the CLR), compiles this IL into a native code in order to be executed. This middle layer is providing a whole deal of flexibility and portability; because of its existence, you can run your .NET code on some Linux boxes now.

Sorry if I made too long or rather too boring for ya, I actually liked to have someone to give me some details when I was right there in your place few years ago.

Galilyou
+2  A: 

At the ten-thousand foot view, .Net is essentially the same thing as Java, just made by Microsoft instead of Sun (and with everything that implies.)

Starting at about 9000 feet is where we point out that the two systems are utterly different from the ground up, are totally incompatible, but solve roughly the same problems in the same way philosophically, if not technically. Namely - they're both a combination of Virtual Machine Runtime running VM-specific bytecode and shipped with a massive library of pre-written code, libraries and widgets, as well as letting the VM handle things like memory management and garbage collection.

Electrons_Ahoy