473,320 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Runtime dependency loading, worth the trouble?

Runtime dependency loading, worth the trouble?

I've been researching methods of "dynamically" loading and unloading
dependencies at runtime (trying my best to think of a nice solution of
loading only what is necessary).

Is it unreasonable to think that an application should be able to load
and unload assemblies during runtime? I found a CodeProject article on
this and it was a VERY involved solution -- not sure how "worth" it,
however.

[URL: http://www.codeproject.com/KB/cs/Assemblies___Appdomains.aspx ]

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Aug 25 '08 #1
3 1469
Well, whether it is worth it depends on the scenario. I regularly use
dependency injection for loading different assemblies, but normally I
don't need to unload them so I can use simple approaches. I might be
wrong, but I think some of the new Office stuff introduces a re-usable
plugin architecture that you might find useful - the name escapes me,
though - sorry.

Marc
Aug 25 '08 #2
Remembered:
System.AddIn: http://www.danielmoth.com/Blog/2007/03/systemaddin.html

Marc
Aug 25 '08 #3
Response to Marc Gravell <ma**********@gmail.com>:
Remembered:
System.AddIn: http://www.danielmoth.com/Blog/2007/03/systemaddin.html
Awesome! Thanks, Marc!

--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
Aug 26 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Karl Irvin | last post by:
To use the Textstream object, I had to set a Reference to the Microsoft Scripting Runtime. This works good with A2000 Is the Scripting Runtime included with A2002 and A2003 so the Reference...
13
by: Tamir Khason | last post by:
I have an Application While running it on computer (just runtime) WITH VS works fine, BUT running it on other computer without VS it just do not want to run (exit with code 0 ) What can be...
1
by: Larry | last post by:
Hi my friends, I created a dotnet class library and saved it at : F:\Test\c++\ex32a\debug\ex32a.dll. I created a client program to use this class library. My client file is loacated at :...
3
by: TJO | last post by:
My asp.net 1.1 app is loading an xml file into cache so that subsequent calls for the xml file will not be pulled from the file system but from the cache instead. My method for loading the xml...
2
by: Mike | last post by:
I have moved our sebsite to a new 2003 server & now my asp pages won't work. Where/what do I change to allow asp pages to run? Thanks-
3
by: fc2004 | last post by:
Hi, Is there any tools that could report where cyclic header dependency happens? this would be useful when working with a large project where tens or hundreds of headers files may form complex...
4
by: BerkshireGuy | last post by:
Is there an event that triggers as a form is loading? I want to display a "loading form" event as the form is loading since it tends to take 20 second or so to open. TIA Brian
9
by: Andreas Schmitt | last post by:
I am workin on a 2 part project right now. The first part is a DLL, the second part a normal exe using that DLL. When I use the VS2005 standard setting for compiling with the Multithreaded-DLL...
6
by: SMcK | last post by:
I have a PDA-based (Syware Visual CE) database which I need to sync to an Access database. The Access database contains three tables: 1 is the data itself, 2 is a linked table that prefills...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.