Re: Architectural Question on Remoting and UI Integration
From: Sunny (sunny_at_newsgroup.nospam)
Date: 02/08/05
- Next message: DW: "Pushing data from the server to the client"
- Previous message: Sunny: "Re: Event when ILease expires (for a MarshalByRefObject)"
- In reply to: DJHughes: "Architectural Question on Remoting and UI Integration"
- Next in thread: dotnetfan: "Re: Architectural Question on Remoting and UI Integration"
- Reply: dotnetfan: "Re: Architectural Question on Remoting and UI Integration"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 8 Feb 2005 16:59:01 -0600
In article <C5D855D7-0241-42B2-9124-1205374EC580@microsoft.com>,
DJHughes@discussions.microsoft.com says...
> I have an architectural question concerning the integration of UI elements
> from one application domain into another. The context of the question is
> related to dynamically loadable/unloadable plugins which contain UI.
>
> While it is possible to load and interact with forms belonging to another
> application domain, is it possible to integrate them into the user interface
> of the current application domain?
>
> Example: An application has a form with a panel that is used as a
> placeholder. The application loads a plugin into a separate AppDomain. The
> plugin has a form we wish to load into the placeholder as a child form (i.e.,
> add to the placeholder=3F=3F=3Fs Controls collection).
>
> My current research leads me to believe this is not possible. I get the
> error, =3F=3F=3FRemoting cannot find field parent on type X=3F=3F=3F. It appears that
> Remoting cannot access private members properly across the context boundary.
>
> Can anyone iconfirm this is true, or provide some general guidance on how to
> solve this issue?
>
You can not do this that way. Only public fields and methods are
accessible across the domain boundaries. But your scenario is a good
candidate for a Builder pattern.
Sunny
- Next message: DW: "Pushing data from the server to the client"
- Previous message: Sunny: "Re: Event when ILease expires (for a MarshalByRefObject)"
- In reply to: DJHughes: "Architectural Question on Remoting and UI Integration"
- Next in thread: dotnetfan: "Re: Architectural Question on Remoting and UI Integration"
- Reply: dotnetfan: "Re: Architectural Question on Remoting and UI Integration"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|