Click here to Skip to main content
15,889,861 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-Badger16-May-13 8:37
M-Badger16-May-13 8:37 
GeneralRe: I suspect there's a Pattern for This: Optional Parameters vs. Overloading Pin
jschell17-May-13 10:13
jschell17-May-13 10:13 
AnswerRe: I suspect there's a Pattern for This: Optional Parameters vs. Overloading Pin
TnTinMn16-May-13 13:37
TnTinMn16-May-13 13:37 
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
mve#realJSOP14-May-13 5:10 
AnswerRe: Assembly Loading Pin
Jasmine250114-May-13 6:18
Jasmine250114-May-13 6:18 
The running application (or new application using currently cached DLL) doesn't know about changes to the DLL itself in most cases, so you'd have to write some kind of polling thing, or event response to the Windows file changed event, and pick up the new DLL and link it in "manually" like this...

C#
Assembly assembly = Assembly.LoadFrom("MyLibrary.dll");

Type type = assembly.GetType("MyType");

object instanceOfMyType = Activator.CreateInstance(type);


This is frustrating for sure, when you have lots of apps using the same DLLs - I've had this issue with multiple web sites before, and it took us a long time to understand what was happening. You would think that copying over the old DLL would cause a system-wide "this DLL is no longer up to date" kind of event, but apparently not.
GeneralRe: Assembly Loading Pin
#realJSOP14-May-13 6:57
mve#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 
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 

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.