Video: Jack Gudenkauf on the BCL and Add-ins [Jack Gudenkauf]

I was recently interviewed by James Vastbinder, an ISV Platform Strategy Advisor for Microsoft. We discussed the needs of ISV’s and what’s new in the pending Orcas release (i.e., CLR v3.5 and Visual Studio 2008 v9.0). And for those interested in hearing more on Application extensibility and the Add-in (Add in) model, including some newly…

5

AppDomain Isolated WPF Add-Ins [Jesse Kaplan]

Earlier Jack announced an exciting new feature in our beta2 release in the ability host WPF controls across AppDomain boundaries. This will allow add-ins to generate their own UI and to pass it back for display within the hosts window. Ever since the add-in model was concieved this has been near the top of our…

35

By Popular Demand [Jack Gudenkauf]

We just released VS 2008 and .Net 3.5 Beta 2 (code name “Orcas”). You may download the release here.   What’s new?   1.       UI extensibility By far the most requested feature has been UI extensibility built upon the Add-In model. We are very happy to announce that we have delivered a solution! We have…

14

Add-In Lifetime Management [Pete Sheill, Jim Miller]

A good question to ask when evaluating a design is ‘how is the lifetime of this object or component managed?’  That is, ·         How do you know it isn’t needed anymore? ·         Is it possible to release the resources while the object is still in use? ·         Is it possible to “leak” the resources by…

2

Behind the Scenes: Activation [Pete Sheill]

Let’s discuss the specifics of the construction of the add-in, the isolation boundary and the pipeline in the add-in model – i.e. activation.  I’ll be referring to the discovery and activation as discussed here and the segments of the add-in pipeline as discussed here.  Let’s say you have discovered a single token for an add-in,…

18

More on Logging UnhandledExeptions from Managed Add-Ins [Jesse Kaplan]

Last time we discussed some issues to be aware of when trying to build hosts that are resilient to failures in their add-ins. The central idea was to subscribe to the UnhandledException event on the hosts AppDomain and to use the “sender” parameter to associate the exception to the add-in that caused it. The main limitation…

2

Using AppDomain Isolation to Detect Add-In Failures [Jesse Kaplan]

One of the nice aspects of isolating add-ins in a different AppDomain is that it makes it easier to prevent failures in the Add-In from impacting the host and at the same time improves your ability to detect when a problem has occurred and which piece of code was the culprit. Developers of extensible applications…

5

Automation Add-Ins [Jesse Kaplan]

First off I’d like to apologize for the long pause between posts. We’ve been working heads down on some pretty exciting add-in stuff that we can’t announce just yet and haven’t had as much time as we’d like to spend on this blog. We’re wrapping that work up now though so you should see the stream…

12

Refactoring Work in Orcas March CTP [Jesse Kaplan]

We’ve had a few questions internally and externally from people who were having problems running some of our earlier samples on the March CTP so I wanted to give everyone a heads up on what has changed and how to move forward any sample code you may have downloaded/written against previous CTPs. The biggest change…

3

Building Data Adapters [Jason He]

Introduction to Adapters   If two types (A and B) have to version independently, they cannot have static references between them. Instead an adapter is needed to sits between A and B. It enables them to communicate without a direct reference and thus providing a versioning boundary.   An adapter normally takes one type in…

11