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”
Here comes a mid-week post! This is more of a PSA than anything else, directed at those looking to try their hand at developing UWP apps. There is a TL;DR at the bottom for those who are not interested in the story. Continue reading “Trouble With UWP: Drives Driving Me Crazy”
Our first son has arrived, and I have had a little more spare time than I expected recently. There are only so many diaper changes and feedings one baby needs in a day! With my time off from work these next few weeks, I am working through some Unity 5 tutorials, starting with this one.
Today I will go over how to build a simple SMTP Message Client, which can be used to send emails. This one is fun if your organization’s SMTP server does not require authentication (many don’t) and you would like to impersonate your boss. Note: Don’t impersonate your boss.
When testing systems, it can be useful to see what’s hidden behind a base64 string. Maybe we are running a secuirty audit and come across an HTTP endpoint using Basic Authentication :O and we want to illustrate to those that don’t understand the risk and why it should be changed (well, it looks encrypted to a non-technical person…). You might need this for any number of reasons. Maybe you just want to try it for knowledge’s sake. Lucky for us, .NET has wonderful built in methods for working with base64.