Click here to Skip to main content
15,893,814 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
Pete O'Hanlon15-Jun-11 21:41
mvePete O'Hanlon15-Jun-11 21:41 
GeneralRe: Why my application requires .NET 3.5 and .NET 4.0 Framework?? Pin
Roger Wright15-Jun-11 22:05
professionalRoger Wright15-Jun-11 22:05 
GeneralRe: Why my application requires .NET 3.5 and .NET 4.0 Framework?? Pin
lydiae16-Jun-11 1:18
lydiae16-Jun-11 1:18 
GeneralRe: Why my application requires .NET 3.5 and .NET 4.0 Framework?? Pin
Pete O'Hanlon16-Jun-11 1:59
mvePete O'Hanlon16-Jun-11 1:59 
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 
I am developing a system that I'm trying to keep as generic as possible.
It is capable of implementing/executing business rules that should be defined in another file/assembly.

For sake of explanation, I'll segment the idea into the "generic system" and "business system".
If the "business system" were to change or require an update, then that should be possible without releasing the "generic system".

Let's say the generic system monitored a folder, and if a file associated with the new version of the business code was dropped into that folder then it would be accessed, and if the version was > than the current one, then the generic code would start using it.

The business code could have a factory method like GetEventProcessor(guid) that would return a delegate (from the "business system" (with a consistent signature) that is associated with the guid passed into GetEventProcessor.

I'm looking for examples of or ideas about a mechanism whereby code with a defined interface can be picked up and integrated into execution of another piece of code at run time.

I have found some articles about plug-in based architectures in .net. Developing this type of system is new to me, and as I peer down the barrel of this possibility, I thought I'd pose the question here in hopes of harvesting some opinionated Wink | ;) guidance, warnings and/or advice.

Any ideas are welcome.

Thanks
Todd
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 
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 

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.