Click here to Skip to main content
15,927,055 members
Home / Discussions / C#
   

C#

 
GeneralRe: Again: Reflection and array´s... Pin
Nick Parker6-Aug-04 3:12
protectorNick Parker6-Aug-04 3:12 
GeneralRe: Again: Reflection and array´s... Pin
leppie6-Aug-04 5:06
leppie6-Aug-04 5:06 
GeneralMDI Child Window Sizing Pin
James Spibey6-Aug-04 1:13
James Spibey6-Aug-04 1:13 
QuestionHow to find File from C# code Pin
Member 12499155-Aug-04 23:41
Member 12499155-Aug-04 23:41 
AnswerRe: How to find File from C# code Pin
Nick Parker6-Aug-04 3:04
protectorNick Parker6-Aug-04 3:04 
AnswerRe: How to find File from C# code Pin
Looney Tunezez6-Aug-04 10:29
Looney Tunezez6-Aug-04 10:29 
GeneralTrace in .NET remoting Pin
Md Saleem Navalur5-Aug-04 23:05
Md Saleem Navalur5-Aug-04 23:05 
GeneralRe: Trace in .NET remoting Pin
Heath Stewart6-Aug-04 4:49
protectorHeath Stewart6-Aug-04 4:49 
Assuming the remoting client and server have access to the same resources for logging isn't a safe assumption. Instead, write a logging interface into the server, one that the server can use locally and one that the client can make remote calls to. The backend could be anything you like: database, log text file, XML, whatever (using a provider pattern to provide the backend would be a good idea to be able to switch the backend provider easily).

Search CodeProject for other ideas.

If you want automated tracing of all messages sent back and forth, see the ProxyAttribute class documentation in the .NET Framework SDK. This includes an example of how to use this. While this would only work on the client, all messages to and from both the client and server would pass through your RealProxy-derivative and you could log those to a source (either a source local to the client, or again make remote calls on the server - just be sure not to log those logging calls or else you'll wind up in an infinite loop or messaging).

 

Microsoft MVP, Visual C#
My Articles
GeneralSpliting Controls Pin
sreejith ss nair5-Aug-04 23:01
sreejith ss nair5-Aug-04 23:01 
GeneralRe: Spliting Controls Pin
Heath Stewart6-Aug-04 4:51
protectorHeath Stewart6-Aug-04 4:51 
Questionhow to send an e-mail to hotmail??? Pin
shdelpiero5-Aug-04 22:40
shdelpiero5-Aug-04 22:40 
AnswerRe: how to send an e-mail to hotmail??? Pin
sreejith ss nair5-Aug-04 23:20
sreejith ss nair5-Aug-04 23:20 
GeneralRe: how to send an e-mail to hotmail??? Pin
Heath Stewart6-Aug-04 4:55
protectorHeath Stewart6-Aug-04 4:55 
Questionhow to close the form after specific time?? Pin
shdelpiero5-Aug-04 22:27
shdelpiero5-Aug-04 22:27 
AnswerRe: how to close the form after specific time?? Pin
Colin Angus Mackay5-Aug-04 22:55
Colin Angus Mackay5-Aug-04 22:55 
GeneralRe: how to close the form after specific time?? Pin
exhaulted6-Aug-04 0:41
exhaulted6-Aug-04 0:41 
GeneralColor Pin
sreejith ss nair5-Aug-04 21:56
sreejith ss nair5-Aug-04 21:56 
GeneralRe: Color Pin
sreejith ss nair6-Aug-04 1:35
sreejith ss nair6-Aug-04 1:35 
GeneralRe: Color Pin
Colin Angus Mackay6-Aug-04 3:59
Colin Angus Mackay6-Aug-04 3:59 
GeneralRe: Color Pin
Heath Stewart6-Aug-04 4:58
protectorHeath Stewart6-Aug-04 4:58 
GeneralRe: Color Pin
Colin Angus Mackay6-Aug-04 5:24
Colin Angus Mackay6-Aug-04 5:24 
GeneralRe: Color Pin
sreejith ss nair6-Aug-04 18:45
sreejith ss nair6-Aug-04 18:45 
GeneralRe: Color Pin
Colin Angus Mackay6-Aug-04 23:41
Colin Angus Mackay6-Aug-04 23:41 
GeneralRe: Color Pin
sreejith ss nair8-Aug-04 17:47
sreejith ss nair8-Aug-04 17:47 
GeneralRe: Color Pin
sreejith ss nair8-Aug-04 17:55
sreejith ss nair8-Aug-04 17:55 

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.