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
Post #373
3.51K