Hi everyone.
I'm trying to configure some WCF stuff. Currently, I have a server which allows remote users to download files, and client.
In the server, I use a ServiceHost class. I assume it should be running on a separate thread, however, the server UI (WinForms) becomes locked when someone downloads a file. Is there a way to manage th...
Hi there,
been creating a few wcf methods and i have a mehtod called IsValidLogin ... there various versions, 1 takes 2 strings, 1 takes an object etc.
Of course in WCF you can't overload methods can anyone suggest the best way to name these methods..
I was thinking of IsValidLogin1, IsValidLogin2??
But i am open to any suggestions
...
I'm a little inexperienced with the DataContract paradigm, and I'm running into a deserialization problem. I have a field that's a string, but it contains xml and it's not being deserialized correctly. I have a feeling that it's because the DCS is treating it as input to the serializer and not as an opaque string object.
Is there some w...
Since updating my workstation with windows 7 ultimate (from XP), I experience a delay of about 40 seconds to after calling Open() on an instantiated ServiceHost.
When I run the exe with the same config on the host windows server it opens immediately. Any ideas about this behavior on my workstation?
Running Visual Studio 2010 Ultimate, ...
Hi all,
I would like to ask if it is possible to take screenshot of current user control programmatically and save as a file in silverlight 3.
I found some ways to save as an image file for a Canvas in silverlight 3, but how about user control or childwindow ?
Thanks,
...
I have .net 4.0 application ported from net 3.5 that uses net.msmq running on server 2008 x64
Setup
net.msmq Service with address "net.msmq://localhost/private/msmqdataservice.svc"
net.msmq endpoing with address "net.msmq://localhost/private/msmqdataservice.svc"
queue in MSMQ -> name = "$private\msmqdataservice.svc"
everything is wo...
I have a WCF REST Service which accepts a JSON string
One of the parameters is a large string of numbers
This causes the following error - which is visible by tracing and using SVC Trace Viewer
There was an error deserializing the object of type CarConfiguration. The maximum string content length quota (8192) has been exceeded while r...
Hi All,
I have a WCF .svc file hosted in IIS. I want to use basicHTTP binding. This services job is to actually call another service over net.tcp. Everything works fine locally, but when I deployed, I'm getting this error.
The provided URI scheme 'http' is
invalid; expected 'net.tcp'. Parameter
name: via
Here is the server conf...
can anyone help?
I have a solution in vs 2010 which contains a WCF Service application and a class library which has a number of Nunit test.
The nunit tests the service. Problem is that there is no Asp.net Development server running - is it possible to force it to run under debug mode..
I can press F5 but then i can't run my tests.
M...
I need to get counts to populate charts in Silverlight 4 and I am having a bit of trouble getting data back from my Domain Service mostly because I am not sure how to use aggregate query syntax. Has anyone had any luck populating charts in Silverlight 4 using aggregate (SUM, COUNT, etc) linq queries?
...
I have been developing a Silverlight WCF RIA Services application dealing with mock financial transactions. To more efficiently send summary data to the client without going overboard with serialized entities I have created a summary class that isn’t in my EDM, and figured out how to serialize and send it over the wire to the SL client ...
I'm kind of a newb to WCF Web Services and have created a service.
Here is what I'm after:
If someone vists http://somesite.com/Poo.svc they are rejected straight off the bat (404 or something)
Only I can add a reference to the service in VS.
What I'm after is making the WCF service totally private.
Any ideas?
...
Hi,
I want to study new .NET 3.5 concepts like WPF, WCF for work as well as for interviews. I am aware of .NET 2 but do not have any detailed knowledge of .NET 3.5 and newly added features in .NET 3.5 and C#.
is there any good book/ online resource which would help me?
...
Hi there,
can anyone help?
I am having a problem stepping into code which is a website hosted on IIS7.
Basically i have a test class which calls a WCF service like so
ISecurityService service = new SecurityServiceClient();
MembershipUser membershipUser = null;
membershipUser = service.GetMembershipUser("Mark")...
What exceptions can be thrown from a WCF client?
I usually catch CommunicationFaultedException, CommunicationException, TimoutException and some other but from time to time new ones occur, e.g. most recently QuotaExceededException
There is no common base to catch (except Exception) so does anyone have a complete list?
...
Hi,
I am developing a Silverlight application with WCF RIA Serivces. now I want to deploy the WCF service on different server and expose services as .svc files. I have used WCF class Library but not able to find how can we deploy Services on the seperate server.
Thanks,
Sharad Rastogi
...
I have a WCF service run on Windows Server 2008 RC2 IIS 7 with no firewall. When I trying to call it with netTcpBinding binding, I get this exception:
System.TimeoutException: The open
operation did not complete within the
allotted timeout of 00:00:30. The time
allotted to this operation may have
been a portion of a longer ti...
Does anyone know how to configure WCF using Windsor on IIS 7.0? I'm using the latest from WCF Windsor facility trunk and Windsor 2.1.1. The example on http://www.castleproject.org/container/facilities/trunk/wcf/index.html is out of date. Even demo project in WCF facility doesn't mention how to setup WCF service in IIS using the config an...
I am working on a Ajax enabled WCF service, and I need to use a custom ServiceHostFactory.
I found several posts like this one
However even though i have added the factory parameter to the svc file (like you see below) the factory is never called:
<%@ ServiceHost Factory="CustomHostFactory" Language="C#" Debug="true" Service="mysite.S...
I have a datacontract as part of my WCF Interface that inherits from IIdentity:
[DataContract]
public class AuthenticationIdentity : IIdentity
{
//implements IIdentity...
}
The service returns my AuthenticationIdentity objects just fine. However, when I try and do the obvious cast on the client:
AuthenticationIdentity aId = c...