I have to create a WCF service that executes a query (no problem at the moment). My problem is that this query needs two parameters that the user types into a web form and submits with a button. How can I pass those 2 parameters from the web form to the service? I have only created services that receive only one parameter, not more than one This is my only problem, I'm be able to read the JSON result and organize it in the form
Thaks a lot
I think you can use UriTemplate,
UriTemplateis a class that encapsulates a URI template. The constructor takes a string parameter that defines the template.like :
Useful links:
URI Processing with UriTemplate and UriTemplateTable
How to pass multiple parameters on WCF Restful service using C# in ASP.Net