« Decoding Components and Streams, II | Main | Two Types of Service Architects? »
I mentioned in a few posts that I've been attempting to hook WCF to attach custom metadata endpoints to a WCF service, and that I hadn't had much success yet because of how WCF works and because a lot of the necessary functionality that would've made it easier to do so was internal.
Today I finally got a breakthrough and was able to fully host my own metadata endpoint that was responsive from the browser (i.e. similar to the native WSDL publishing feature in WCF)! Here's what it took:
Take into account the code yet is a complete mess because I was pretty much just writing the minimum required until I could get a successful call to the endpoint. It's still missing tons of error checking and more and would require a through clean and refactoring and even so I'm not sure I'd be willing to use this stuff for real.
I wonder if there's an easier way to do this...
Windows Communication Foundation, WCF, WCF Extensibility
Syndicate
About
Tomas Restrepo is a software developer located in Colombia, South America. His interests include .NET, Connected Systems, PowerShell and lately dynamic programming languages. More...
email: tomas@winterdom.com msn: tomasr@passport.com
Ads
Links
Categories
Statistics
Blogroll
Post Archive
Other
Copyright © 2002-2008, Tomas Restrepo.
Powered by: newtelligence dasBlog 2.1.8139.823