Direct DomainService using (similar to using in asp.net mvc) RRS feed

  • Question

  •  Hi,
    When Ria Services was Preview, Brad Abrams wrote about DomainServiceProxy:
    In Mvc, it allowed to use domain service class directly in actions as: domainService.GetXXX();

    Since Wcf came, this proxy has been working incorrectly - it returns something like "incorrect program/image" (I don't know really, as BSOD shows localized version for me). Proxy class from Brad had been dynamically creating type that inherited from functions in domain service (all functions had to be virtual).

    I'd like to know 1) if anyone has already done sth similar for Wcf Ria Services... or 2) if anyone knows technical aspects of Wcf Ria Services so well, that can suggest what should be changed in the proxy class.

    Thanks in advance.

    Sunday, November 29, 2009 2:52 PM