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
Telegram
Programming Tips Resources