ServicesResourcesConferencesOur TeamWeblogsAboutContact
   

Subscriptions

Post Categories

News

My new books

My Blogroll

INETA UG Leaders

Affiliations

News

Archives

Christian Nagel's OneNotes

.NET Training, Consulting, Coaching & Development


PDC2008 - Type System Changes with CLR 4.0
From #pdc2008: the CLR type system is changed regarding "type embedding" and "type equivalence". The primary idea was easier use of COM interop, but the features are also useful with pure managed code.

An issue that we have today regarding COM interop is the deployment of Primary Interop Assemblies (PIO). An application that uses Excel 2007, the primary interop assembly required by the application requires 1.2 MB. In reality you need to install the Office 2007 PIA Redist that requires 6.3 MB. And this is just for Office 2007. The next version requires another PIA redist install.
This is one of the issues solved with the new type embedding feature.

With type embedding PIAs are no longer required. Type embedding is possible by the new CLR and a new compiler switch.

The second feature for the CLR type system is type equivalence. Type equivalence is useful both with COM objects and .NET managed code. Interfaces marked with an GUID attribute are treated equivalent if the same GUID is used. Multi-targeting through interfaces. Does this influence System.AddIn? I've to try this out!

Christian

posted on Wednesday, October 29, 2008 4:25 PM

# New and Notable 275 @ Thursday, October 30, 2008 5:19 PM

After a flurry of PDC specific posts, back to a mixture. Architecture I wanted to give a big mention
Sam Gentile If (DeveloperTask==Communication && OS==Windows)

# New and Notable 275 @ Saturday, November 08, 2008 5:36 PM

After a flurry of PDC specific posts, back to a mixture. Architecture I wanted to give a big mention
Sam Gentile If (DeveloperTask==Communication && OS==Windows)

# New and Notable 275 @ Sunday, November 30, 2008 8:01 PM

<p>After a flurry of PDC specific posts, back to a mixture. Architecture I wanted to give a big mention to the release of patterns & practices: App Architecture Guide 2.0 Beta 1 release . I did a little bit of review work on this and I do believe this is a very useful guide for practicing architects...</p>
Sam Gentile's Blog


Powered by Community Server, by Telligent Systems