locked
When to upload logfiles to a server, since apps don't know when they are closed

    Question

  • I had an old WinCE app that uploaded logfiles to a server when it was closed by the user.

    Porting this app to WinRT I have trouble replicating this scenario. The suspend event leaves not enough time to initiate and complete the upload of the logfiles.

    The only solution I have now is to "live" log to the server while the app is running. However that can fail if there is no connection and the logging would have to handle this and persist/queue up not send log entries. Which makes it incredible difficult and error prone - for just logging.

    Anybody has a better idea?

    Tuesday, March 10, 2015 12:14 PM

Answers

All replies