Mike Taulty's Blog
Bits and Bytes from Microsoft UK
QuickLinks: System.AddIn and the Microsoft AddInFramework
Mike Taulty's Blog

Mike's Badges

Follow on Twitter
View mike's profile on slideshare
Add to Technorati Favorites
CW Blog Awards

System.AddIn in Framework V3.5 is about building hosts that load plug-in Add-Ins with functionality around discovery, isolation and lifetime management. It also tries to deal with the thorny problem of versioning one or both ends of the host<->addin relationship.

I didn't know too much about the thorny details of this so I thought I'd forward the links I used to learn a little more about it (read in the following order);

MSDN Magazine Article 1

MSDN Magazine Article 2

Approaches to Discovery

How Discovery Works (I wish MS folks would write more articles like this. That is, my view is that I just want to know "What code did you just build into your framework piece and how does it do what it does?". If you tell me that then I can figure the rest).

Architecture This I found interesting only for the statement "The host and add-in only ever depend on one component (the view) which itself has no dependencies elsewhere on the system. This means that the host and add-in are completely unaware of each other and the contracts that are used to cross the boundary". To me, that is starting to explain why we have so many assemblies involved in building an AddIn - it's to avoid dependency (sure, this is probably obvious to you already).

Process Isolation Introduced

Adapters

How Activation Works

How to Build an Add-In

At the time of writing, I'm still reading :-)


Posted Thu, Aug 30 2007 4:31 AM by mtaulty

Comments

Jason Haley wrote Interesting Finds: August 30, 2007
on Thu, Aug 30 2007 7:32 AM
Jason Haley wrote Interesting Finds: August 30, 2007
on Thu, Aug 30 2007 7:32 AM
(C) Mike Taulty, 2009. All rights reserved. The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion. All code samples are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems