httpClientFactory

There are already tons of good articles talking about benefit of using the httpClientFactory from .net core 2.1.

Read More

Configure Token LifeTimes

There is always time we may find it useful not to use the default token life time provided by Microsoft Identity Platform, e.g.: we may want to shorten the token exirty time, in order to test scenario where application is capable of ‘refreshing’ the access token when the original one expires.
Microsoft has hence introduced a way to allow you to configure the token lifetimes, this configuration is per tenant, service principal, or application.
In preview only, so need to load the module before using it. Below is an example to demo how a policy could be created and assigned to a service principal.

Read More

Gone Girl

I ran into a weird problem this week. Long story short: Pure code changes in startup Project 1), without touching the project reference/or binding redirect at all, ended up a completely different start-up project 2) gets crashed following my changes:

Read More