Learn how to setup a remote development environment that you can access from Visual Studio Code using a secure tunnel. Your remote environment will be accessible from Windows, Mac or Linux using VS Code as well as through https://vscode.dev in the browser. Use the same environment across devices and offload the compute to a remote computer. This video shows you how use a Synology NAS as your development server. I'm using the Synology DS220+ with DSM 7.2.
📚 Read the blog post: https://blog.adamstirtan.net/2023/10/remote-net-development-with-tunnels.html
🔗 Links
SynoCommunity: https://www.synocommunity.com
SynoCommunity package source: https://packages.synocommunity.com
🧑💻 Commands used in the video
.NET Install command: wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
.profile command: export PATH=$PATH:/var/services/homes/USER_NAME/.dotnet
Code CLI commands:
curl -Lk 'https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64' --output vscode_cli.tar.gz
tar -xf vscode_cli.tar.gz
code-tunnel.service: https://gist.github.com/adamstirtan/eb2d33436c78129b626dbd92e2488ac3
Start the service:
sudo systemctl daemon-reload
sudo systemctl enable code-tunnel.service
sudo systemctl start code-tunnel.service