Grin
❔ How can I connect to an API?
What truly buggers me about all of this, is that I'm told to not ever connect directly to my server. I THINK the reason for this is because if someone gets ahold of my program they can decompile it and find the username & password for my server.
28 replies
❔ How can I connect to an API?
@.mayormccheese I do have the ports forwarded with a static ip address. So I'm able to access my pc from multiple devices. My laptop with a winform app that does essentially the same thing as my android app is way faster at connecting for some reason though. Do you think my android app would perform faster if I used a restful api? I need to learn about that but I'm worried it wont help.
28 replies
❔ How can I connect to an API?
@kocha
Here is the code where I'm hanging from time to time, its at connection.Open(); I feel like that ConnectionTimeout=10 increases the speed of the connection, I know it doesnt. Just using it as a placebo to make me feel better. I only wanted to use something I was familiar with. I have 0 experience in API, and a tiny bit with SQL.
Here is the code where I'm hanging from time to time, its at connection.Open(); I feel like that ConnectionTimeout=10 increases the speed of the connection, I know it doesnt. Just using it as a placebo to make me feel better. I only wanted to use something I was familiar with. I have 0 experience in API, and a tiny bit with SQL.
28 replies
✅ What knowledge base is necessary to create a winforms app that communicates with a server?
I was planning on creating an online server that is accessed by a single winforms app and multiple android tablets (Xamarin). But just for the time being, to try to understand how this system would work I wanted to create a very very small winforms app that communicates with an online server I would host. I've never heard of port forwarding, static / dynamic ip addresses or VPS. I think my greatest weakness is understanding this stuff right now. I wish I could find a current book that just teaches users where to start to begin with servers and hosting.
5 replies
✅ Xamarin debugging issues
After about a week the problem has been solved. I was using old NuGet packages that weren't compatible with Xamarin. To solve this problem you have to right click on your project name in project solutions, select manage NuGet packages, and update all expired NuGet packages.
5 replies