LinqPad supports WCF Data Services. If you assign an URL, such as http://services.odata.org/Northwind/Northwind.svc/. It will list all available data objects and you can query them. I guess LinqPad generates all available data classes at run time by reflection.Emit.
I am wondering who can show me to how to do so. Or maybe someone has d...
Hi,
I'he got wcf service for wcf straming. I works.
But I must integrate it with our webserice.
is there any way, to have webmethod like this:
[webmethod]
public Stream GetStream(string path)
{
return Iservice.GetStream(path);
}
I service is a class which I copy from WCF service to my asmx.
And is there any way to integrate App....
Hi,
i have a wcf service which runs perfectly on my dev machine (vs2010, target 3.5) but once deployed, it shows me the code behind of the service (actually the plain text of the .svc file) and not the normal service page:
<%@ ServiceHost Language="C#" Debug="true" Service="SilverlightPoc.Web.FinanceData" CodeBehind="FinanceData.svc.cs...
Hi,
I want to create a global option that when a REST call contains &format=json to output the response as a JSON string.
If I enter the following String in my method it works:
WebOperationContext.Current.OutgoingResponse.Format = WebMessageFormat.Json;
However, if I add this line, anywhere in my Global.asax file, I get a nullExcept...
Hi,
is it possible to call a service operation at a wcf endpoint uri with a self hosted service?
I want to call some default service operation when the client enters the endpoint uri of the service.
In the following sample these uris correctly call the declared operations (SayHello, SayHi):
- http://localhost:4711/clerk/hello
- htt...
Hello,
I am using C#.net application code.
I require to call service for Window Application and i am using below code to open service Host,
using (ServiceHost host = new ServiceHost(
typeof(class1),
new Uri[] { new Uri("net.pipe://localhost") })
)
{
}
& Then we have cline...
Hi
I have a problem with calling WCF Service methods with Silverlight 3.
private bool usr_OK = false;
clientService.CheckUserMailAsync(this.mailTF.Text);
if (usr_OK == true)
{ isValidationOK = true; }
else { isValidationOK = false; MessageBox.Show("User already exists.", "User registered succes!", MessageBoxButton.OK); }
CheckUs...
I'm connection IBM.Iseries database in a c# application using ADO.NET iSeries drivers. My WCF service is throwing the error as
"HTTP could not register URL http://+:80/Temporary_Listen_Addresses/771be107-8fa3-46f9-ac01-12c4d503d01e/ because TCP port 80 is being used by another application."
<system.serviceModel>
<client>
<endpoint ...
Hello,
Is it possible to setup a WCF service with SSL and Basic Authentication in IIS using only BasicHttpBinding-binding? (I can’t use the wsHttpBinding-binding)
The site is hosted on IIS 7, with the following authentication set up:
- Anonymous access: off
- Basic authentication: on
- Integrated Windows authentication: off !...
What is the purpose of IMetadataExchange endpoint. Some places i found that if i dont define this endpoint, adding service reference will not work OR creating proxy using svcutil wont work. But both of this working without having IMetadataExchange defined.
If we have other endpoint with httpGetEnabled = true, we are able to create proxy...
Using Visual Studio 2010 when creating a wcf service the template creates a class file, svc endpoint and an interface file. Why is it that when adding a silverlight-enabled wcf service they don't follow this pattern. As discussed here this seems like a bad idea.
After adding the silverlight-enabled service, should one go back and inco...
Using Fiddler, we see 3 HTTP requests (and matching responses) for each call when:
WS-ReliableMessaging is enabled, and,
the method returns a large amount of data (17MB)
The first HTTP request is a SOAP message with the action "CreateSequence" (presumable to establish the reliable session). The second and third HTTP requests are iden...
i have a current project that runs fine with a self hosted net.tcp binding if I uses the following
host.AddServiceEndpoint(typeof(IMonitorService), new NetTcpBinding() {PortSharingEnabled = false }, "");
host.AddServiceEndpoint(ServiceMetadataBehavior.MexContractName, MetadataExchangeBindings.CreateMexTcpBinding(), "mex");
however if...
I have created WCF and I have used wsHttpBinding and MTOM as message transport with authentcation as "Windows".
Now my service is not current SECURE, its plain HTTP, running on custom port.
Is Windows Authentication of WCF's wsHttpBinding secure? can anyone see the password or guess through network trace?
Environment Information:
H...
Hello, I have the following problem:
I wrote this code:
[OperationContract]
void AddItem<T>(T item);
But i recieve the following Error:
Type 'T' cannot be exported as a schema type because it is an open generic type. You can only export a generic type if all its generic parameter types are actual types.
How can I use generic method...
Is it possible to control throttling on callback? So the server would be limited(controlled) how often it can callback the client.
...
Hi,
I'm writing a client that calls a number of WCF webservices (written externallyt to my company) that are very similar in structure. The design I was hoping to use is to manually build the SOAP message from XML chunks that are stored in a database and then processed through a generic web service handler class. I have access to the WS...
In Learning WCF, by Michele Bustamante, there is a section that describes a binding called the NetNamedPipes binding. The book says that this binding can only be used for WCF services that will be called exclusively from the same machine.
Under what circumstances would it make sense to use this? Ordinarily, I would write asynchronous ...
I have been trying to port a legacy WSE 3 web service to WCF. Since maintaining backwards compatibility with WSE 3 clients is the goal, I've followed the guidance in this article.
After much trial and error, I can call the WCF service from my WSE 3 client. However, I am unable to add or update a web reference to this service from Visual...
I have a problem with WCF deserialization where the client hangs on the response for more than a minute.
I'd like to try to swap different deserializers and see if it affects the behavior.
Can I swap in/out different serializers (are there any others?) from configuration, and if so can I do that with any binding, or is that out of cont...