Archives
-
Sticky notes plugin for Visual studio 2008
My good friend Pablo Galiano has released a pretty cool plug-in for Visual Studio 2008, Sticky Notes. In a few words, this extension allows you to attach sticky notes to your code, which can be personal notes (Only visible to you) or team notes (visible to the entire team).
-
Some issues added in codeplex for the WCF REST Starter kit
I just created some issues in codeplex for the features I discussed last week in these two posts:
-
Testing WCF REST Services
Many of the WCF services that we build today rely on the WCF context (OperationContext and WebOperationContext) for performing different things, specially REST services where the context is necessary for settings and getting Http status codes or headers. The fact that the WCF context does not expose interfaces or base classes complicates the unit testing a lot. In this sense, I like the approach taken by the ASP.NET MVC team, all the classes exposed by the HttpContext as properties are base classes, so they can be easily mocked.
In order to test a WCF service with what we have today, we have to either test the service as a black box (integration tests, which requires a lot of plumbing code to setup all the WCF infrastructure for the test, channels, host, client, etc) or create some wrappers to encapsulate the WCF context behavior, as I mentioned in this post "Unit tests for WCF services" -
Adding Conditional Get Support to the WCF REST Starter kit
Some weeks ago, I discussed how important "Conditional Get" can be for some scenarios, specially when we want to make a better use of the network traffic.
-
Dynamic Content Type - A nice to have feature for the WCF REST Starter Kit
One of the missing features in the WCF web model is the ability to have a single operation definition and switch the content type for the response according to some runtime setting (Which could be the Accept or Content-Type request header for instance).
-
WCF Workflow services in business applications
It's pretty interesting to see how useful workflow services can be sometimes, specially for business applications that require orchestrating several back-end services calls.