Sam Ferree

Sam Ferree @sam_ferree

About: Software Architect Specializing in the C# and ASP.NET Core But I've been lucky enough to dabble in Ruby, Python, Node.js, JAVA, C/C++, and more.

Location:
Midwest America.
Joined:
Feb 14, 2018

Sam Ferree
articles - 12 total

The Trouble with .Single()

Checking for a singleton safely

Learn More 3 0Jan 3 '24

Constructors vs Initializers vs Factories

A comparison of object instantiation techniques

Learn More 4 0Dec 14 '23

No Sacred Cows: I, Interface

Do we still need to preface our interfaces with I? What value does it really add?

Learn More 6 11Feb 16 '22

Maybe, but How?

Null considered harmful The problem with null has been discussed at length. With the newer...

Learn More 2 0Jan 25 '22

Explicit Registration in ASP.NET Core DI

How to explicity register a service in ASP.NET Core's built in DI Container

Learn More 6 0Aug 10 '20

Into the Unknown - Working with Missing Data in C# Part 1: Being Explicit

Being explicit about missing data.

Learn More 6 0Jun 12 '20

How to avoid mocking repository for Unit Tests

Try to push your impure dependencies outward as shown here.

Learn More 5 0Jun 12 '20

Avoiding Exceptions in ASP.NET Core

Do you hate the try/catch pattern as much as I do? Let's see if we can do without it.

Learn More 71 21Aug 13 '18

Using the Strategy Pattern (Examples in C#)

Write code that can accomplish the same task different ways.

Learn More 117 12May 15 '18

Why (I think) "Cost of Living" pay for remote workers is BS.

Some companies think it's okay to pay people less just because rent is cheaper, but compensation is about so much more than the square footage you live in.

Learn More 301 74May 9 '18

This Week I Learned Vol 2.

Really enjoyed the responses I got last week, so I thought I'd go for round 2! Share anything you...

Learn More 9 5Mar 2 '18

This Week I Learned

Would love to see what cool things you guys learned. These can be ideas, tips and tricks, or anything...

Learn More 13 8Feb 23 '18