Click here to Skip to main content
15,895,777 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
What exactly is a .NET?
How should I answer this question to anyone who ask me.

Give a solution.
I have read so much information on Google, but with no clarity.
Posted
Updated 11-Nov-11 23:37pm
v3

.NET is basically a framework runs primarily on Microsoft Windows.
Code project has a good article[^] on same subject.
 
Share this answer
 
Comments
[no name] 12-Nov-11 5:56am    
frame work means is it a software or a set of libraries.can u explain
Sergey Alexandrovich Kryukov 12-Nov-11 21:48pm    
You have a language problem. What, in your understanding a library is not software?
--SA
Following Wikipedia:
The .NET Framework (pronounced dot net) is a software framework that runs primarily on Microsoft Windows.[^]
So what is a Framework?
In computer programming, a software framework is an abstraction in which software providing generic functionality can be selectively changed by user code, thus providing application specific software. It is a collection of software libraries providing a defined application programming interface (API).[^]
So it is a collection of software libraries?
In computer science, a library is a collection of resources used to develop software.[disputed – discuss] These may include pre-written code and subroutines, classes, values or type specifications.[^]

So basically .NET is a rich platform used for software development, primarily on Windows.
So for example, when programming you will need to work with text and numbers (String and Integers), both are defined in the .NET Framework (if they weren't you might have to work with 1's and 0's... You don't want that).
You might have to create Services (in the ServiceModel library). Creating a service that may be accessed through http from any computer in a network is a near impossible task when having to do everything yourself. However, .NET does a lot of the work for you (and .NET itself is written in a framework that does a lot of work for the programmers of .NET). In this sense the hard part is abstracted away and only some implementation details are left to the programmer.
So what else does .NET handle for a programmer? For example memory management (which happens in the background, but which a programmer usually does not have to worry about when programming .NET), Exception handling (Exceptions are thrown up the stack until it finds a Catch block where it can be handled), reading or writing files (with System.IO namespace) and the list goes on and on.

You still have to make a lot of code sometimes, but calling a method File.Open("C:\MyTextFile.txt") is a lot easier than having to type something along the lines of "00110100101100100" (or whatever) ;)
 
Share this answer
 
What a pointless question! It's a platform, a technology, a framework. The essence of things is not in those words.

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900