Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 831695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:14:46+00:00 2026-05-15T04:14:46+00:00

I have created a c# 2.0 WinForm application which loads dlls, searches for an

  • 0

I have created a c# 2.0 WinForm application which loads dlls, searches for an interface, and then loads the interface as a plugin. I am loading the plugins in the same appdomain as the main application because they have a GUI which I am directly loading into the application as a tab item.

I would like to load them in their own app domain, but do not think it is possible because of the GUI.
I would also like to monitor them to tell if they are not responsive and unload them.

Is this possible?
If I upgrade to WPF are things any simpler.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T04:14:47+00:00Added an answer on May 15, 2026 at 4:14 am

    If you allow the plugins to create their own WinForms UI controls they will have to run on the same thread as your main UI, thus you cannot isolate the plugins in their own appdomain.

    What you could do is define a non-UI abstraction layer between the host and the plugins such that plugins only message the host what type of UI they require. The host is then responsible for creating the UI controls and relay input to the plugins. This enables the plugin instances to live in a separate appdomain.

    Update: with WPF and System.AddIn (aka MAF) it is possible to do UI cross appdomains. I would read up on some opinions on MAF before going that route.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a WinForm application in which, when I hit a key, it's
I have WinForm application which is almost ready to go for production and here
I have a WinForm application which is generating CSV files. I give the user
I have a WinForm application which uses SqlServer CE 3.5 as database. I use
I have a winform C# application which uses sql server 2005 express. I am
I have created a .NET C# WinForms application on Win 7 RTM x64, which
I have a Winforms application created in Visual Studio 2005 Pro, it connects to
I've created a winform in c#, I have 3 controls on the pages and
If a set of controls on a WinForm have had DataBindings created and attached
I have a C# 3.0 WinForms application which is occasionally required to control Excel

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.