Starting > Designing > Developing > Testing > Running
Home | News | Blogs | About

JSON File Update - Best Practice ?

I am a new developer user trying out DeviceAtlas and I am trying to determine the "best practice" to follow as far as updating the JSON file ...

My platform is .Net, and I did try the sample code, which works quite nicely. However, when I went to download the updated JSON File, I note that it has a new unique name. (and I presume that when licensed for live use, the same would apply)

My question is - is it appropriate to rename the file (to a hard-coded name that is used within our code) and then simply deploy that over an older JSON file?
The alternative would seem to be to either have the code search the appropriate folder on the server to locate the most recent JSON file, and/or have the file name some sort of config parameter.

Thanks in advance for your thoughts.
Best regards,
Blair

Switcher iconSwitch to our desktop site | mobiThinking