Session: Under the Hood: Advances In The .NET Type System

Two key aspects in this session:

1. Type Embedding

2. Type Equivalence


One of the challenge of deploying PIA is that you need to include dlls from the libraries you used, such as Office 2007 PIA Redist.

COM Interop Assemblies deployment can also be complex and they do not support multiple host versions.

Proposed Solution:

CLR 4.0 feature
Information required to call into COM objects is embedded into the assembly itself.
Runtime dependency on Interop Assemblies can be pre-compiled and Linked. 

We can embed the type of Interop that we use in the code into the assembly. So we don’t need to include the entire dlls. In other word, the new CLR 4.0 enable developers to embed interop assembles(and it just takes the functions/interfaces that are being used by the code) into the assemblies compilation.

largely eliminates dependency problem when deploying applications.

Type equivalence enables loose coupling


This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s