BT

Isolation for WPF Add-Ins

| by Jonathan Allen Follow 576 Followers on Aug 13, 2007. Estimated reading time: less than one minute |

For many applications, the ability to extend the application with third party features is essential. Microsoft's CLR Add-In team has been working on a formal model and API to make this task easier. Features include a standard way to handle discovery, loading and unloading, isolation, and communication with the host application.

On of the key features in the Visual Studio 2008 Beta 2 version of the Add-In model is the ability to isolate GUI elements. Add-Ins can now create their own GUI elements in a separate AppDomain that are displayed amongst the main content. So while the application sees the add-in as separate, the user gets a seamless experience.

The ability to use AppDomains is essential when working with code that is not fully trusted. By segregating the code, it can be run with a restricted set of permissions than the rest of the application. Not only does this help when dealing with potentially malicious code, it is helpful when the add-in code has reliability issues that would otherwise affect the rest of the application.

Jesse Kaplan goes into the technical details of how AppDomain Isolated WPF Add-Ins work in the CLR Add-In Team Blog.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

JackG on Add-Ins by James Vastbinder

I just posted a video interview I did of JackG where he walks through the Add-In Model.

-james

Re: JackG on Add-Ins by James Vastbinder

Woops -

The video is here: blogs.msdn.com/jvast

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT