Is there a .NET class wrapper for the OData protocol Uri

Does anyone know if there an open-source .NET wrapper that can reliably parse the OData protocol Uri?

I'm not looking for pointers to WCF Data Services... I'm creating a WCF-based data querying service that (for complicated reasons) cannot be a real Atom/OData service, but I really like the expressiveness of the OData Uri for identifying a datasource and query parameters. Plus we may expose an OData endpoint some time in the future.

I've looked (cursorally) through the WCF Data Service API and there does not seem to be a neatly wrapped-up ODataUri class that exposes service host, resource path and query parameters. I can write one, but before I do I'd rather see if someone has done it already.

8
задан marc_s 3 October 2010 в 19:50
поделиться