2. .NET It is not / not only a package or language It is called as .NET Environment or Platform When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. The site DotNetLanguages.Net says 44 languages are supported. Object oriented language High security – because it uses clauses and objects as their building blocks Portability – Runs on any operating system http://www.livetolearn.in
3. BASIC, FORTRON, COBOL, C, C++ languages are converted in to Machine Level Language (Executable code) at the time of executing, which is executed directly in the operating system. But, programs developed in .NET are converted into MSIL (Microsoft Intermediate Language) which contains Binary Codes. Command in the MSIL (Assembly Language) will be converted into executables on any operating system. We can use one language in another language in under .NET platform. For e.g. VB.NET in ASP.NET The languages that are used in the .NET platform has a general class Library. So all the program statements written in the .NET are called as Managed Code http://www.livetolearn.in
4. Benefits of Managed Code Memory Management Debugging Support Security Version Control Mixed Language Interaction http://www.livetolearn.in
5.
6. Security & Version Control .NET program uses clauses and objects as their building blocks We can install multiple .NET framework versions in a one system. Required Framework version will be automatically selected by a .NET program. We can include more than one .NET language in a program. It is called as Mixed Language Interaction. http://www.livetolearn.in
7. .NET Architecture Common Language Run Time (CLR) Common Type System (CTS) Class Library (CL) CLR Engine is common to all .Net languages. CLR has common set of tools for all languages When a compiler compiles for the CLR, this code is said to be managed code. When a program runs in .net platform CLR converts into MSIL. MSIL files’ extension “.dll” http://www.livetolearn.in
8. The Just In Time (JIT) Compiler in the CLR, converts the MSIL Assembly program into executables that are run in any operating system. All data types included in the program are stored in CTS (Common Type System). All the required classes are included in the Class Library. Classes to handle different types of data such as Numbers, Text, Images, Files are included in the Class Library. http://www.livetolearn.in