Visual Studio 2005 RTM (Release To Manufacturing) sits on my desktop. So does the 2.0 version of the .NET Framework. And ASP.NET 2.0 is humming away on my http://localhost. Last, but not least, the Patterns & Practices studs released the finished version of the Component UI Application Block. I have all the tools at my disposal, finally, to begin work on our internal applications. All is right with the world, or so it seems…
Then I discover there’s a December CTP (Community Technical Preview) available for Indigo, now named Windows Communication Foundation (WCF). I’ve been following Indigo from a very peripheral view, and hoping to use it in our next generation of business applications. The previous solution I had set on was .NET Remoting, since we have 100% control over the server and client code, and don’t have to worry about providing public services to be consumed by outside sources using other technologies. Still, I wasn’t sold on that being the ideal solution for all our needs.
The idea that Indigo/WCF was going to combine all of these methods and technologies under one roof appeals to me greatly. It also conjured up lines from the Lord of the Rings…
One Ring to rule them all, One Ring to find them, One Ring to bring them all and
in the darkness bind them.
I saw the December CTP release of WinFX as a real opportunity to dive headfirst into Inigo/WCF and utlize the latest technology for our services protocols. I could scrap all of my old plans to use .NET Remoting, and combinations of Web Services and Enterprise Library, and instead utilize one namespace for all my needs. Pick the best tool for the job and move on. Sounds great, right?
There’s just one problem. After installing the WinFX Runtime, building my Service Contract, and hosting the thing in IIS 6.0, I get the following error message:
Normally, this is where Google saves the day. And sure enough I found what appeared to be a solution on Brenton’s blog. Unfortunately, even after running xws_reg and getting the proper configuration on my machine.config file, I still get the same error message.
Arg.
So, if anyone knows how to solve this problem, please advise
My fingers are aching to code up some samples with WCF.
Update
Turns out that system.serviceModel is case-sensitive. I had it as ServiceModel. That didn’t immediately fix the problem though. A repair was necessary. I re-ran the WinFX install and selected Repair. After that it worked. So my recommendation is, if you can’t get it to work, try and run a Repair on the install.