i have bin useing version 8 up til now and like to chance bu i only have visual code and cant figure out you to ger at clean Umbraco on to my FTP server.
i perfere not to make projekts local as i most of my time is om mac and not at home so i work alot when i travel. and only at home lab have at win 10 machine.
i can fine make the projekts on the windows 10 machine it is getting it on to the webserver whit out evet lodig the ombraco instanes so it is set up whit web server DB and all the things
You don’t have to use Visual Studio or VSC, all you need to do from version 9 and up is open command line (start -> cmd), then navigate to your website folder (cd my_project ), then you type the following command:
dotnet publish
Then you copy what inside the publish folder to your ftp
Publish folder will be inside bin/debug/net7.0/publish
(It will also tell you in the command line after you do dotnet publish)
Make sure to delete the current files from your ftp before you copy the new version files
how to make a projekt on FTP
Hey,
how do i make a projekt on a ftp server..
Do i build it whit dotnet in promt and just upload to ftp whitout starting it.. ?
ore what is the deal..
my webhost is a bit wage on how to do it.
Bestregards
Michael.
Is thear no one that can help whit this..
i have bin useing version 8 up til now and like to chance bu i only have visual code and cant figure out you to ger at clean Umbraco on to my FTP server.
i perfere not to make projekts local as i most of my time is om mac and not at home so i work alot when i travel. and only at home lab have at win 10 machine.
i can fine make the projekts on the windows 10 machine it is getting it on to the webserver whit out evet lodig the ombraco instanes so it is set up whit web server DB and all the things
Bestregards
Michael.
You don’t have to use Visual Studio or VSC, all you need to do from version 9 and up is open command line (start -> cmd), then navigate to your website folder (cd my_project ), then you type the following command:
dotnet publish
Then you copy what inside the publish folder to your ftp
Publish folder will be inside bin/debug/net7.0/publish (It will also tell you in the command line after you do dotnet publish)
Make sure to delete the current files from your ftp before you copy the new version files
Hi Michael,
If you publish it to a local folder you can upload all the files from that to your provider.
Are you using vs code?
sorry for late reply sommer vacation.
Meni.. have tryed it and then i ger errovers when i use system when i try to save tampletes and so.
but i give et a try agin.
Johan
i have Visual Studio 22 anc visual Code..
Try this: https://learn.microsoft.com/en-us/visualstudio/deployment/deploying-applications-services-and-components-resources?view=vs-2022
thanks i try that..
is working on a reply...