Hi
I recently started with WCF ( yeah I know I am behind :-) ). The question is how I must structure it.
I am used to DAL,BL and Presentation Layer. I am replacing( sort of) my DAL with entity framework.
So I have this so far
DAL(entity framwork) --> BL --> contracts (datacontract messagecontrol service contract behaviours etc) --> service implementation --> client.
The question is there a layer between bl and the contracts that converts( lack of a better word) the bl into the data contract.
Ex DAL.Customer(Entity Framework) --> BL (Rules) -- > Converter (Just converting) --> Contracts.Customer
OR
DAL.Customer(Entity Framework) --> BL (Rules) -- > Converter (Calling BL and converting. converter implementing service contract) --> Contracts.Customer.
thanks