Click here to Skip to main content
15,063,859 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi ,
I Have below method method i want to pass parameters , how can i pass parametrs can u guide me or snippets

[WebInvoke(UriTemplate = "UpdateBook/{id}/{name}")]
void UpdateBook(string id, string name);
Jameel VM 3-Oct-13 11:49am
from where you call the service?Javascript?
kingsa 3-Oct-13 21:56pm
Thanks for reply ,
Using Uri in .aspx.cs file i am calling that service and also even i checking in browser also its error like method not allowed

1 solution

Go through this link[^]
Hope this helps

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900