哪个是使用EF,UnitOfWork,Repository和DependencyInjection实现WCF服务的最佳实践 [英] Which is the best practice for implementing WCF service using EF, UnitOfWork, Repository and DependencyInjection

查看:93
本文介绍了哪个是使用EF,UnitOfWork,Repository和DependencyInjection实现WCF服务的最佳实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在从头开始创建一个WCF服务。

我正在使用这个WCF服务来保存我的所有业务逻辑和数据访问逻辑。

如果任何人可以帮助我理解什么是最佳实践或最佳模板用于相同的。我听说过EF,UnitOfWork,Repository Pattern和Dependency Injection。

但我希望有一个模板,它使用了最好的模板,帮助我理解和实现我的服务。



提前致谢

Hi,

I am creating a WCF service from scratch.
I am using this WCF service to hold my all business logic and data access logic.
If any one can help me to understand that what is the best practice or a best template to use for the same. I have heard about EF, UnitOfWork, Repository Pattern and Dependency Injection.
But I would like to have a template which use the best of them and help me understand and implement my service.

Thanks in advance

推荐答案

这篇关于哪个是使用EF,UnitOfWork,Repository和DependencyInjection实现WCF服务的最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆