Programming & AI:
Tips 💡
Articles 📕
AI & LLMs 👾
Design, Architecture, Principles ✅
🇳🇱 Contact: @MoienTajik
Post #373
3.51K
Send ETag headers in ASP.NET Core ✨
ASP.NET Core doesn’t add an ETag header automatically to HTTP responses from MVC action methods or Razor Pages. ❌
We have to implement that ourselves to provide the users with true Conditional GET support that honors the If-None-Match request header. ✅
Wouldn’t it be nice if all we had to do was to register it using app.UseETagger() like this❓
https://t.me/pgimg/88
[ Article ] : http://bit.do/etags
〰〰〰〰〰〰
#AspMvc #AspCore #ETag
@ProgrammingTip
ASP.NET Core doesn’t add an ETag header automatically to HTTP responses from MVC action methods or Razor Pages. ❌
We have to implement that ourselves to provide the users with true Conditional GET support that honors the If-None-Match request header. ✅
Wouldn’t it be nice if all we had to do was to register it using app.UseETagger() like this❓
https://t.me/pgimg/88
[ Article ] : http://bit.do/etags
〰〰〰〰〰〰
#AspMvc #AspCore #ETag
@ProgrammingTip

