VS 2012 F# Type Provider for OData RRS feed

  • Question

  • Hi,

    F# 3.0 (part of Visual Studio 2012 RTM) has a really cool feature called Type Provider that can generate client types at runtime from an OData service.

    I have fooled around with this last night and have run into a problem. It seems like F# 3.0 Type Provider OData type generation is using the "old" System.Data.Services.Client (from the .net Framwork 4.5) and not the "new" 5.0 versions. The type generation actually fails due to my OData provider being on the V3 OData spec.

    Does anybody know if it is possible to have F# pick up the beloved 5.0 version of WCF Data Services - a bit like we can have VS pick up the 5.0 data serviceutil on compile time/add service refernce by installing the 5.0 DS.? 

    Any timeframe of when this would be possible (F# Type Provider on top of OData V3/WCF DS 5.0)?

    Read more about F# Type Provider here...





    Friday, August 17, 2012 10:39 AM


  • Hi Uffe,

    The WCF Data Services team didn't contribute to the F# 3.0 Type Provider. I'd recommend taking your request to their Forum. It would be great if they took a dependency on our NuGet packages for ease of future updates. At a minimum, we do install WCF Data Services 5.0 with Visual Studio 2012, so they could upgrade to support that.



    Friday, August 17, 2012 9:50 PM