Last post Aug 18, 2009 01:49 AM by tvish
Aug 05, 2009 12:19 PM|seandoyle|LINK
I was assuming that there was some type of mechanism for managing etags - so that if I did a POST or PUT I could reset them. But I don't see where the mechanism is.
Do I have to write my own from stratch? From fiddler I don't see either etags or last-modified timestamps in the response.
WCF REST Starter Kit
Aug 10, 2009 03:03 PM|seandoyle|LINK
Hmm. I tried the following and it failed:
But when I look at the output in Fiddler I don't see an etag (see below). Is this possible or are etags not yet supported by the Rest Starter Toolkit? This would make it unsuitable for large scale applications. Thanks.
HTTP/1.1 200 OK
Server: ASP.NET Development Server/18.104.22.168
Date: Mon, 10 Aug 2009 18:55:58 GMT
Aug 18, 2009 01:49 AM|tvish|LINK
You would need to set the etag explicitly using WebOperationContext.Current.OutgoingResponse.Etag.