C
C#2y ago
Kasper

❔ ASP.NET REMOTE DEVELOPMENT

Hey does anyone know if I would need nginx for remote development on a ubuntu server from my windows laptop? Also does anyone have any experience or know how this work flow would work is the first time doing something like this already have my db and asp.net dotnet installed on the server. Would i also be able to use a domain to recieve callbacks from api's
13 Replies
jcotton42
jcotton422y ago
what do you mean "remote development"?
Kasper
Kasper2y ago
welll as its for school and the network is mostly blocked i cant give a domain for my callbacks so i have a ubuntu server where i would most prefarable ssh into via i presume is posible via vscode or rider to program the site and debug it so the code and all the files are on the remote server and i would work remotely and debug remotly
jcotton42
jcotton422y ago
I haven't done SSH remote dev, but I've done it with containers in VSCode and it worked really well I assume the experience would be similar
Kasper
Kasper2y ago
yeah i was mostly wondering how it would work with a site i've already got a domain linked to server but im not sure if i would need something like nginx already installed and ssl records to view the site its a droplet on digitalocean
MKP
MKP2y ago
You dont need nginx. You just run a ssh server. Should be built right into your linux box. You open your 443 port, ssh -l username [ip] You dont need a domain either.
jcotton42
jcotton422y ago
ssh uses 22, not 443 oh wait you mean for accessing the web server that starts up 😅 (though, you'd want to open a higher port like 8080 or 8443, or use SSH port forwarding)
MKP
MKP2y ago
Yeah 443 is for https Depends if you want to include your port or not in the url The problem would be having to put up with vim lol You may also want to look into sftp so you can do local development
jcotton42
jcotton422y ago
VSCode has remote ssh dev
jcotton42
jcotton422y ago
Developing on Remote Machines using SSH and Visual Studio Code
Developing on Remote Machines or VMs using Visual Studio Code Remote Development and SSH
MKP
MKP2y ago
never used it before
Kasper
Kasper2y ago
i'll have a look at this cant really i have to use a payment system that has a callback for when the payment is made and i mostly work on it from school so i have a hard time getting that callback to reach my laptop with there overly blocked network when its a post request to my computer
ChucklesTheBeard
protip: usually, nothing stops you from just listening for SSH on port 443 or connecting to it. The HTTPS police won't catch you. (don't do this professionally, your coworkers can and will catch you)
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.