There is a web service I am integrating into. Service asks for an url parameter for redirection after it does its' thing. I have created a WebGet re ...
There is a web service I am integrating into. Service asks for an url parameter for redirection after it does its' thing. I have created a WebGet re ...
I'm actually new in C# and i'm currently building a simple basic Restful WCF webservice which using custom header authorization to proceed request ...
I have a contract used in a WCF POST. During the call, I need to add an extra parameter that I cannot add in the signature, because I get disambiguati ...
I have created WCF RESTful service as below: I'm debugging this using Postman and passing JSON data in BODY as below: { "customerID":"RC0064211 ...
In My Project i have a method PreAction() which is used in all the Methods. PreAction() contains the Operation context object i.e So when am trying ...
I am trying to get a unit test(more of an integration test) written for the GetAwesomeResultsAsXml() for the following WCF Rest Service. How do I deal ...
I'm attempting to set the content-length of my outgoing response headers but my code seems to have no effect on the headers. The line for adding c ...
I'm returning some images as a stream as part of a WebOperationContext.Current.CreateStreamResponse() I was wondering if the framework handles the cl ...
I have a REST service and I want to have a helper class that handle exceptions My code looks as follows: I test from browser, but when I pass wron ...
How do you get around the WebOperationContext being null in a WCF service method when testing the method using NUnit I have a unit test project using ...
I'm using the WCFMock to mock the WebOperationContext in my web service. The only usage is to add a custom HTTP header to the WebOperationContext.Curr ...
I'm mocking the WebOperationContext class over wrapper for unit testing (using Moq). But I need to execute CreateTextResponse(...) method from WebOper ...
Value that I set on server side for WebOperationContext.Current.OutgoingResponse.StatusDescription property is ignored. Client side gets a default mes ...
I'm currently migrating my WCF RESTful service from .NET 3.5 (Starter Kit) to .NET 4. I started my project using a WCF Rest service template from Visu ...
I've got some RESTful services running in a pure WCF context (i.e. ASP.NET compatibility is not enabled, and thus there is no HttpContext.Current obje ...