Mark Harris
Introducing Fluent WCF
About 2 weeks ago Simon and I started to work on building a fluent interface to configure WCF. Our main aim in doing so is to cover the the scenarios of configuring Services and Clients 80% (or 20%) of the time.
Our goals at this stage are
- Services over Basic HTTP or TCP
- Either No Security and Windows Transport Security
- No message level Security
- Include Service Meta Data
What this should enable us to do on the Service Host end would look like
var host = new WCFHost() .AtAddress("http://localhost:8080/") .UsingContract(typeof (IHelloService)) .WithBinding(new BasicHttpBinding()) .EnableMex() .Start();
I expect more on this shortly.
del.icio.us Tags: Fluent WCF,.net
6 Responses to Introducing Fluent WCF
Tags
.net .net4 Addins apple Biztalk BizTalk Express C# Caching cch harmony launch party Comic Development Dilbert distributed entity framework extensions firefox 3 flickr flickrlight General Go Live Rituals in memory iphone2 iphone 3g Linq To Sql MAF Managed Addin Framework Mapped Drive to UNC NServiceBus Oslo Plugins point case estimation project estimation Run As Administrator silverlight sky diving soa SQL Server Training UAC Velocity Vista Visual Studio wcf wf wwdc 2008





Sounds good
Timeline?
Mark Harris Reply:
June 11th, 2009 at 8:54 pm
Simon,
I intended to have something out already. However my work and family commitments have kept me otherwise occupied.
I would expect to put a usable version out over the weekend.
var host = new WCFHost()
.AtAddress(“http://localhost:8080/”)
.UsingContract()
.WithBinding(new ())
.EnableMex()
.Start();
Would you consider open sourcing this project? The community could definitely use something like this.
Mark Harris Reply:
September 24th, 2009 at 10:46 pm
Paul,
It not something that i would like to champion espically since i spend all of my time working with NServiceBus.
David Kirkland has done some work on this and the code is available at
http://code.google.com/p/vitamink/
Mark
Have a look @ http://www.castleproject.org/container/facilities/trunk/wcf/index.html
We use it for fluent configuration of our WCF Services, but it requires the Windsor container.