Wednesday, February 25, 2009

Configurationless WCF - Kinda

WCF 4.0 is shaping up to be quite an interesting release.

This morning, Jesus Rodriguez blogged about support for WS-Discovery in WCF 4.0, including a detailed basic “how-to” to get us started. What’s interesting is that this level of WS-Discovery support will allow for much more dynamicism in our WCF based systems.

For example, now we might use a Broker as a first endpoint that then provides a resolution mechanism for other services. Using this new mechanism not only can a client can use WS-Discovery to find all available Brokers, but the Brokers themselves can monitor the services available across a server farm and self-configure accordingly. Neato!

Discover yourself:




Tuesday, February 24, 2009

Put out a contract on your code

I always read Somasegar’s postings with interest – nearly as much as I give to ScottGu’s – and today was no exception.

In a posting today, Somesgar announced the release of a Visual Studio companion product from the DevLabs called Code Contracts for .Net.

This is exciting because it provides a mechanism for us developers to employ design-by-contract techniques in our .Net code. I’d previously rolled my own (very basic) equivalents to this, but this tool seems much superior because it includes an IL rewriter and a static checker as well as the static library used to express the contract specification. The static checker even provides suggestions for contract specifications based on the code in a method – very cool.

Plan your hit by reading about it here:

Pull the trigger and get it here:

Friday, February 20, 2009

Friday Quick Tip: WPF Data Binding

@mtaulty tweeted with this cheat-sheet for WPF (and by extension Silverlight) data binding.