WCF late binding client RRS feed

  • Question

  • Hello,

    I'm trying to create a .net client (3.5) application that consumes a CRM 2011 odata service.  This metadata of the service varies between customers and so the client needs to interrogate the metadata at runtime and add objects of different types.

    Does anybody how I could do this kind of "late binding" to an odata service? 

    Thanks in advance,


    Saturday, May 7, 2011 9:44 PM


  • Our client runs on a static type system, hence you cannot really have a "late binding" client. Our code-gen library is available as System.Data.Services.Design.dll and you can use it to generate types at run-time, then play some magic to get the client to work, but that's not recommended. For the true late-bound client, you have to start from scratch. Odata explorer is a good example of that:


    Peter Q. http://blogs.msdn.com/peter_qian
    Monday, May 9, 2011 5:48 PM