.NET
The Auth Setting that Everyone Must Change in .NET (via Nick Chapsas)
- When using JWTs to authorize, a token can be valid even though it’s expired.
- To handle slight time variations between servers, there is a default clock skew of 5 minutes.
- Akamai recommends 5 seconds, as any network synced computers outside of that indicates a different problem.
The 3 Biggest Mistakes of Object Mapping in .NET (via Nick Chapsas)
- Don’t put business logic into your mapping. It makes debugging very difficult because it’s not immediately clear how an object is being set up.
- Don’t mock the mapping interface for testing. Mapping is part of what the business logic does, so don’t abstract it.
- Making one model have a constructor that takes the other kind of model, then assigning manually. The problem is you can’t do the reverse map when these models live in different assemblies, because it creates a circular dependency. Also, your model shouldn’t have to know how to be constructed based on some other model.
Managing Up
28 Questions to Ask Your Boss in Your One-on-Ones (via HBR)
This article has a good set of questions on the following topics: guidance/input, priorities, expectations, org strategy, growth opportunities, career advancement, performance feedback, and relationship building.