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