What is the best way to learn WCF?
Are there good books for learning WCF in C#? What do you recommend and why? ...
Are there good books for learning WCF in C#? What do you recommend and why? ...
Hi all, Is it possible to delete persistent objects graph by the single command using WCF Data Services in Silverlight? I've started with this walkthrough and added code for deletion of selected order (which contains details): private void deleteOrder_Click(object sender, RoutedEventArgs e) { Order deletedOrder = (Order)ordersGrid....
So, I swear i'm utterly confused by how to secure WCF Data Services. In that, is there a simplified way of checking to make sure that the client that is sending the data to the WCF Service is authenticated more so, that the client itself is the client I wrote and not some mock client? Any URL"s that can help me decode this problem? ...
Consider a customer has many orders. context.AddLink(customer, "orders", order); context.SetLink(order, "customer", customer); The data store will be updated correctly with one or the other of these calls (after calling SaveChanges). So why bother calling both as is shown repeatedly in the documentation for WCF DataServices? ...
If a WCF Service gets the same request, means the same MD5 over all Parameters i want to block all except the first request until the processing is done and notify all waiting clients. What is the best way doing this? I thaugh of something like a channel sink, maybe there is a finnished implementation for archieving this? ...
I have created an service oriented application using wcf and msmq. We can only use server 2003, so the version of msmq is 3.0. The service works, but when using the Microsoft Service Trace Viewer. I keep getting warning when opening service hosts about wcf not being able to confirm wether the queue is transactional. Here is the Trace :...
I am trying to do some basic authentication in a WCF RequestInterceptor. I am using this article as a start. The problem I am running into is communicating between the interceptor and the service. Nothing I have tried seems to work. So far, I have tried: OperationContext.Current requestContext.RequestMessage.Properties[HttpRequestMess...
I have a DAL that is replicated across multiple apps ( I knw its a bad design but ignore this for now) , what I want to do is this... Create a WCF DAL Component that will be accessed via all Desktop apps.. Could n e one share their thoughts on following ?? 1. I am intending to use TCP Binding 2. What will be the overhead in terms of pe...
Hi, I would like to host a Wcf Service, create in a Wcf service Library, in a Web Application. I've already done the same thing with Web Service asmx : using System.Reflection; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; namespace WebServiceLibrary { [WebService(Namespace = "http://tempuri.or...
I have derived a class from DuplexChannelFactory, and one of the constructors of the derived class takes System.ServiceModel.InstanceContext and System.ServiceModel.Description.ServiceEndpoint arguments. I simply pass them down to the base DuplexChannelFactory class, e.g.: public DerivedDuplexChannelFactory(System.ServiceModel.InstanceC...
I learn that Service Layer is above Business Logic Layer and we call Service Layer from Presentation Layer. But in project do we call Web or WCF service defined in same application? If we exposed all our logic in service layer and call the services rather than methods in business logic layer, it should has a sacrifice in performance. I d...
I am consuming a web service in .NET application with WCF client. The Endpoint's address of the service is over port 4338, and it is over HTTPS, secured with WS-Security standard. So the address is something like : https://[servername]:4338/[servicename]/ I was not able to communicate to the service with just running the application...
I am using VS 2008. I have to create a wcf service and inside the service i have to do some basic operations on a xml file using LINQ to XML. I have to host the service in IIS 7.0 and consume it. As part of the LINQ to XML I have to do the following tasks : find all the questions in all the Enquiry that answers are no modify the quest...
Hi I have a question on the types that can be returned by a WCF service.Are there any specific complex types that can't be returned by a WCF service? To put more clearly, can we have any kind of complicated datatypes to be defined as Data Contracts and have them returned by the Service operations? Is there any limitation to any type? T...
I have a class that implements a plugin for an existing application. I also have exposed that class as a WCF service. That part is working so far. The problem I am running into is that the application I am plugging into creates the instance of my class that I want to use. Is there a way to pass an existing class instance to the WCF s...
I have a WCF service, in two machine in Preproduction environment, machine A and machine B. Only in machine B, the service fails when I call it (from biztalk proccess), another machine is right. The configuration of service in both machines is the same. I get this error: System.NotSupportedException, mscorlib, Version=2.0.0.0, ...
I spent two days trying to figure this out and I am stumped. I have a WCF servers running as a service on Windows. A client can connect to it on the same machine, but as soon as I move try to connect to the service from another machine I cant. So if the client and host are on the same machine, no problems. If the Host and Client are ...
Hi, this is more of a design question: lets say that I have some internal type definitions that I absolutely want to keep secret (not exposed to my service consumers. However, i do need to exchange data with the service users. some of the types I want to share with the users are exactly the same as the internal ones while others are ...
Hi All, I have hosted WCF in Windows Server 2003 standard edition. If there is not much process while fetching data from service it returns expected result, but if there is much processing involved, it comes with 504 error(The server didn't return a response for this request). I am using custom binding which is as follows to return JSO...
I'm trying to consume a WCF Data Service in a Silverlight App using an ADO.Net Entity Data Model, however I keep running into this error: The content type text/html of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSuppor...