I am relatively new to WCF. However, I need to create a service that exposes data to both Silverlight and AJAX client applications. In an attempt to accomplish this, I have
Modify your web.config You can find tag and below of this tag you have to have two other tag :
And
In tag you have to reference to interface of your class.
For exampl : If your service class named CustomerSearch and your interface named ICustomerSearch you have to config like this :
CustomerSearch
ICustomerSearch