Recently, I have been working on a mobile app. I don’t like languages that are not C#, and I don’t have a need for low-level access, so I have been using Xamarin.Forms. Xamarin.Forms is super convenient and easy to use. Combined with Shared Projects, Xamarin.Forms allows for 95% of code to be written once and used across all major platforms. Anyways, not time for a sales pitch. My app connects to a RESTful HTTP server (henceforth known as the REST API) developed using the WebAPI framework. For the most part, this consists of getting lists of objects from the server, like a list of categories or a list of restaurants. I wrote a simple helper class for this, and would like to share part of it with you today. Continue reading “.Net Simple HTTP Client Helper Class”
Along time ago in a galaxy far, far away… HTTP was born. After a while, somebody decided they wanted to use the Internet to buy things. Someone else decided they wanted to send secret business emails. Another person went online and didn’t want people seeing what they browse in their spare time. So someone decided to add the letter S to the end of HTTP and everyone was happy.
Nowadays, everything takes place online. Bank accounts can be accessed, taxes can be filed, one quick click and you’ve sent a message to all your friends or co-workers. All that power behind a password. If you are like year-ago me, you have a roster of 3 or 4 passwords that you use on all these sites. No one can manage 30 different passwords for 30 different sites (unless they use management software like LastPass), so we are often left with our bank account having the same password as our email, or our Facebook password identical to our work password. Securing these passwords suddenly becomes priority #1.