WCF Book Recommendation
Touched on in other questions, but not directly...which WCF book(s) would you recommend? ...
Touched on in other questions, but not directly...which WCF book(s) would you recommend? ...
Duplicate question: WCF Book Recommendation I'm an experienced developer, but almost all of my development has been focused on the desktop. In the very near future, I'm going to be responsible for creating services (web and otherwise) and will be utilizing WCF with .NET 3.5. Where should I start? Any recommended books or online gui...
Hi, my web service was working, then suddenly it stopped. After debugging I realized that there might be a problem in the config, and for some reason the .svc mapping was gone in IIS (Handler Mappings). I added the .svc mapping, and it is now updating my web.config and adding a node to the web.config (my previous web.config's didn't h...
Is there a way to get the remote IP Address of a WCF connection? I guess the reason why it's not built-in into the WCF framework is that WCF can work with non TCP/IP bindings, so the IP Address is not always meaningful. However, the information would make sense for all the widely used bindings (As far as I know : BasicHttp, DualHttp, W...
Problem: how to provide a distributed, scalable and disaster resistant pub/sub service with WCF. Details: Note that this approach is being considered in addition to messaging/middleware solutions such as Tibco EMS. I've been looking into WCF, particularly how it may be used to offer pub/sub. On this subject this article is very good:...
I'm trying to deploy my WCF web service to a free host to test it, but it gives me the following error: The Binding with name WSDualHttpBinding failed validation because the Binding type System.ServiceModel.WSDualHttpBinding is not supported in partial trust. Consider using BasicHttpBinding or WSHttpBinding, or hosting your applicati...
Hi, Short Version: When I've created a Channel using ChannelFactory on a client which uses duplex communication, do I need to keep the channel open in order to receive the callback or can I call ChannelFactory.Close()? Long Version: I'm developing my first WCF service and I've created my own ClientProxy Class, which implements and amal...
I developed in ASP.NET 2.0 for some time, and for slightly less time in Java/Spring/Hibernate. Right now I start developing new web-service and am confused with the choice of: .NET WCF 3.5 versus Java/Metro. From one side, WCF seems like a brilliantly developed solution, a masterpiece of software frameworks, with all the support for fu...
I'm using Visual Studio 2008 SP1 on .NET 3.5 SP1 on Vista Any time I try to add a Service Reference to any WCF service I get an error that says "Could not load type 'System.ServiceModel.FaultImportOptions' from assembly 'System.ServiceModel,Version=3.0.0.0, Culture=neutral, PublicKeyToken=..." This happens when I try to connect to eith...
Is there a way to setup authentication (ala "Basic Authentication") without actually setting up an SSL Certificate? I'd also like to do this in REST or regular SOAP WCF Services, preferably in REST, but would like to be able to mix the services. In other words, "I want to be able to send a regular old username and password just like in...
What really happens when a person calls the Open method of IRequestChannel? For example, if I have the following code: ChannelFactory<IRequestChannel> factory = new ChannelFactory<IRequestChannel>(); // using a netTcpBinding to a net.tcp://localhost:9999/Bar IRequestChannel outchannel = factory.CreateChannel(); outchannel.Open(); // wh...
I have written a very simple WCF Service that sends and receives messages. I have tested the app through the VS 2008 default web server host and everything works fine. But when I deploy the WCF service to another computer's IIS I receive the following error: "The request for security token could not be satisfied because authentication f...
Hi all, What is the best approach to implementing authorisation/authentication for a Windows Forms app talking to an IIS-hosted RESTful WCF Service? The reason I ask is I am very confused, after sifting through different articles and posts expressing a different method and eventually hitting a ~650 page document on WCF Security Best Pr...
Hi, I have a service that returns a collection of MyClass objects. If all of the MyClass instances have null in MyClass2Reference then everything works fine. Otherwise, I get a "Connection reset" error on the client side. What am I doing wrong? Nevrmind: was a problem with NHibernate lazy proxy objects. [DataContract] public MyClass {...
I have a Silverlight Project which passes data using the Data Contract to a WCF service. The WCF method then invokes a BAL class which again has the same properties. Is there any way to avoid this duplication of properties ? Thanks, Chak. ...
Can the WCF runtime be made to instantiate a service via an IoC container rather than via its usual process? (Also, given a potential clash between the container's lifestyle configuration for the type and the service's InstanceContextBehavior, would this approach be a terrible idea?) I'm aware that I might be asking the wrong question a...
How can I read Authorization header information from a REST based WCF service? ...
I'm trying to get a WCF Client assembly deploy in SQL 2005. This means I need to create/register the dependencies for my WCF Client, which are: System.Runtime.Serialization System.Web System.ServiceModel With this script: CREATE ASSEMBLY System_Runtime_Serialization FROM 'C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication...
I miss the .Net remoting days when I could just send an object over the wire and it would work on both sides of the middle layer without much work. Here's why: I've been given an assignment. I'm building a Logic/Data Abstraction layer (stupid PCI Compliance) so that we can move our database servers off of the corporate network into a pr...
Hi, I have a WCF service that I call from a windows service. The WCF service runs a SSIS package, and that package can take a while to complete and I don't want my windows service to have to wait around for it to finish. How can I make my WCF service call asynchronous? (or is it asynchronous by default?) ...