Last week, I wrote about the program that will read the emails from my Outlook account. This week I’ll grant the application read rights so that it can actually read the emails.
At work, we made the switch from a local mail server that was accessed over POP3 and IMAP to Office365 Outlook which we access through their RESTful API. To learn more about how this works, I tried to duplicate this process so I can access my personal Outlook emails via a console application.
For a client, I’m working on a portal for their customers. This portal needs to be branded according to the logged-on client. If Microsoft does business with my client and can log into the portal, then the Microsoft logo should appear and all highlight colours should be red, green, blue and yellow.
At work, a number of angular web pages were sending an increasing number of requests to the back-end. Apparently, if I reuse components that don’t properly dispose of their observable subscriptions, they keep sending and processing multiple requests.
I like Have I Been Pwned. I love the simplicity. Unfortunately, it lacks support for Gmail plus notation.
A trend I see in code that gets written by friends and coworkers is that every class needs to be injected. They all look so surprised when I tell them that they don’t have to do that with every class they need. Then they always follow up with: then why do we need a dependency injection (DI) framework?