Click here to Skip to main content
15,886,833 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Why my application requires .NET 3.5 and .NET 4.0 Framework?? Pin
Roger Wright16-Jun-11 4:20
professionalRoger Wright16-Jun-11 4:20 
GeneralRe: Why my application requires .NET 3.5 and .NET 4.0 Framework?? Pin
Jason Christian16-Jun-11 6:30
Jason Christian16-Jun-11 6:30 
AnswerRe: Why my application requires .NET 3.5 and .NET 4.0 Framework?? Pin
James Lonero17-Jun-11 12:31
James Lonero17-Jun-11 12:31 
Questionadding code at runtime Pin
todd.0101110114-Jun-11 7:27
todd.0101110114-Jun-11 7:27 
AnswerRe: adding code at runtime Pin
Not Active14-Jun-11 7:58
mentorNot Active14-Jun-11 7:58 
AnswerRe: adding code at runtime Pin
jschell14-Jun-11 8:09
jschell14-Jun-11 8:09 
AnswerRe: adding code at runtime Pin
Eddy Vluggen14-Jun-11 8:48
professionalEddy Vluggen14-Jun-11 8:48 
AnswerRe: adding code at runtime Pin
dasblinkenlight14-Jun-11 11:00
dasblinkenlight14-Jun-11 11:00 
Since you are planning on versioning your logic, you will run into a .NET limitation that you cannot unload code once it is loaded into an app domain[^]. This is regardless of the plug-in discovery mechanism that you choose.

One way around this limitation is to run your plug-ins in separate app domains, unloading the entire app domain once you need to load the next version of a particular plug-in.

Since you cannot make plain old calls across app domain boundaries, so you'll need to design your interface carefully to avoid spending excessive time serializing and deserializing parameters and return values.

Here is the method I use to access items loaded into separate app domains: CreateInstanceAndUnwrap[^].
GeneralRe: adding code at runtime Pin
todd.0101110114-Jun-11 11:14
todd.0101110114-Jun-11 11:14 
GeneralRe: adding code at runtime Pin
jschell15-Jun-11 8:53
jschell15-Jun-11 8:53 
GeneralRe: adding code at runtime Pin
todd.0101110115-Jun-11 9:34
todd.0101110115-Jun-11 9:34 
AnswerRe: adding code at runtime Pin
RobCroll14-Jun-11 18:47
RobCroll14-Jun-11 18:47 
GeneralRe: adding code at runtime Pin
Not Active15-Jun-11 9:59
mentorNot Active15-Jun-11 9:59 
AnswerRe: adding code at runtime Pin
Eric W Scott16-Jun-11 3:01
professionalEric W Scott16-Jun-11 3:01 
AnswerRe: adding code at runtime Pin
jschell16-Jun-11 12:00
jschell16-Jun-11 12:00 
AnswerRe: adding code at runtime Pin
tasteywheat16-Jun-11 13:42
tasteywheat16-Jun-11 13:42 
AnswerRe: adding code at runtime Pin
Mark AJA17-Jun-11 4:14
Mark AJA17-Jun-11 4:14 
AnswerRe: adding code at runtime Pin
Charles Wiebe and John Hansen17-Jun-11 11:46
Charles Wiebe and John Hansen17-Jun-11 11:46 
QuestionSystem tray development [modified] Pin
dan30087-Jun-11 3:23
dan30087-Jun-11 3:23 
AnswerRe: System tray development Pin
Eddy Vluggen7-Jun-11 22:56
professionalEddy Vluggen7-Jun-11 22:56 
GeneralRe: System tray development Pin
dan30087-Jun-11 23:44
dan30087-Jun-11 23:44 
GeneralRe: System tray development Pin
MicroVirus9-Jun-11 2:45
MicroVirus9-Jun-11 2:45 
QuestionCustom sorting a column in a databound DataGridView control. Pin
paper676-Jun-11 4:21
paper676-Jun-11 4:21 
AnswerRe: Custom sorting a column in a databound DataGridView control. Pin
Luc Pattyn6-Jun-11 4:30
sitebuilderLuc Pattyn6-Jun-11 4:30 
QuestionDifference between Form.Deactivate and Form.Leave Pin
Dewald5-Jun-11 23:51
Dewald5-Jun-11 23:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.