Unit Testing the Xamarin Forms Mobile App: The Service

Continuing from my last post. Documenting the Service class unit tests remains. A quick look at the source code shows there are three service classes but, regrettably only one of them can be tested. The Message service requires a user response that I have yet to figure out how to do programmatically for the unit…

Unit Testing the Xamarin Forms Mobile App: The ViewModel

In the previous post I demonstrated unit testing for the Azure Functions that are used by the Xamarin Mobile application for myWineDB (to-date). In this post (and the one to follow) I will document the challenges to writing unit tests for the Mobile application. I knew when I started that I should have been testing…

Unit Testing the Azure Functions API

Maybe I am old school and I have lost touch with the younger generation of programmers, but, in my day almost all programmers hated unit testing. I for one was one of them. No longer! When teams are spread across time zones and they contribute to the same project. Nothing will scream “OPPS!” louder then…

…You Get the Horns Part 2

In this post we continue the process of adding Authentication and Authorization to a “Flyout” Xamarin Forms Application that we started in the previous post. The remaining steps are: Add AD User and Role to Azure Function API New Mobile App Project Configuration Steps Add AD User and Role to Azure Function API From the…

Sometimes you get the Bull and Sometimes…

I thought it would be an easy extension of my custom domain, with proxied URLs for the Function API to include authentication. NOT! At the time of this writing I am half way to my objective. I can authenticate and retrieve (or submit) data from/to the API using Postman. But as of today I can…

Security by Obfuscation or Where is the API?

And the answer is… The API can be anywhere, and a new Function App has been set up for the rest of the API development (well, the old version is still up so the link in a previous post still works). On top of that proxies have been set up to the subdomain api.mywinedb.org, so…

Taking the Red Pill

One of my favorite movies is The Matrix because it has so many software development themes in it. For the uninformed The Matrix is an artificial world set up by machines powered by the energy of humans who “think” they are in the real world. The main character is given a choice early on in…

There Has To Be A Better Way or Too Many Things to Do

In my last post I decided to take my data to the cloud. This prompted all kinds of requirements that I didn’t have to consider before. All businesses are struggling to figure out if they can put their data in the public cloud and “know” its secure. I am no exception to this and wrestle…

Shift Happens

It has been a while since my last post and I apologize. The only thing harder than looking for a job is getting one with Microsoft (albeit as a contractor) even if it was only briefly. It was a great experience but it busted my balls in a positive sort of way. In the interim…

Something went wrong. Please refresh the page and/or try again.


Follow My Blog

Get new content delivered directly to your inbox.