webservices with repository pattern in c# and WCF?

后端 未结 4 1610
梦如初夏
梦如初夏 2021-02-10 21:54

Can anyone confirm the best way to integrate the repository pattern with webservices.... Well actually i have my repository patter working now in c#. I have 3 projects, DataAcce

4条回答
  •  囚心锁ツ
    2021-02-10 22:23

    Maybe webservices are not the best way, if i have full access to the service assembly then i suppose it always better to assembly share the services layer with my applications.

    My applications do similar things, but they all need to access the service layer - well the business logic and get back information...

    In this case - its always preferable to use assembly sharing with the service layer rather than provide a WCF Web service using HTTP protocol or using TCP on wcf - for example?

    Thanks again

提交回复
热议问题