How many instances exists when a InstanceContextMode.Single WCF service exposes multiple endpoints?
Does the ServiceBehavior setting InstanceContextMode.Single sets a single instance regardless of the number of endpoints? ...
Does the ServiceBehavior setting InstanceContextMode.Single sets a single instance regardless of the number of endpoints? ...
I have a server side class which I make available on the client side through a [DataContract]. This class has a readonly field which I'd like to make available through a property. However, I'm unable to do so because it doesn't seem that I'm allowed to add a [DataMember] property without having both get and set. So - is there a way to ...
In the bank I work all client workstations have .Net 2 installed it is outside my control to influence or get a newer version of the framework installed at the client end. On the server end I have more control and can write a .Net 3.5 WCF service if I choose. I've an existing fat client that I'd like to refactor and shift it's data acc...
I have a Silverlight web app solution with a Silverlight-enabled WCF service included. Everything has worked fine for the past 6 months or so. I can access data through the service with no problem. I came into work today, opened up the solution, ran it again, and suddenly, there's a mismatch between the WCF service port and the port t...
Hi folks, I have created an WCF-Service that runs an operation on a W2008-Server and returns a datastructure as a result. Problem is, that this result can be larger, than the standard service configuration seems to accept. So I tried to increase (or remove) this maximum size, but it seems, I didn't found the correct properties. In the ...
I have a Silverlight client that has some problems talking to the server it originates from via a WCF basicHttpBinding. The service configuration is as follows: <system.serviceModel> <bindings> <basicHttpBinding> <binding name="silverlightBinding"> <security mode="TransportCredentialOnly"> <transport client...
using ASP.net, C#, IIS, jQuery I have a wcf service running in iis on port 2515. the demo i created for this project works fine and i can utilize the service. I have another project running on port 2971. I want this project to consume the wcf service via javascript but am getting a "method not allowed error". Is this a cross-site scr...
There is any WCF binding that accepts the data in a HTTP query string? ...
I'm having trouble with a simple self-hosted WCF service, using basic HTTP binding on Mono. When I run the service on .NET, everything works fine. When I run the server on Mono, the first request works fine, but the second request hangs, eventually timing out. To test, I ran the server on both windows and Mono and made two requests from...
I'd like to expose a method over WCF something like GetEmployees(EmployeeColumn orderby), that returns a list of employees in an order. I don't really want to create an enum EmployeeColumn that contains all possible column so the user can choose. What do you suggest? I'd like to achieve this using linq-to-entities. ...
Do you use auto-generated WCF service references in line of business applications? Or do you roll your own? And why? EDIT For anyone looking to roll their own, I found this article which may prove useful: Understanding WCF Services in Silverlight 2. There's another article on the site for Silverlight 3 which may be a useful additio...
Hi. I have been struggling with this for a while and could really use some help. I am attempting to design a WCF endpoint that allows for the streaming of images to the server and then returns imageURLs (i.e: "http://images.site.com/someimage.jpg"). Currently, the call to my WCF method looks like this: for (var i = 0; i <= (Reque...
Hi I'm having some difficulties while using linq2sql and wcf. Let suppose I have three tables: Reports, Tasks and Types. Tasks references Reports (one Report can have unlimited number of tasks), and Reports references Types (Report is of some type, e.g. BugReport, ChangeRequest and something like that). Now I want to get by WCF all R...
How to Catch Exceptions in WPF when Calling a WCF Sevive ...
I recently made a change to a working web application with a wcf service in it. After publishing the thing I get error Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.. I have been searching the net for the past five hours trying to make heads o...
Simple issue. I'm working on a proof-of-concept for an application with additional database connection, so I will create a WCF service to wrap around the database. Multi-user environments will get this service installed on a centralized server with a client application on their local system. These users will automatically have to deal wi...
Is there a clever way to expose WSDL from a WCF service hosted on one IIS server automatically on another server? Thanks ...
Hi folks, I have a WCF service, that is called from my Silverlight 3 application (with C#). The service is called for each item in a user filled listbox. When only one item is contained in the listbox, everything works fine. Multiple items cause an error sometimes. I tested a bit around and sometimes I get an error with 2 items, sometim...
Hi, I have WCF library project which I have recently done some minor refactoring on eg changing the namespace and changing it location on disk. I also removed the app.config, because I thought the app.config is used by whatever hosts the wcf service. I have since noticed that I can no longer debug the library using the WcfSvcHost like ...
Hi I have a requirement whereby a user can specify a variable number of user-defined fields, for example in an xml file. These fields have a user-friendly name which is displayed in the GUI, and a code which is used to persist and retrieve the value of the field to the database. The problem is that I need both my WCF service to consum...