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: http://weblogs.asp.net/gsusx/archive/2009/02/13/using-ws-discovery-in-wcf-4-0.aspx

 

 

 

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: http://blogs.msdn.com/somasegar/archive/2009/02/23/devlabs-code-contracts-for-net.aspx

Pull the trigger and get it here: http://msdn.microsoft.com/en-us/devlabs/dd491992.aspx

Friday, February 20, 2009

Friday Quick Tip: WPF Data Binding

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

Handy.