Questions tagged [wcf-rest]

A REST service built with WCF

REST Service built for WCF that contains HTTP specifications for GET, PUT, POST and DELETE as well as other standard REST elements.

MSDN documentation

619 questions
2
votes
2 answers

Using Ninject with RESTful WCF webHttp Service

Does anybody out there know how to use Ninject with a WCF webHttp Service created using the WCF REST Service Template Extension? My project is using Ninject extensively and I want to implement a RESTful service, and as the new WCF Web API is not…
Cragly
  • 3,554
  • 9
  • 45
  • 59
2
votes
1 answer

Can WCF REST (WebHttpBinding) honor PROGRAMMATIC outputcache policies?

I know all about the AspNetCacheProfileAttribute. But is there any way to hook into the cache programmatically? I've tried using Response.Cache in global.asax which seems to set the correct client-side headers but the response is never cached on the…
roufamatic
  • 18,187
  • 7
  • 57
  • 86
2
votes
1 answer

WCF Restful Web Service Client Limits

I would like to implement a high-traffic restful .NET 4.0 WCF service which can handle a large number (maybe 2,000) requests a minute. I understand I will need to have the hardware to handle this number of connections, but where can I expect to see…
cjones26
  • 3,459
  • 1
  • 34
  • 51
2
votes
1 answer

How to enable Cross-Origin Resource Sharing in .Net Console Application WCF Service?

I have a .netframework(4.5.2) Console Application which have RESTful WCF Service. I have a problem with using rest service from Javascript client. When I use Postman to consume rest service, there is no problem. When I use Javascript fetch method,…
AhuraMazda
  • 460
  • 4
  • 22
2
votes
5 answers

How to generate load on IIS?

I want to start using load balancers, database replication and sharding, cloud computing. I know I can follow many tutorials, that's no problem, but I don't know how to generate sufficient traffic to load the web server. I want to see my test…
oleksii
  • 35,458
  • 16
  • 93
  • 163
2
votes
4 answers

Create a WCF Proxy for a Rest Web Service

I have a complex WCF Rest service which take multiple inputs and objects. I cannot simply call it by doing an HTTP POST in Fiddler because there is too much data to provide (I could, but it will take me forever). So I would like to do it in code…
Martin
  • 39,309
  • 62
  • 192
  • 278
2
votes
1 answer

WCF WebHttpServiceHostFactory vs. WebServiceHostFactory

What is the difference between WCF's WebHttpServiceHostFactory and WebServiceHostFactoryhosting?
emmanuel
  • 23
  • 3
2
votes
1 answer

WCF reliability issues

Trying to test the reliability of my wcf services. I am calling a wcf service within a loop from the client side. The wcf rest service (webhttpbinding) does some data processing and inserts records into a database. The entire operation is done…
user275157
  • 1,332
  • 4
  • 23
  • 45
2
votes
1 answer

How to consume .Net 4.0 REST WCF services?

I am having an ASP.NET 4 Web application. How can i consume a .Net 4.0 REST WCF service in this asp.net application. Do i need to create proxyclass like for web services for REST too or is there some other way? Please help. Thanks in advance.
Sidharth
  • 1,251
  • 1
  • 25
  • 40
2
votes
1 answer

WCF Rest Service Hosting on 2003 With POST / JSON

As I am getting Problem while hosting WCF Service on Win 2003 Server. As it is working fine in my local PC. Please let me now if I need to do any changes in Web Config. File. for the same. Server Error in '/' Application. IIS specified…
BJ Patel
  • 6,148
  • 11
  • 47
  • 81
2
votes
1 answer

Hosting WCF Web Serveic on Windows Server 2003

Getting the following err... Server Error in '/' Application. IIS specified authentication schemes 'IntegratedWindowsAuthentication, Anonymous', but the binding only supports specification of exactly one authentication scheme. Valid …
user669299
2
votes
1 answer

is WCF REST Starter Kit no longer the way to go ahead and creat Restful services?

maybe the question is so lame but this thing is confusing me a lot. there is a screencast series on http://msdn.microsoft.com/en-us/netframework/wcf-screencasts and WCF Starter kit in use there. But the project was done on .net 3.5 and now I would…
tugberk
  • 57,477
  • 67
  • 243
  • 335
2
votes
1 answer

WCF rest security question

I have a WCF REST service. Now the question is how can I secure my REST service so no one can use/call it? and what would be the best way to call it (e.g. using jquery, or from code behind)? the client application is on MVC 3. please help and…
user384080
  • 4,576
  • 15
  • 64
  • 96
2
votes
1 answer

Covariance implementaion in WCF rest service

Can covariance concept be implemented in WCF rest service, i.e, i have class A and B inherits from It. WCF Operation contract has input parameter A. I Should be able to pass B also to this peration. I have a JSON client which accesses my EXF rest…
Arun
  • 21
  • 1
2
votes
3 answers

WCF: Changing ClientCredentials produces "Manual addressing is enabled on this factory, so all messages sent must be pre-addressed."

can anyone help, i am trying to call a rest service via the channel factory but sending along my credentials... The rest service uses Windows authentication. But with the following code i get "Manual addressing is enabled on this factory, so all…
Martin
  • 23,844
  • 55
  • 201
  • 327