Astoria and WCF service RRS feed

  • Question




    The web data service is not working with WCF service in web project.


    The problem can be reproduce by the following steps


    1. Create a APS.NET web site with Vs 2008 beta 2

    2. Add a "Ajax-enabled WCF service" to the project

    3. Add "webget" attribute to the implementation, test the service with url, and it will deliver you JSON payload correctly via URL.

    4. Add a ADO.NET Entity Data framwork model

    5. Add the Web DataService.

    6. The web data service works, but the browser will respond "Endpoint not found" with the http request from (3) !




    Thursday, November 15, 2007 7:08 PM



    In this scenario are the two services the same .svc endpoint or different ones.  If they are the same: this behavior is currently by design.  Astoria presently hooks up to WCF using WebServiceHost with a contract defined using UriTemplate="*".  Thus, the full URI space is directed to the Astoria service for a given host. 

    Monday, November 26, 2007 3:00 AM