Calling through to my Silverlight Enabled WCF-Service in my silverlight application, occasionally users get timeouts. Whats the easiest way to boost the time allowed by the service client for a response?
The exact exception thrown is: System.TimeoutException: [HttpRequestTimedOutWithoutDetail]
Thanks
...
Hi,
What would prevent one machine from consuming a Silverlight Enabled WCF service some of the time, whilst another on the same network domain, behind the same proxy / firewall / etc.. can fine? Service and app are on the same domain.
I'm writing to the event log when the service comes in, and I can't even see the call come through.
...
I've got a WCF service up and running on a server. We have a proxy class that we add all service references to, and I tried to add my service reference there. However, it's not exposing all of the methods, specifically the interface, allowing me to create an instance of it (this is VS 2008). However, when I create a new project, and just...
I am verifying my login authentication using ASP.net webservices. But the client requested to move to WCF.
I need to know in what way WCF differs from ASP.net webservices.
What are the advantages for me to use WCF than ASP.net webservices.
...
I’ve just created a WCF service/client and it all works fine when running on the same machine. But can’t figure out how to configure it to run on different machines. Do you know how?
At the moment the URI is set to http://localHost:8000......
But I think I want something like net.tcp://MyServer:8000…..
Any ideas would be great.
Than...
I've got an internal service hosted over tcp. It's being self-hosted inside of a windows service. The service works fine for the most part, but once in awhile I'll get a bunch of exceptions (all in a row) from it.
System.ServiceModel.Security.SecuritySessionServerSettings.AddPendingSession(UniqueId sessionId, IServerReliableChannelBin...
I have a WCF service that takes as a parameter a string value "name". This service interface looks like this...
[ServiceContract(Name = "ContactLookup", Namespace = "Search")]
public interface IAjaxResultSearcherService
{
[OperationContract]
[WebGet(RequestFormat = WebMessageFormat.Json)]
Result[] SearchResultsWithNameLike(s...
Is it possible to host custom data on self-hosted HTTP-configured WCF services, such as custom HTML or XML files, without involving IIS? I’m speaking of a ServiceHost instance that instantiates its own EndPoints/listeners.
I have an app that uses a self-hosted WCF service and it has a Windows Forms client but I’m looking at adding a lig...
How to access App_Data folder in WCF service?
I have placed a xslt file and I am not able to find the path.
...
Hi,
There is a requirement to test a WCF RESTful webservice. The server uses a trusted certificate based authentication. For writing unit test cases to test web methods, how to go about for the authentication, is it necessary to pass the certificate information for each http request as the session is stateless in the rest web service, o...
Hi everyone,
I'm curious to know how I would go about setting up my service to stop cleanly on the server the service will be installed on. For example when I have many clients connecting and doing operations every minute and I want to shut-down the service for maintenance, how can I do this in the "OnStop" event of the service to then...
In a WCF service, I have two classes with the [DataContract] attribute. One of these classes has an "is-a" relationship with the other - so class B can inherit from class A. However, when I configure inheritance between these two classes, both denoted with a [DataContract] attribute, the metadata fails to load when testing the services...
I have a WCF service that is behind an enterprise-class firewall, which is doing both hostname and port translation, e.g.:
https://ws.address.com/Service.svc --> https://serv.internal.com:44000/Service.svc
The service is secured with SSL-128 and requires a client certificate.
Because the internal server name is not accessible from out...
Hi! I am trying to create a WCF service in JScript.NET. (I know, I should do it in C# or VB.NET, but humour me, please.) Has anyone done this before?
I can create .asmx web services, but I'm not sure how I have to modify web.config to make the .svc file work -- do I need to precompile things?
Also, I am (for right now) trying to do thi...
Is it possible/how do I stop and start the HTTP MEX listener of a self hosted WCF service at runtime without affecting the primary WCF service?
(Please don't ask why I want to do this. It is a hack to get around artificial limitations imposed by someone else.)
...
The way you seem to declare WCF services is to create an interface in C# or VB, and then tag it with ServiceContractAttribute and it's methods with OperationContractAttribute.
The issue is, I'd like to try creating one from IronRuby or IronPython, which (to my knowledge) don't support attributes.
Is this possible?
...
I'm tired of dealing with config files so I'm trying to setup a WCF service in code only.
So far I have this:
m_ServiceHost = New ServiceHost(Me)
m_ServiceHost.AddServiceEndpoint(
GetType(Aam.AamServiceFramework.IServiceMonitor),
New NetTcpBinding, "net.tcp://localhost:6000)
m_ServiceHost.AddServiceEnd...
I want to use a Silverlight application in a cloud on Azure. The communication between the Silverlight application and the WebRole is a WCF-Service with Basic-HTTP-Binding.
My problem is, that the communication doesn't work. I think the endpoint-address is not correct, but I'm not sure.
Can someone help me?
...
I've used this tool that microsoft ships with visual studio because it's quick and dirty
http://msdn.microsoft.com/en-us/library/bb552364.aspx
But it's kinda clunky and hard to work with. Are there any other useful test clients out there that you use and don't require creating a new visual studio project and compiling code?
EDIT: I'm...
I have a service reference on my local dev environment to a WCF service hosted elswhere on our LAN, and it will just stop working at times with an error along the lines of "The document at the url was not recognized as a known document type."
A system reboot doesn't fix it, rather it starts working again on its own several minutes later...