locked
EDM and n-tier RRS feed

  • Question

  •  

    How can the Entity Framework best be utilitized in n-tier solutions with rich clients?

     

    Would you recommend using the Astoria client library to make the full EDM available on both client and middle tiers?

     

    Regards

    Torsten Seemann

    Monday, May 21, 2007 9:01 PM

Answers

  • Use of Astoria for n-tier scenarios largely depends on the application you are writing. Astoria tends to be really helpful if you are building a data-driven application, and particularly when a significant portion of the data is exposed directly and doesn't need a lot of business logic on top.

     

    On the other hand, if you are modeling the application, specifically the interaction between tiers, in a way that is operations-centric, then something like Windows Communication Foundation would be more appropriate.

     

    I elaborated more on the topic in this blog post:

    http://blogs.msdn.com/pablo/archive/2007/05/04/application-models-for-astoria.aspx

     

    Pablo Castro

    Technical Lead

    Microsoft Corporation

    http://blogs.msdn.com/pablo

     

    Wednesday, May 23, 2007 4:41 PM
    Moderator