Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App Design Question
Message
General information
Forum:
ASP.NET
Category:
Deployments
Miscellaneous
Thread ID:
01326773
Message ID:
01326780
Views:
20
>>What is involved in loading external compnents in an application, rather than have them compiled into the app?
>>
>>I was thinking of creating add-ons that could be purchased seperatly and loaded at startup.
>
>If you compartmentalize them into their own assemblies, and don't need to be able to swap out those components while the application is up and running, it's reasonably simple. You just need to be aware of component interdependencies so you ship the correct assemblies and plan enough extensible entry points things can be tied together nicely. You'll also probably want to create a standard interface that your types implement so you have a common way of calling into them, ex. all of them have something like an "Execute" method. In the Execute you can do things like add new menu options, etc. to make it seemless for the end user.

Ok, sounds good. The components I was thinking of adding would be code items only, no UI, so the common interface would work fine.

When you say 'Assemblies', can you elaborate on this please? What's an assembly?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform