Status Codes for REST APIs

0

When it comes to Status Codes for REST APIs, we are all in a hurry to deliver functionality and we often ignore them. Come as it may. We use what we get. And that’s it. REST as a concept should also be about meaning, longevity and empathy towards our API…

Continue reading

Extending EF Core DbContext

0

Entity Framework allows you to extend the DbContext class to add your own entities, extend existing entities, and customize them at runtime. All of these in a clean and simple manner, if you are willing to do so. It doesn’t even matter if those entities don’t have a table representation. You can do that by leveraging C# partial classes and method.

Continue reading

Versioning REST APIs

0

Headers or URL? In the context of REST APIs there is a lot of confusion around versioning. Some people recommend versioning REST APIs by adding the version in the URL. Others don’t version at all, and others recommend versioning REST APIs using headers.Nothing bad so far, but I’ve personally seen…

Continue reading