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 6784611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:01:00+00:00 2026-05-26T17:01:00+00:00

I have to implement a plugin architecture for my application. I have the main

  • 0

I have to implement a plugin architecture for my application.

I have the main application and library that I need to load at runtime. I need my main application to know about classes defined in dll to correctly process them during the dynamic call.

Am I need to implement additional dll with Interface to achieve this goal or It is some other way doing this?

  • 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-26T17:01:00+00:00Added an answer on May 26, 2026 at 5:01 pm

    You can load the library using Assembly.Load, and then you need a way to detect which types you need to instantiate. You can mark classes with an interface (i.e. IPlugin) and then see if the type you are inspecting can be assigned to the IPlugin type using the IsAssignableFrom method. Another approach is to mark your classes with custom attributes and see if the type you are inspecting has that attribute (i.e. PluginAttribute). In both cases you need to put the interface or the attribute class in a third library so it can be referenced in the main application and in the plugin library.

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

Sidebar

Related Questions

I need to implement a very small plugin architecture.I am new to MEF so
I have a simple plugin architecture for my program that uses an interface to
I have this C# Visual Studio solution that implements a plugin architecture. When building
I have a signed applet. To implement some plugin architecture I download and store
I have to implement the VinPower application. They offer a Java version, a C
I have to implement a IExceptionHandler for the Enteprise Library 4.1. In my particular
I have found that I often have to implement some sort of a scheduler
Let's say I have to implement a piece of T-SQL code that must return
I have a school project in which I have to implement a chat application,
I have a WSDL file defining a service that I have to implement in

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.