I have a fixed-sized multidimensional collection exposed via a WCF contract, and I want to be able to return null for any coordinates in the collection that have not been populated. When I try this, I get an exception indicating that this is not supported: "FaultException`1: Object reference not set to an instance of an object."
I wonde...
I have 2 web applications: one is an ASP.Net web app and the other is an ASP.Net WCF web services application. I want to the web app to the WFC web app's consume services. Eventually, these 2 apps will be communicating over a firewall.
I want the user to log on to the client web app using forms authentication, authenticated by the wcf s...
Hi, all!
I have several questions about WCF reliable session reliability:
Does WCF re-serialize a message during a retry attempt?
2. If 1 is correct - does it happen after message parameters were disposed or not? 3. If 2 is correct - is there any way to identify message was sent for sure?
I could not yet figure that out via reflect...
I want to use SSL using security mode = transport.
Can I use it with following settings in my web config
<bindings>
<wsHttpBinding>
<binding name="wsHttpEndpointBinding">
<security mode="Transport">
<transport clientCredentialType="Windows" />
</security>
</binding>
</wsHttpBi...
I've enabled query cache for one of my queries, it works fine (query result is taken from query cache and entities from second level cache) when I run a test or a console application.
However, if I run the same queries through a WCF service, the cache is never hit.
I've also checked the logs in both cases and they are practically ident...
I have an application that uses WCF for all DataAccess. It returns some business objects and it has some operations.
Should this code exist in my Client or in my Service? If in the service, HOW should I implement it? Can I simply add it as an interface to my business object? Will that come through the WCF Service Proxy Code?
(This is a...
We have an application which invokes a third party web service and there is a significant amount of work to generate the request (it's a fairly large object tree and there are 30-40 unique contract schema generated classes to potentially instantiate) based upon the class structure used on our side of the invocation. I had a thought of de...
ON what basis should we decide whether we have to create a dataContract or a MessageContract for my WCF services.
What I know is that when we need to have more control over SOAP,We use MessageContract.
Secondly I have seen some code in which DataContract is exposed through MessageContract.Whats the use of it.
Please provide some real ...
I am using transactions across WCF client and services with netTcp binding.
I have enabled DTC and transactions are flowing as expected.
I want to test the transactions to timeout.
The Client initiates transaction as
using (TransactionScope scope =
new TransactionScope(TransactionScopeOption.Required,new TimeSpan(0,0,1,0)))
...
I am hosting a WCF service inside of a WPF app. I would like the WCF to be able to communicate with its host. Specifically, I'd like to receive event notifications from the WCF when certain WCF methods are called by clients.
I've tried modifying my WCF to be a singleton like so:
[ServiceBehavior(InstanceContextMode = InstanceContextMod...
Hi ,
I have a WCF service deployed on two or more remote machines and there is a desktop based application that is used by the client to access any wcf service.
The WCF service is connected to SQL server 2005 to read and write data.
This is intranet scenario in which client should be on same domain.
Now there can be scenaorios where t...
Can anyone point to some good atricles on WCF Service Throttling settings to improve performance. I have a per call service with approx 100 users
...
I'm using WCF through Spring.net WCF integration link text
This works relatively fine, however it seems that WCF and Spring get in each other's way when instantiating client channels. This means that only a single client channel is created for a service and therefore the clients get a timeout after the configured timeout is expired sinc...
Hi there,
We have a website hosted with heart internet and are seeing some strange behaviour and have no idea what could be causing it at this stage.
It seems at random intervals our WCF web services will cease to work. The server will return the message that the service failed to start (System.ServiceModel.ServiceActivationException)....
Hi,
I am trying to get a further understanding of message buses and one question that keeps coming up in my head is "how does the message get onto the bus?". Now, I assume there is a service (WCF, etc) of some sort that receives messages and puts them onto the bus. So then the other question I have is isn't this service then likely to b...
I have a need to do some real-time rpoerting on the functionality of a WCF service. The service is self-hosted in a windows app, and my requirement is to report "live" to the host app when certain methods are called by the client.
My initial thought on the task was to publish a "NotifyNow" event in the service code, and subscribe to th...
Hi there,
can anyone help?
I have created a WCF library (not application) and i will be hosting this in a SVC IIS page..
But i was wanting to load the unity stuff in generic place... I could load it in the global.asax but then its tied to the IIS Asp.net container and when doing TDD this part wouldn't execute so not of my resolves wou...
Hi, i am facing a problem here.
I am doing a client/server project, which is WCF web service calling to get data.Due to huge data of transfering, i got to change my binding to custom binding programmatically(not by config file.)
I am creating a new user-define binding aka custom binding.
example of the class is :
public class MyCustomB...
I'm using my own WCF proxy with ClientBase, I want to do somthing like the ct attribute in the svc util, and tell the proxy to return the List<> collection type.
i cant use List<> because the entities managed by nhibernate so i have to use IList
the proxy was not generated with svcutil.... i wrote it my self.
How can I do this?
...
Hi there,
I have a created a simple Custom ServiceHost that inherits from ServiceHost and overrides the method InitializeRuntime.
How do i change my app.config / web.config to use the custom service host so my overriden InitializeRunTime is executes..
I see attributes in the config file like behaviorConfiguration etc but nothing obvio...