If you’ve been writing WCF services for a while, you know that this technology gives you superior flexibility for providing and consuming services. There are many permutations with which you can configure your services but this flexibility is not the only thing that makes WCF an incredible technology. You can also hook into the WCF runtime to provide your own customizations that get called upon when your services do.
In this session, I’ll demonstrate this with a couple of techniques for achieving call monitoring and call authorization. You’ll learn how to write parameter inspectors, operation behaviors, and service behaviors; and how to install and reuse them easily.
Replace any .NET method with your own delegate! “Fakes” is a new framework in Visual Studio 11 for test stubs and detours in .NET. Fakes may be used to detour any .NET method, even in tough situations like static methods, non-virtual methods, private methods, constructors, etc… If you’ve been a user of Moles, Fakes is a lot like Moles but different so come and learn about the changes coming ahead too.
Code Contracts provide a language-agnostic way to express coding assumptions in .NET programs. The contracts take the form of preconditions, postconditions, and object invariants. Contracts act as checked documentation of your external and internal APIs. The contracts are used to improve testing via runtime checking, enable static contract verification, and documentation generation. In this talk, I ‘ll demonstrate Code Contracts and focus on the advances we have made in the static checker and new support for assisted code repair using the Roslyn CTP.
The ideas behind BDD, Specification by Example and Agile acceptance testing are deceivingly simple, but have proved far from easy to implement. Yet most of the complaints online come from misunderstood ideas which lead to misguided attempts. Gojko Adzic will bust the myths around these techniques and show how successful teams all over the world use them to successfully deliver the right stuff using these techniques.