January 11, 2021

C# - Record Types in practice

C# 9.0 introduces a new type called record type which is an immutable reference type with a ‘built-in’ value-based comparison. It’s inumattble because once the object is created it cannot be changed. Read more

December 12, 2018

Models and DTOs in Your API

I religiously avoid using model objects on my API interfaces. The reason is really simple, a model is a business entity and you don’t want to expose a business entity inadvertently to your API consumers. Read more

December 12, 2018

Put vs Patch Api in .Net Core

There are 2 http verbs that can be used when updating a resource: Put and Patch but when to use one over the another ? In simplistic terms the former updates the entire resource whereas the latter updates one partially.

Copyright © William Leme