Deleting via REST from DataService project

Nov 24, 2009 at 7:53 PM

I've gotten myself stuck trying to perform deletes via rest.svc in the DataService project.

I see that serviceproxy.js has an invokeDelete method but I'm not seeing a method on rest.svc accepting the DELETE HTTP verb which serviceproxy.js uses. The generated service help files only show methods accepting GET and PUT. Am I attempting deletes completely wrong? More importantly, how can I perform deletes client side?

Thank You


Nov 24, 2009 at 11:54 PM


I added a method in the Rest.svc code generator to accept the DELETE verb. I have the patch if you're interested.

BTW... thank you very very much for this killer toolset!!!

Nov 28, 2009 at 1:40 AM

We are adding this to the toolset. Please check next version when it comes out. Probably about Monday. 


P.S. it is already in source control if you want to get the latest

Nov 30, 2009 at 12:32 PM

There is now a published version with the Delete function for REST. The Inversion of Control projects are also part of the new framework.