Persisting data using a REST service
Some REST services accept data that we send to them as well, so this data can then be persisted back into a database. In this recipe, we'll make it possible to add, update, or delete a user in the Computer Inventory application where we're working on the User Management.
Getting ready
This recipe builds on the code created in the previous two recipes. If you want to follow along with the steps in this recipe, you can also use the starter solution located in the Chapter08/ TalkingToSimpleRESTServices_PersistingData_Starter
folder in the code bundle available on the Packt website. The finished solution for this recipe can be found in the Chapter08/TalkingToSimpleRESTServices_PersistingData_Completed
folder.
How ...
Get Silverlight 4 Data and Services Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.