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
3
votes
2 answers

Async REST Services using WCF WebApi

I want to know what is the opinion of you fellow Developers regarding WCF WebApi services. In an N-tier application we can have multiple layers of services. We can have services consuming data from external services. In that scenario its worth to…
coddey
  • 390
  • 2
  • 13
3
votes
2 answers

Kendo Grid Inline Editing

I am attempting to build a Restful service that will allow me to do inline editing with the Kendo UI Grid. I am unfamiliar with both Kendo UI and Restful services, so I don't know where to begin. I am using…
Wondercricket
  • 7,651
  • 2
  • 39
  • 58
3
votes
1 answer

WCF REST 404 when trying GET

I keep getting a 404 on a very basic WCF service that I want to expose via REST - I'm trying to access it by going to this URL when debugging: http://localhost:62888/Service1.svc/xml/data/test I can view the service info at…
Chris Klepeis
  • 9,783
  • 16
  • 83
  • 149
3
votes
2 answers

In Wcf REST, is it better to return larger models with less requests, or smaller models with more requests

I have an SOA app, and have started to run into some performance issues. I have models coming OUT of REST that look similar to... public class Person { public Guid Id { get; set; } public string FirstName { get; set; } public string…
jcreamer898
  • 8,109
  • 5
  • 41
  • 56
3
votes
1 answer

Is the Sql Azure Dac Import/Export service WCF or REST or something else?

I downloaded the example application and was surprised to see quite complex web request building and handling. Unfortunately I have not been able to find even one scrap of documentation about the service. I tried using AddServiceReference in VS and…
Rabbi
  • 4,622
  • 9
  • 35
  • 45
3
votes
2 answers

azure architecture - handling security

Planning to migrate our existing application to Azure. Our existing architecture with security flow is as follows ASP MVC 3.0 UI layer that takes user name password from the user We are planning to migrate the UI layer onto a compute cloud. and…
user275157
  • 1,332
  • 4
  • 23
  • 45
3
votes
1 answer

Android gson deserialization into list

I am trying to parse a json string into a list, or arraylist. I have the following json response coming from a WCF RESTful service I created for an Android project [ { "Class": "Lorem", "Company": "Ipsum", "Id": "XXXX", …
Precious Roy
  • 1,086
  • 1
  • 9
  • 19
3
votes
2 answers

how to send custom object to WCF REST Service in browser based url

i have a serializable entity class of employee public class Emp { public int Id{get; set;} public string Name{get;set;} } i want to send object of this class to WCF REST Services from browser to test my add method which is given below …
yrahman
  • 960
  • 5
  • 15
  • 33
3
votes
0 answers

.NET 4 WCF RESTful services deployed in IIS 6 is not accepting url contaning . (DOT)

We have a WCF RESTful service developed in .NET 4 and hosted under IIS 6. It's working alright for all url's except the ones having . (dot) in url segment and giving error 404 - Page can not be found. Example :…
Avi
  • 105
  • 3
  • 10
3
votes
1 answer

WCF + REST, Increase MaxStringContentLength

We are running into the following error: There was an error deserializing the object of type Project.ModelType. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing…
Mark Meisel
  • 851
  • 2
  • 12
  • 24
3
votes
1 answer

How to enable basic authentication on WCF 4.0 REST Service?

First of all there are plenty of articles on the net for this but most of them are for WCF 3.5. I'm using some features of WCF 4.0 which makes the scenario a bit different. Following is my contract: [ServiceContract] public interface IService1 …
Muhammad Hasan Khan
  • 34,648
  • 16
  • 88
  • 131
3
votes
1 answer

Exposing meta data for a WCF 4.0 Rest Template Service

Probably missing something very basic. I created a WCF 4.0 Rest Service. It works no problems when I'm hitting the url from a browser and I'm getting back what I want. But now I want to use that service from a client mvc application (it will also be…
Jonathon Kresner
  • 2,793
  • 5
  • 29
  • 40
3
votes
4 answers

WCF restful returning JSON by using Entity Framework Complex

recently I have set up a WCF restful service with EF4. It all worked out when returning XML format response. however when it comes to JSON, I got 504 Error. unable to return json data, WCF Resful Service .NET 4.0 By digging deeper by using Service…
D.J
  • 2,534
  • 4
  • 28
  • 43
3
votes
3 answers

How can I return bare result back to WCF client

I have code something like the following: Function TestConnection() As String Public Function TestConnection() As String…
user203687
  • 6,875
  • 12
  • 53
  • 85
3
votes
1 answer

Returning HttpStatus codes with message from WCF Rest service that IParameterInspector AfterCall can handle

So then, I've got a number of methods in a a couple of services that I've decorated with a custom attribute. That attribute uses the ApplyDispatchBehavior from IOperationBehavior to attach to the method and the BeforeCall and AfterCall methods from…
Wilfred Knievel
  • 3,225
  • 1
  • 26
  • 33