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

.NET (Core and Framework)

 
GeneralRe: I suspect there's a Pattern for This: Optional Parameters vs. Overloading Pin
M-Badger17-May-13 6:49
M-Badger17-May-13 6:49 
GeneralRe: I suspect there's a Pattern for This: Optional Parameters vs. Overloading Pin
TnTinMn17-May-13 8:33
TnTinMn17-May-13 8:33 
GeneralRe: I suspect there's a Pattern for This: Optional Parameters vs. Overloading Pin
M-Badger17-May-13 21:47
M-Badger17-May-13 21:47 
QuestionAssembly Loading Pin
#realJSOP14-May-13 5:10
professional#realJSOP14-May-13 5:10 
AnswerRe: Assembly Loading Pin
Jasmine250114-May-13 6:18
Jasmine250114-May-13 6:18 
GeneralRe: Assembly Loading Pin
#realJSOP14-May-13 6:57
professional#realJSOP14-May-13 6:57 
GeneralRe: Assembly Loading Pin
Jasmine250114-May-13 7:12
Jasmine250114-May-13 7:12 
AnswerRe: Assembly Loading Pin
jschell14-May-13 9:22
jschell14-May-13 9:22 
John Simmons / outlaw programmer wrote:
...by many other apps.


What do you mean by "app"? Or more specifically how many process spaces are you running into which these apps appear?

An executable/service has a load dynamic that, excluding GAC, will load based on several factors but the primary one is the current working directory of the primary executable. A new process space will load a new copy of the dll that it found doing an assembly search. It doesn't have anything to do with what other processes have loaded into memory.

Now if you are messing with AppDomains and changing the loading semantics then that alters how it searches and that would alter where it looked. The process would still load a new copy though.


John Simmons / outlaw programmer wrote:
What I'm seeing is that the new app uses the version of the assembly that's
already in memory. Is that an accurate statement?


Not in general, but as noted it depends on what you mean by "app". The process (AppDomain) loads the dll into memory. It won't load it again, but every process gets one (I can't remember if there is AppDomain chaining or not.)
GeneralRe: Assembly Loading Pin
Jasmine250114-May-13 11:36
Jasmine250114-May-13 11:36 
GeneralRe: Assembly Loading Pin
jschell15-May-13 8:23
jschell15-May-13 8:23 
AnswerRe: Assembly Loading Pin
Abhinav S15-May-13 8:16
Abhinav S15-May-13 8:16 
QuestionThe equivalent of 'OninitDlg()' Pin
Bram van Kampen10-May-13 13:51
Bram van Kampen10-May-13 13:51 
AnswerRe: The equivalent of 'OninitDlg()' Pin
dusty_dex10-May-13 14:18
dusty_dex10-May-13 14:18 
GeneralRe: The equivalent of 'OninitDlg()' Pin
Bram van Kampen12-May-13 13:03
Bram van Kampen12-May-13 13:03 
GeneralRe: The equivalent of 'OninitDlg()' Pin
dusty_dex12-May-13 13:42
dusty_dex12-May-13 13:42 
GeneralRe: The equivalent of 'OninitDlg()' Pin
Bram van Kampen13-May-13 13:06
Bram van Kampen13-May-13 13:06 
AnswerRe: The equivalent of 'OninitDlg()' Pin
Richard MacCutchan12-May-13 21:03
mveRichard MacCutchan12-May-13 21:03 
GeneralRe: The equivalent of 'OninitDlg()' Pin
Bram van Kampen13-May-13 14:22
Bram van Kampen13-May-13 14:22 
GeneralRe: The equivalent of 'OninitDlg()' Pin
Richard MacCutchan13-May-13 20:54
mveRichard MacCutchan13-May-13 20:54 
AnswerRe: The equivalent of 'OninitDlg()' Pin
Marco Bertschi14-May-13 23:11
protectorMarco Bertschi14-May-13 23:11 
Questioncan application service start without being logged in? Pin
neodeaths8-May-13 1:50
neodeaths8-May-13 1:50 
AnswerRe: can application service start without being logged in? Pin
Dave Kreskowiak8-May-13 2:07
mveDave Kreskowiak8-May-13 2:07 
GeneralRe: can application service start without being logged in? Pin
neodeaths8-May-13 2:18
neodeaths8-May-13 2:18 
GeneralRe: can application service start without being logged in? Pin
Dave Kreskowiak8-May-13 5:09
mveDave Kreskowiak8-May-13 5:09 
AnswerRe: can application service start without being logged in? Pin
Abhinav S8-May-13 23:05
Abhinav S8-May-13 23:05 

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.