How to Work With Custom Headers in ASP.NET Core Web API

preview_player
Показать описание

In this video, I will talk about how we can work with custom headers in .NET Web API applications and the different ways we can add and extract those Custom Headers.
Custom Headers allow us to add extra content to our HTTP requests and responses, which we can pass between the client and server. We can use custom headers for metadata, such as defining the current version of the API that is being used. We can also use them to define security policies our applications must adhere to.
Anyway, there are a lot of use cases there for custom headers, so let’s see how to work with them.

LINKS MENTIONED IN THE VIDEO

FOLLOW US ON SOCIAL MEDIA!
Рекомендации по теме
Комментарии
Автор

Thank you all for watching and for your support.

CodeMaze
Автор

Thanks a lot for the useful video 👍
How to access custom Headers in the Handler in Clean Architecture?
Should I create a service?
Should I inject IHttpContextAccessor and access Items object?
Or there is a better solution ?

Tamer_Ali