Open a published Umbraco version (13.0.3) locally with Visual Studio
Hello dear Umbracians,
I have a 13.0.3 Umbraco website running online on the web server in IIS. It is a published site. Now I would like to update it to the latest 13 version and install the package "CMSImport". To do this, I need to get it running locally again. I would now run a new 13.0.3 Umbraco website locally in VS and then copy the necessary folders and the DB from the web server.
My question: Which folders and files do I need to copy from the web server to local? And: Can I simply replace the local SQL Express database with the one from the web server (same SQL Express Version)?
Unfortunately, if you don't have the original source code, it is very unlikely that you are going to be able to achieve what you are trying to do.
Prior to the migration to .Net Core, it might have been "semi" possible to achieve what you are after, but since v9 you have to have the original source code in order to do updates. This is because the whole publish/release process of .Net Core has changed and each time it has to do a build and release. - Depending on if there is any custom code in the site (other than views) and assuming the views aren't compiled/embedded, it may be possible to create a new v13 site and point it at the same database, then copy over views and similar assets. You may then need to decompile the compiled version to find any custom code that would need to be re-written.
In the old days (v8/v7) it was possible to run a "website project" that would compile at run time, and in this scenario it would typically have published all the raw source files but that's not the case any more (this approach wasn't ever really recommended though)
Open a published Umbraco version (13.0.3) locally with Visual Studio
Hello dear Umbracians,
I have a 13.0.3 Umbraco website running online on the web server in IIS. It is a published site. Now I would like to update it to the latest 13 version and install the package "CMSImport". To do this, I need to get it running locally again. I would now run a new 13.0.3 Umbraco website locally in VS and then copy the necessary folders and the DB from the web server.
My question: Which folders and files do I need to copy from the web server to local? And: Can I simply replace the local SQL Express database with the one from the web server (same SQL Express Version)?
Thanks for your help!
Hi ChristophC,
Unfortunately, if you don't have the original source code, it is very unlikely that you are going to be able to achieve what you are trying to do.
Prior to the migration to .Net Core, it might have been "semi" possible to achieve what you are after, but since v9 you have to have the original source code in order to do updates. This is because the whole publish/release process of .Net Core has changed and each time it has to do a build and release. - Depending on if there is any custom code in the site (other than views) and assuming the views aren't compiled/embedded, it may be possible to create a new v13 site and point it at the same database, then copy over views and similar assets. You may then need to decompile the compiled version to find any custom code that would need to be re-written.
In the old days (v8/v7) it was possible to run a "website project" that would compile at run time, and in this scenario it would typically have published all the raw source files but that's not the case any more (this approach wasn't ever really recommended though)
Thanks
Nik
is working on a reply...