Posted By: jmacdonagh | Nov 9th, 2005 @ 9:08 PM
page 1 of 1
Comments: 8 | Views: 3569
I'm a little confused on the structure of the .NET framework. Each website I've visited (and book I've read) has a different take on this. Not only that, but there are dozens of elements that start with the name "Common".

Let's see if I have this straight. The CLR and CLI are completely different entities. CLI is a set of standards (and submitted to the ECMA for standardization), and the CLR is a platform in which CLI compliant code can be managed and run.

If this is correct, where does the Base Class Library fit in? It is it's own separate entity, or a part of the CLR or CLI?

SlackmasterK
SlackmasterK
I write my OWN blogging engines
.NET:  CLR, CLI, EIEIO
Sven Groot
Sven Groot
My name has 9 letters. Coincidence? I think not...
Almost there. Smiley

The CLI is the standard, the CLR MS' implementation, you've got that right. However, the Base Class Library is part of the CLI. It is the absolute most basic set of libraries that every conforming implementation of the CLI must include. More specifically, every conforming implementation must implement what the standard calls the "kernel profile" (section IV.3.1) which includes the BCL (section IV.5.3) and the Runtime Infrastructure library (section IV.5.2). The CLI standard also defines several other libraries (section IV.5) which are optional. The complete contents of these libraries are defined not in the standard text but in the XML specification enclosed with it.

The .Net Framework Class Library is a superset of the libraries defined in the CLI (including the BCL); it includes those libraries as well as several that are not standardised, such as System.Windows.Forms and System.Web.

Mono has in their work of duplicating .Net been very careful to separate that which is standardised and that which is not, so that in case they receive a cease & decist on those portions of .Net that aren't standardised they can at least continue with those portions that are without any effort of removing the non-standard bits.
WestPhilly
WestPhilly
No, I don't know Will Smith.
Does Mono have an ongoing project to duplicate or make an alternative to the Windows Presentation Foundation classes?
footballism
footballism
Another Paradigm Shift!
WestPhilly wrote:
Does Mono have an ongoing project to duplicate or make an alternative to the Windows Presentation Foundation classes?

Allegedly it will:p

Sheva
Sven Groot
Sven Groot
My name has 9 letters. Coincidence? I think not...
Section I.8.2.2 of the standard lists the built-in value and reference types of the CTS. This is not the same as the BCL; to quote the standard: "[The BCL] provides types to represent the built-in data types of the CLI, simple file access, custom attributes, security attributes, string manipulation, formatting, streams, collections, among other things."

The exact contents of the BCL and other libraries defined by the CLI are in the XML specification. It and the text of the standard are available here.
page 1 of 1
Comments: 8 | Views: 3569
Microsoft Communities