C
C#

help

❔ ASP.NET REMOTE DEVELOPMENT

KKasper2/2/2023
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
Jjcotton422/2/2023
what do you mean "remote development"?
KKasper2/2/2023
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
Jjcotton422/2/2023
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
KKasper2/2/2023
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
MMKP2/2/2023
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.
Jjcotton422/2/2023
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)
MMKP2/2/2023
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
Jjcotton422/2/2023
VSCode has remote ssh dev
Jjcotton422/2/2023
Developing on Remote Machines using SSH and Visual Studio Code
Developing on Remote Machines or VMs using Visual Studio Code Remote Development and SSH
MMKP2/2/2023
never used it before
KKasper2/2/2023
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
CChucklesTheBeard2/2/2023
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)
AAccord2/3/2023
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.

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
Exception/NULL/Error handling advice.DeserializeAsync clearly returns a nullable generic object. From the picture we can clearly see that❔ ASP.NET Core web app vs ASP.net web application(.NET Framework)Hi, Ive been working with c# for a while now and would like to make a webapp but I dont know where t✅ IGNORE PEOPLEmy place for testing commands❔ Game Hubhi, how can i program my own game hub, like battle.net where i can download and start my own games ?❔ ✅ beginner class and propertiesi am doing basic program abt class and getting information from input but on the weight section whe❔ Best practice to retrieve MySQL columnsHello wonderful people! Can you please help me understanding what would be the best practice to ret❔ Auto Slide Showhere my code✅ materialDesign:Cardfor some reason it says that closing matrialcard doesent exist and it shows an error❔ Why does this code give the CS8604 warning?I'm confused why the below code gives the CS8604 warning. As far as I am concerned, I am null checki✅ Having trouble adding a picture to my code.what should the path look like?❔ Producer Consumer ISourceBlock<T>, periodically flushing consumed dataHi, I've the following scenario: I've a camera continuously acquiring frames and a c# app receiving ❔ Load async data and display it (WindowsAppSDK / WinUI3)I am currently developing my first windows app with C#, Windows App SDK and WinUI3. I want to do som❔ Best Approach to Implement Authentication and Authorization in Microservices with ASP.NET CoreHi friends, I'm looking for experience share. I have Microservices architecture project, that uses ❔ Performance of many small requests vs less but bigger requestsI have 2 projects: an API hosted on aws and a desktop application. Currently, I'm fetching around 4k✅ Image from dataurlI have dataurl with image and i need to get it to some reasonable image object in c#, so i can resiz✅ why does the test case fail?This is from a longest palindrome puzzle on LeetCode https://leetcode.com/problems/longest-palindrom❔ MongoDB Update nested elementsMongoDB question, I'm trying to add a property to all of my existing documents. The thing is, my doc❔ Grapple HookSo I just made a grapple script but I have a gun camera not the actual gun so how do I add the Grapp❔ Custom "block" statement such as while..doHello, is it possible to build a custom block? For example ```csharp // usage DoRequestAsync { ✅ Why am I getting this exception?```cs class algo{ public static void Main(string [] args){ addList.numbers(); i