Git Code Commit (all commits between last post and this commit (link))
Welcome back to The Globe In My BucketList Application (TGIMBA) continuing .NET Core update.
Previously, I had mentioned putting the Angular 6 Type Script and React Redux JS client’s Cascading Style Sheets (CSS) on hold so I can fast track working on the Application Programmatic Interface (API). However, as I was reviewing the current dashboard, it looks old and I want to give it a face lift first 🙂
To do this, I had to:
- Tweak the TGIMBA Continuous Integration/ Continuous Deployment (CI/CD) pipeline. More specifically, I added a build Power Shell script that writes the build statistics out to the database. The power shell script is here. The database table w/results:
- Upgraded the mobile site a bit. When I actually reviewed it online on my phone, it didn’t look as good as it did on my development computer. So, I added some button icons to replace text and played with spacing. The main page looks like this:
- Added a new Azure function data ping service. It consists on one method to verify the website is running. The code is abstracted by an interface called ITgimbaPing.
- The implementation is pretty simple and looks like this:
- The two interfaces are in place to allow abstraction for the unit test(s) I will eventually write. The HTTP client implementation looks like this:
- The database implementation looks like this:
- The function itself (I deployed it the wizard and instructions from online) is timer based and runs once a day.
- When run, the database table looks like this (in case you were wondering, I am assuming the function and database are both up if the data is inserted into the database):
I am hopping this live data and using the new layout I can create something nice.