-
Today I ran into a very interesting issue where my WCF service was not publishing my metadata… but I had the Mex endpoint setup correctly. When I tried to hit my hosted service in a browser I received the following message I double checked that my config was indeed correct it was…. I was...
-
Toady we ran into an issue where the serialization graph of our objects exceeded the default max limits (yea I know, I need to resolve this as my root issue, but one step at a time). When I used the WcfTestClient to test for a working solution for my problem I simply had to make a few config changes...
-
If you have ever setup a set of WCF services and tried to have them communicate across physical machines you know that out of the box this is not ‘possible’ due to security constraints. But, it is 100% possible to set up your services to communicate in a pure 'open’ manor and in fact it is dead simple...
-
Have you ever run into the following error while trying to host (start) a WCF service inside a Windows Service? Starting WCF Services step has caused the following error HTTP could not register URL http://+:9997//Services/HashGenerationService/ . Your process does not have access rights to this namespace...
-
The other day I refreshed one of our WCF services (right click the service and do a Update Service Reference) and all of a sudden I got a metric crap-ton of build errors. In each place I received the error it told me that the type was not found. At first I could not understand what was going on, in fact...
-
Today while doing a bit of refactoring to some of our WCF code I started getting the following error e.Message "The ChannelDispatcher at ' http://localhost:9997/ServiceNameHere/ServiceHere' with contract(s) '\"IService\"' is unable to open its IChannelListener." e...
-
In this great post by Jimmy Bogard or this Dimecasts on the subject we take a look at how to add IoC (Inversion of Control) support to your WCF application in order to support DI (Dependency Inversion). However, the one thing both the post and Dimecasts fail to take into account is what if you are not...
-
I want to send out a big thank you to the team who put together the Iowa Code Camp . You people did an awesome job!!! I had a great time giving my talks and really enjoyed hanging out with the crowd in Iowa. For those of you who attended my talks, or just want to see the materials, I’ve posted...
-
My article on programming REST services with F# and WCF went up at InformIT. Please go read it! http://www.informit.com/articles/article.aspx?p=1394625
-
On the course of last few months, I’ve been working with Craig Neuwirt , on what I consider one of the coolest additions to Castle WCF Integration Facility . Problem As you probably know by default all WCF calls are synchronous – you make a request, under the cover WCF blocks your thread...
-
If you're communicating with WCF via a ClientBase proxy class, you may, at one time or another, have encountered the cryptic exception "The underlying connection was closed: The connection was closed unexpectedly." If your WCF method is returning something other than void when you encounter...
-
Note-- This code in this post has been updated on 4-3-2010 to include updates to handle exceptions. One of the things that many people are still doing is making use of old COM objects that run in STA (single threaded apartment) threads. Back in October, 2006, Jeff Prosise wrote how to do this from ASMX...
-
In a few weeks I will be giving presentation about interoperability with WCF on DDD South West. It will be my first presentation on an event bigger than a user group meeting. If any of you will be on the event please come over to say hello. Also, I'm open to any suggestions and ideas on what you...
-
If you've tried to pass NHibernate objects over the wire using a webservice before, you know how painful it can be. But what about WCF? Can it ease your pain? Well, yes, of course it can. This wouldn't be a very interesting post if the answer was no. There are three main issues that needed to...
-
Windows Communication Foundation (WCF) services are wire-level compatible with Web Services Enhancements 3.0 (WSE3) clients. This is correct in theory, however, it's not as easy as one would expect. This article presents the issues on interoperability between WCF and WSE 3.0. Web Services Enhancements...