Top "Wcf-rest" questions

A REST service built with WCF

Cannot set content-type to 'application/json' in jQuery.ajax

When I have this code $.ajax({ type: 'POST', //contentType: "application/json", url: 'http://localhost:16329/Hello', data: { name: 'norm' }, dataType: 'json' }); …

json jquery content-type wcf-rest
jQuery .ajax() POST Request throws 405 (Method Not Allowed) on RESTful WCF

I am sending a post request to a RESTFUL WCF service application. I am able to successfully send a POST …

jquery web-services rest post wcf-rest
Can we create custom HTTP Status codes?

I have a REST and WCF service and want to send a custom status code based on the operation. For …

c# asp.net wcf http wcf-rest
WCF Error : Relative end point addresses

Um quite new to WCF . I think I have messed up a bit. So this is what I did so …

wcf iis iis-7 wcf-rest
How to pass and consume a JSON parameter to/with RESTful WCF service?

I am a beginner at RESTful services. I need to create an interface where the client needs to pass up …

c# .net json wcf wcf-rest
How to consume WCF REST Service in C#?

My contract details are below. I am using Json response and request format and also using POST method. How to …

c# wcf rest wcf-rest
wcf REST Services and JQuery Ajax Post: Method not allowed

Anyone knows what's wrong with this? I cant get the json response from my wcf rest service. Jquery $.ajax({ type: …

jquery ajax wcf json wcf-rest
ServiceHost only supports class service types

I have a service named WcfService2 (original i know) which has an IService.cs file with a public interface: namespace …

c# .net wcf exception-handling wcf-rest
WCF The underlying connection was closed: An unexpected error occurred on a receive

I am using a RestClient app to communicate with my WCF service .and I am getting the following exception The …

c# wcf wcf-rest
Difference between wcf restful services and WEB API

I am query for a long time now.Where exactly we need to use WEB API and where should we …

asp.net-web-api wcf-rest