REST with JAX-RS and silverlight clients

REST with JAX-RS and silverlight clients

I am Working on a RESTful  service using Jersey (not my first choice, but a reasonable compromise). It is hosted inside FuseESBand all is well. Here’s an overly simplified version of the resource that reports status: 1 2 3 4 5 6 7 8 9 10 11 @Path("/stat") public class StatusResource { @GET @Produces(MediaType.TEXT_PLAIN) public String...

Read More

Mixins in .NET

Mixins in .NET

Mixins are a good way to weave functionality into a class. Wikipedia defines Mixin as follows “In object-oriented programming languages, a mixin is a class that provides a certain functionality to be inherited by a subclass, while not meant for instantiation (the generation of objects of that class). Inheriting from a mixin is not a form of specialization but is rather a means of collecting...

Read More

Having fun with LINQ expressions

Having fun with LINQ expressions

I don’t know how many of you need to analyze LINQ queries – but since this took me a few hours to get right I thought I’d save you some of the trouble in case you do. I am working on this pet project of mine (I’ll blog about that soon in a separate post) where I have the need to take LINQ queries and among other things verify that that the sources are from a specific...

Read More