I have a Windows desktop application that is used as the front-end for a webservice. This application has a database that could get updated from time to time, but it would also work with an old database. I want my application to do a background check on startup, whether the database needs to be updated.

If that is the case, I want to notify the user.


What are the best ways to show the user a notification for available updates on a desktop application ?

  • 1
    Rather than the technical details of how it works, maybe you can add some context about what your users do with it and maybe a mockup of how it looks so far? – Big_Chair Nov 7 at 14:37
  • Is there any reason why a user might not want to update the database? If not, then auto-updating the database on startup or shutdown (if the process is quick) might be a better approach. – ultrafez Nov 7 at 18:14

Create a new endpoint in your webservice backend which returns a version number. Whenever you launch your application, call that endpoint and compare the received version number with the one (i.e last) you have previously persisted. If the received version number is greater than the persisted one, notify the user. Once the user completed the update, persist that new version number in the application.

Edit: Another way is to provide a version number in the header of every response of every webservice request and then follow the steps aforementioned

  • 1
    This was more of a UI/frontend question. I've clarified the question to be more specific. – andy meissner Nov 7 at 6:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.