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 unitContinue reading “Unit Testing the Xamarin Forms Mobile App: The Service”
Category Archives: Uncategorized
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 testingContinue reading “Unit Testing the Xamarin Forms Mobile App: The ViewModel”
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 thenContinue reading “Unit Testing the Azure Functions API”
…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 theContinue reading “…You Get the Horns Part 2”
…You Get the Horns Part 1
Part 1 of a 2 part blog on using MSAL with a Flyout Xamarin Forms Application.
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 canContinue reading “Sometimes you get the Bull and Sometimes…”
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, soContinue reading “Security by Obfuscation or Where is the API?”
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 inContinue reading “Taking the Red Pill”
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 wrestleContinue reading “There Has To Be A Better Way or Too Many Things to Do”
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 interimContinue reading “Shift Happens”