本文介绍了Windows客户端和Web客户端 - 相同的业务层和数据层的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在.NET中为我的公司编写一个产品,其前端或UI将是不同的 - 赢取表单,Web和移动,但业务逻辑和数据库将是相同的。



在您的情况下,任何人都可以共享或建议您用于实现此目的的架构吗?我还在考虑以下内容。

1.编写业务层和WCF并将它们作为服务公开。

2.我可以使用WCF数据服务吗?

3.我应该使用WCF中的JSON来返回大量数据吗?

4.can实体框架在这里也有帮助吗?



谢谢

I need to write a product in .NET for my company whose frontend or UI will be different - win forms, Web and Mobile but the business logic and database will be the same.

Can anyone share or suggest the architecture which you used to achieve this in your case ? I was also considering the following.
1.write the business tier and WCF and expose them as services.
2.can I use WCF data services ?
3.should I use JSON from WCF to return large number of data ?
4.can entity framework also help here ?

Thanks

推荐答案


这篇关于Windows客户端和Web客户端 - 相同的业务层和数据层的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 08:20
查看更多