Must Have API Controllers!

Publicado em: 11 Setembro 2023
no canal de: ScriptBytes
190
14

Every time I create a new API, I always end up adding these two controllers.

One is a /status controller, which does health checks on various parts of my API and responds if everything is ok. I then call these endpoints from a monitoring tool to check on the status of my API.

The other is an /errors controller, which will respond with a given error code whenever an endpoint is called. I use this from my user interfaces to ensure that the users have a good experience when something goes wrong on the backend.

I show how I implement these in a .Net 7 API.

Follow me on social media!
Twitter:   / scriptbytesio  
Instagram:   / scriptbytes  
Threads: https://www.threads.net/@scriptbytes

Check out my blog!
https://scriptbytes.io/


Nesta página do site você pode assistir ao vídeo on-line Must Have API Controllers! duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário ScriptBytes 11 Setembro 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 190 vezes e gostou 14 espectadores. Boa visualização!