Posts
When to Use The FromService Attribute
The [FromServices] attribute allows method level dependency injection in Asp.Net Core controllers.
C# 8 - Nullable Reference Types
Microsoft is adding a new feature to C# 8 called Nullable Reference Types. Which at first, is confusing because all reference types are nullable… so how this different? Going forward, if the feature is enabled, references types are non-nullable, unless you explicitly notate them as nullable.
9 Guidelines for Creating Expressive Names
Naming is subjective and situational, it’s an art, and with most art, we discover patterns. I’ve learned a lot through the reading of other’s code. In this article, I’ve compiled 9 guidelines I wished others had followed when I read their code.
With or Without Curly Braces?
There’s a heated debate around single statements and whether they should have curly braces or not.
Understanding Begins with Expressive Names
Understanding code is the first step to modifying it.
Codifying the Secret Sauce
Codifying the secret sauce is instrumental in writing maintainable and successful applications.