So then, I've got a number of methods in a a couple of services that I've decorated with a custom attribute.
That attribute uses the ApplyDispatchBehavior from IOperationBehavior to attach to the method and the BeforeCall and AfterCall methods from IParameterInspector to do some processing before and after the service method is called.
...
Is there a way to attach a handler to a soap call?
For example:
I’m calling a row validate for each row in a data grid. This then calls async soap service. On the return of the async is it possible to know which row i called it for without passing some sort of id back and forth?
Thanks
...
I have a longstanding C# .NET 3.5 application 'freeze' which I am at a loss with. There are two C# executables. One has a full UI, the other runs as a tray app. They both communicate via WCF to a third service app, also running in the tray.
Randomly the UI thread of main Winforms app will deadlock. Mysteriously if I quit the tray app t...
Hello,
I have created a simple wcf service hosted in IIS and wcf client and figured out that when u catch a FaultException from the wcf service and then call client.Abort() to release the session (as the microsoft samples said) it doesn't release the session and hangs up on the 11th call.
Here is example:
Wcf Service:
[ServiceContrac...
I have an Asp.net application with Forms mode authentication
<authentication mode="Forms">
<forms loginUrl="Login.aspx" />
</authentication>
I have also created an Ajax enabled web service to support a 'vote' function from the page..
<system.serviceModel>
<behaviors>
<endpointBehaviors>
<behavior name="VoteServiceAspNetAjax...
Currently I implement all my webservices in the "normal" fashion... that is, I create a WSDL file in Eclipse and then use WSCF.blue (A visual studio extension) to auto-generate the necessary code and it is reply/request. However I was hoping to use callbacks instead, so I can have my services become "push" services.
Before I jump into r...
Hi there,
Imagine a self hosted WCF service, and a client that connects via a proxy.
Is it possible to implement custom validation of service credentials from within the client? i.e. Is it possible to validate the custom service user name and password? It's very easy to set up custom validation of client credentials in a service host ...
I was wondering about the possibility of two things:
Is it possible to use a WCF Data Service to expose "collections" that do not exist in the Entity Model (EDMX) that it is mapped to? Would this be a case where interceptors would make sense?
How would one go about creating a WCF RESTful service without having to install the WCF Rest...
I have some WCF services that are hosted by IIS with ASP.Net compatibility turned on.
I have the following in my web.config:
< serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
And my service class is decorated with the following:
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Req...
I'm calling a java webservice that returns a type of FaultException that contains a list of errors. So the response message size is always large.
In my c# (clr3.5) client I get the following error
"The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize prope...
Hi,
I have started learning WCF. I wrote a simple service to query a SQL relation through LINQ.
[ServiceContract]
[AspNetCompatibilityRequirements(RequirementsMode = aspNetCompatibilityRequirementsMode.Allowed)]
public class Order_WCFService
{
[OperationContract]
public List<Order> getOrders()
{
List<Order...
I am working on this WCF-WPF app. I am frequently getting this error on an asynchronous XamDataGrid. Trying to make a WCF call and populate the Grid. I initially thought this is something to do with the large amounts of data returned from WCF and I made the call return data is much small pieces, by calling only for a category only. This ...
my application is using WPF for UI, WCF for WebService, EF4 for DataAccess.
I read some materials from internet and msdn that EF4 has self-tracking function using custom T4 template even if using together with WCF for ntier. Does this mean that lazy loading function is still possible with WCF?
Thanks
...
Sorry I cannot post the code but here is what is happening in detail.
User opens a form
it adds an event listener like:
GP.GlobalInfo.CommWCF.serviceClient.GetFilteredMessageCompleted += new EventHandler<GetFilteredMessageCompletedEventArgs>(serviceClient_GetFilteredMessageCompleted);
and then sends a asynchronous message to the se...
Hello guys.
I need fast transmit data from my wcf service to client.
As SO helps, it means good binary serializer\derializer and data through List
But I've got only XML text of DataTable serialized on service. It's big overhead.
Ok I should move to binary encoding of List. I haven't any DTO, just xml of DataTable.
Could you help me wit...
I'm new to WCF Data Services so I've been playing. After some initial tests I am disappointed by the performance of my test data service.
I realize that because a WCF DS is HTTP-based there is overhead inherent in the protocol but my tests are still way slower than I would expect:
Environment:
All on one box: Quad core 64-bit laptop ...
Hi
I have a .NET desktop application, which is used by 5000 users who are distributed across Canada.
One of the functionality is to communicate with some modems using some parameters that we get from the database.
The unique thing about this functionality is:
1 - it should be extremely fast because it is communicating with modem tools...
I have a WCF service running on Server 2008 standard that works fine when calling from an XP client or Vista. I can compile the program (using VS2010, WPF) from an XP system and it will run fine on Vista or XP. If I try to run on a Windows 7, no luck. I also installed VS2010 on the Windows 7 system and try to update the service refere...
I have a class that contain a base class by composition.
So Foo.BaseClass is needed when you load Foo.
I have another class that contain a collection of Foos (Bar.Foos). Using DataServices is there a way to force the expand of the Foo/BaseClass from the Bar.Foos field.
Sending a serie of LoadProperty for each baseclass of the collectio...
I have a WCF REST Service:
[ServiceContract]
public IService
{
[WebGet]
[OperationContract]
Data GetData(UserInfo userInfo);
}
UserInfo is a class:
public class UserInfo
{
public string UserName { get; set; }
public string Password { get; set; }
}
I want UserName and Password properties be filled from specific H...