I have been trying to figure out the logic of upgrading web applications. Like in case of DNN. It provides upgrades to switch to newer versions. How is the existing data managed? Do we replace the whole project :P? What goes behind the scenes?
Thanks
It really depends what has been modified between versions.
Once the upgraded data structure is in place, the corresponding web site code can be deployed. In most cases, the code will only work with the corresponding data structure version. And, normally, the code updates can be deployed using either "delete existing" or "full overwrite".