Welcome to MSDN Blogs Sign in | Join | Help

REST in WCF - Part VII (HI-REST - Implementing Insert and Update)

The post on implementing INSERT and UPDATE with WCF REST has been moved to my new blog at www.robbagby.com.

image

Published Thursday, June 12, 2008 10:17 PM by rob.bagby
Filed under: , , ,

Comments

# REST in WCF Blog Series Index

As some of you know, I am in the midst of a blog series on REST in WCF. Further, I have been hard at

Thursday, August 07, 2008 2:03 PM by Demystifying The Code

# REST in WCF - Part XI (Tunneling PUT through POST)

A common scenario you may encounter when designing your RESTful services is supporting clients that only

Monday, November 10, 2008 5:26 PM by Demystifying The Code

# REST in WCF

The series blog post on REST in WCF REST in WCF - Part I (REST Overview) REST in WCF - Part II (AJAX

Wednesday, December 24, 2008 1:34 AM by Journal of Abu Sayed Mohammad Ismail

# re: REST in WCF - Part VII (HI-REST - Implementing Insert and Update

Hi Rob,

You have put together a very useful set of blogs... thanks.

I tried out the starter solution you put out. After I do an Update or Insert, the database gets updated. But the part which re-populates the drop-down control with the products list never gets updated. It looks like GetProductGrouping doesn't get invoked after an Update/Insert operation or somewhere the previous product list is cached.

Did you encounter this when you try out the sample application?

Friday, February 13, 2009 3:24 PM by samtadsh

# re: REST in WCF - Part VII (HI-REST - Implementing Insert and Update

Not sure which version you have (as I have released a few).  The issue you are seeing has to do with caching.  One solution would be to put a no cache directive on the get like the following:

//Tell the client not to cache

       outResponse.Headers.Add("Cache-Control", "no-cache");

You have to get a ref to the response which is available in the WebOperationContext.Current.

Rob

Friday, February 13, 2009 3:42 PM by rob.bagby
Anonymous comments are disabled
 
Page view tracker