I have created an AJAX-enabled WCF project TestWCFAjax having Default.aspx that uses the Add.svc web service. When I select Default.aspx and run the app in VS 2008. It works perfectly, calls the webservice to do the desired task. But, I have following
1. When I select the Add.svc.cs and run through VS2008, it throws an error "The type 'TestWCFAjax.Add', provided as the Service attribute value in the ServiceHost directive could not be found.".
And the web url on the browser points to
http://localhost:4960/Add.svc. I didn't create any virtual directory. I tried creating one that points to my application folder - TestWCFAjax. Still it doesn't work. How can I view Add.svc service on the browser like what we can do with normal WCF service?
2. How can I use Add.svc (AJAX-enabled WCF Service) in another web application?
View Complete Post