Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft.Net Sven Groot. Common Language Runtime Superset of ECMA Common Language Infrastructure Defines  Language-neutral platform  Intermediate Language.

Similar presentations


Presentation on theme: "Microsoft.Net Sven Groot. Common Language Runtime Superset of ECMA Common Language Infrastructure Defines  Language-neutral platform  Intermediate Language."— Presentation transcript:

1 Microsoft.Net Sven Groot

2 Common Language Runtime Superset of ECMA Common Language Infrastructure Defines  Language-neutral platform  Intermediate Language  Deployment file format (assemblies)  Extensible metadata  COM/Platform interop

3 Common Type System Object StringarrayclassMarshalByRefObject ValueType Enumstruct enum Boolean, Byte, Int16, Int32, Int64, Char, Decimal, Guid, Single, DOuble, DateTime, TimeSpan classContextBoundObject class Interface

4 Common Type System (cont’d) One class can implement multiple interfaces interface IShape { void Draw(); } interface ICowboy { void Draw(); } class CowboyShape : Ishape, ICowboy { void IShape.Draw() { … } void ICowboy.Draw() { … } }

5 Common Type System (cont’d) Also defines conventions for naming  Property get/set (property Foo  get_Foo, set_Foo) No exception specifications Delegates

6 Language Independance Common Type System vs. Common Language Specification Microsoft supported languages:  C# (ECMA)  Visual Basic.Net  Managed C++  J#  JScript.Net Plus over 40 third-party languages

7 Assemblies Similar to Java package Can be one or multiple files Contain  Manifest  Modules (code)  Resources Satellite assemblies for localised resources Strongly named  Strong name = (publisher token, assembly name, version vector, culture)

8 Common Language Frameworks System System.Collections, System.Collections.Specialised System.Reflection, System.Reflection.Emit System.Security (cryptography, permissions) System.Text (regular expressions, encodings) System.Threading System.Configuration System.Globalization System.Resources System.Management System.Drawing System.Runtime.InteropServices System.ServiceProcess System.Data System.DirectoryServices

9 Common Language Frameworks System.EnterpriseServices System.IO System.Messaging System.Runtime.Remoting System.Runtime.Serialization System.Diagnostics System.CodeDom System.Runtime.CompilerServices System.Web System.Net System.Xml System.ComponentModel System.Web.UI System.Windows.Forms

10 More resources http://msdn.microsoft.com/netframework/ http://www.gotdotnet.com http://www.liacs.nl/~sgroot/cbse/


Download ppt "Microsoft.Net Sven Groot. Common Language Runtime Superset of ECMA Common Language Infrastructure Defines  Language-neutral platform  Intermediate Language."

Similar presentations


Ads by Google