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?
After I read the MSDN article about structuring an MVC app in feature folders, I wanted to create my own Nuget package or dotnet template to easily achieve this.
Seems like I’m talking a lot about 1Password (and password managers in general) these past few weeks. Well, it’s because I think they are awesome and an invaluable tool if you want to secure yourself on the internet these days. In this article, I’m going to explain why you should use two factor authentication (2FA) and how you can set it up with 1Password, so you only need to do it once.
Password managers are undervalued. Not only do they provide an easier way to store passwords, they offer so many little security enhancements I start to take for granted.
My wife is getting more and more responsibility at work. She handles a number of high profile cases, she’s following a course to become the company’s Data Protection Officer for the upcoming GDPR legislation and is the all around go-to-girl for any problem around the office. This leads her to think about asking for a raise. Unfortunately, she has no clue how to go about this as she’s never asked for a raise before.
This week, a consultancy company tweeted something along the lines of “Thanks for following us @bonny_ken”. They mentioned others as well, but in this tweet, I was mentioned specifically. I do not follow them, I’m not affiliated with them and I feel like this is an unhealthy way to establish their reputation.
In the first week of 2018, I got surprised by a smart system, that looked like a dumb system. Unfortunately, it scratched my car in the process.
In the newer services at my client, AutoMapper is used to map DTO‘s to database objects and back. Because mocking a mapping isn’t obvious, a lot of behaviour wasn’t tested and that’s unacceptable. Let’s find out how to properly inject an
IMapper with actual mappings.