WCF Confusion RRS feed

  • Question

  • Hi

    I have two solutions Web and Wcf. In WCF I have Service, Entity Framework, BAL and DAL. 

    Suppose i am calling a method from WEB. Let it be Add();

    Now where should i write the implementation. In Service or BAL?

    If i write it in BAL then what should be in Service and vice-versa.

    I am confused.


    Thursday, November 27, 2014 2:49 AM


  • The ADD() method must be implemented in the WCF service implementation, the BAL and the DAL. The WCF implementation only calls the BAL method,  and the BAL method calls the DAL method  to persist the data to the database.

    How did you get any of the rest of the solution to even work if don't understand the simple concept?

    Thursday, November 27, 2014 10:43 PM