I am at a stage of building a wcf service for my application that will provide the products.. I have, the domain model and persistence layer under the application.
For the service I will also need a similar domain model and persistence layer. I don't want to duplicate things and I don't want to also share libraries and couple the application and service either.
So this make me think if I should create either a separate service(or implement in this new one I'm creating) the data access layer and use that service for the data access from the appication also, hence there will be only one data access layer that is shared by both the application and the service
Is this a good pattern and are there major problems that await for me down the road, if so what would be your suggestion? Thanks!