.net frame work
explain about .net framework?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ankit NandekarRank #703 · 3.4K reputationPosted Apr 14, 2011, 9:56 PM EDT
The .NET applications and services operate within the .NET Framework (pronounced "dot net framework"). .NET applications do not directly access the operating system. Instead, they use the .NET framework, and the .NET framework accesses the operating system and hardware. The framework consists of two components:
The framework manages memory management, code execution, etc., and that is why .NET applications are called "managed applications."
The Common Type System makes sure that all .NET applications use the same data types.
The Visual Basic Compiler converts the humanly readable source code into an intermediate language. This intermediate language is also called Microsoft Intermediate Language (or MSIL), and it is contained in an assembly. Assemblies have either a .exe (executable) or .dll (class library) extension. The Common Language Runtime (CLR) converts the intermediate language into the native language needed by the operating system. This is what makes .NET applications platform independent. Currently the CLR is only available on Windows Systems, but someday CLR's could be developed of Unix and Linux. This would allow .NET applications to execute in these environments.
Mayur GujrathiRank #666 · 3.6K reputationPosted Apr 14, 2011, 9:49 PM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Apr 15, 2011, 12:16 AM EDT
Years later, Microsoft developed a way to compile C++ code to a P-code, which I think is like the code used for Basic.
Also, Sun designed a language called Java that is similar to C++ that could be easily ported to many computers. Java is proprietary; which means that if anyone wants to do something with Java that Sun does not like, then Sun can tell them they cannot do it. Microsoft made a Java that Microsoft thought was better but Sun did not. So there was a big war; a legal war. Microsoft lost in the manner that they could not use their Java like they wanted to.
Microsoft designed the Common Language Infrastructure (CLI) which is an environment like the Java environment that allows CLI and software that uses it to execute in many types of coumputers. So that makes C# and VB similar to Java in that they are all easily ported to many types of computers. The CLI uses P-code technology similar to what the IBM PC Basic interpreter used (I think; I have no evidence of it) and similar to the C++ P-code (I assume). Microsoft got the CLI adopted as an international standard and .Net and C# and VB .Net uses the CLI.
So .Net is the implementation of a standard; Java is still proprietary to Sun.
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted May 31, 2011, 12:43 AM EDT
go through this link...
http://www.c-sharpcorner.com Click here
Sam HobbsRank #107 · 20.5K reputationPosted May 31, 2011, 8:44 PM EDT
It is very misleading to say that "Currently the CLR is only available on Windows Systems" without mentioninig the Mono Project which is very much available right now for Linux and Mac and other systems including iPhones and Android phones. Mono is an implementation of .Net. Also see Mono (software).
Is there any reliable source indicating that the CLR will ever exist outside of Windows?