JSON Server Example 2

Simple ASP.NET script service call

This example demonstrates a simple ASP.NET script service call to a calculator JSON service.

The service is implemented in the CalculatorService class in the example2.php and implements the ICalculatorService interface which represents the contract. Arguments are passed by name (as an object).

jQuery is used to call the service but you can use whatever you like as long as the request is formatted according to any of the supported protocols.

Metadata of the service can be found as a Service Metadata Description or a JSON-WSP Description.

Calculator Service +