What kind of trust level does your app run under?  That's going to
affect where you can write files I think (and probably your access to
their paths--e.g., you can create a file in IsolatedStorage under most
trust levels, but I don't think you're allowed to see where exactly that
file is stored).

For catastrophic stuff (e.g., not-otherwise-handled exceptions),
consider putting up a web service your client can call that will stash
info in your own db & alert you as appropriate.

HTH,

-Roy

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Shane
Courtrille
Sent: Thursday, April 05, 2007 10:19 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET] Smart Client Logging

I'm working on a small test smart client application.   My next step is
to
try to implement logging so that if a client has a problem I can get
details on it.  I'm using the log4net framework so I have a lot of
options as to how to log.  My first thought is to try logging to file
and providing the user with the location of the file.

Does anyone have any guidelines on logging from a smart client?  I've
looked around for guidelines for saving files from a smart client and
haven't seen anything.

Thanks,

Shane

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to