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

Comments (5)
  1. Anonymous says:

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

  2. Anonymous says:

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

  3. Anonymous says:

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

  4. samtadsh says:

    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?

  5. Garry Trinder says:

    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

Comments are closed.

Skip to main content