Issue
How to compare the version of an application in server and the application installed in client machine?
Solution
There are many ways.
Server can have a public WCF service, that returns the version of the app on the server. It can take it from exe file that is lying on the server (using reflection), or just parsing some server xml file - that can be updated by deployment responsible person. You can consume that service in your client app when needed.
ClickOnce deployment gives you abbility not to think about versioning. You can configure such deployment in a way that application won't start if there is a new version on server(that will be downloaded automatically).
Others are variations of connection to the server method and deployment configuration. Choose what fits you most.
Don't forget to mark this as correct in case it fits you.
Answered By - Sasha Reminnyi Answer Checked By - Senaida (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.