AppDomains/Remoting

Grids for WPF Forum

Posted 14 years ago by Tom Spilman
Version: 10.1.0523
Avatar
We have the need to use the PropertyGrid to inspect an object that lives in a secondary AppDomain.

Has anyone done anything like this before with the Actipro PropertyGrid?

It seems that if worse comes to worse i would implement a sort of 'property bag' object or proxy to send the object state from the secondary AppDomain to the PropertyGrid.

Thoughts?

Tom

Comments (2)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Tom,

This isn't something that we've tried before. A quick search on the Internet didn't reveal any promising solutions. Your idea of a property bag or proxy is probably the best way to go. You might be able to create a custom DataFactory that "reflects" your proxy object directly into categories and properties usable by our PropertyGrid. Or your proxy could implement ICustomTypeDescriptor and provide the list of properties that way.


Actipro Software Support

Posted 14 years ago by Tom Spilman
Avatar
Quote:
A quick search on the Internet didn't reveal any promising solutions.


Yea... we found the same thing... its a rather difficult issue.

Quote:
You might be able to create a custom DataFactory that "reflects" your proxy object directly into categories and properties usable by our PropertyGrid. Or your proxy could implement ICustomTypeDescriptor and provide the list of properties that way.


Both great suggestions. We'll be experimenting with it this week and we'll report back what we find.

The other idea we had was to completely avoid the problem by using a launcher application as the main interface and restarting the main editor EXE between each project.

Yea its lame... but maybe better than dealing with remote AppDomains.
The latest build of this product (v24.1.2) was released 2 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.