What is the .Net Framework? April 8, 2008Posted by fofo in .NET, general .net.
Tags: .NET, .Net Framework, .Net Framework Class Library
In this post i will try to explain in plain terms what the .Net Framework is and which are the main parts-tools of the .Net Framework.
.Net is a term that has been introduced by Microsoft to describe a set of different software products and services. Basically .Net is the vision of Microsoft on how software should be designed,implemented,tested and deployed. The heart of .Net is the .Net framework. The .Net framework is a collection of tools that allow developers to create robust applications. The main parts of the .Net framework are:
This is a core component. Some people refer to it as the “CLR” or “Common Language Runtime”. The runtime acts like a mediator between Windows and the code the programmers write. It acts as a virtual machine. It protects programmers from dealing with the memory and also protects them from malicious code. It does not require the programmer to write different code for each version of Windows.Basically when a program runs, it runs “inside” the .Net Runtime.
.Net Framework Class Library
This is also known as “FCL”. All developers who build .Net applications must become familiar with it. It contains thousand of classes each with dozen of properties and methods that allow you to do almost anything you want. Basically you reference these classes from your code and then you can use their methods and properties to connect to a database, to select,update,delete from a database, to write and read text and xml files, to send emails and more tasks.
.Net Language Compilers
The compilers take the source code written in VB , C#, J# and compile them in MSIL. The Microsoft Intermediate Language(MSIL) is what the .Net Runtime will eventually run. Basically the MSIL is an assembly file. Assemblies have an .exe or a .dll file extension.If one executes the assembly, it immediately attempts to load the .Net Runtime and the .Net Runtime executes the MSIL code. The compiler also alerts the programmer for compilation errors that may exist in your code.
Ο πηγαίος κώδικας για το .NET framework είναι πλέον διαθέσιμος January 20, 2008Posted by fofo in general .net.
Tags: .Net Framework
add a comment
Η Microsoft είχε ανακοινώσει λίγους μήνες πριν ότι θα κάνει διαθέσιμο τον πηγαίο κώδικα του .NET Framework. Ο κώδικας είναι στη διάθεσή μας πλέον και για περισσότερες πληροφορίες και ένα μίνι tutorial δείτε αυτό το Post από το blog του Scott Guthrie.
ενδεικτικά κάποια από τα framework libraries τα οποία μπορούμε να δούμε τον κώδικα για debugging ή ότι άλλο είναι:
- .NET Base Class Libraries (including System, System.CodeDom, System.Collections, System.ComponentModel, System.Diagnostics, System.Drawing, System.Globalization, System.IO, System.Net, System.Reflection, System.Runtime, System.Security, System.Text, System.Threading, etc).
- ASP.NET (System.Web, System.Web.Extensions)
- Windows Forms (System.Windows.Forms)
- Windows Presentation Foundation (System.Windows)
- ADO.NET and XML (System.Data and System.Xml)