在3tier架构中引用DLL [英] Referring DLL in 3tier architecture

查看:103
本文介绍了在3tier架构中引用DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个3tier架构的专案.我需要将业务和数据层保留在单独的服务器中,将数据库保留在另一台服务器中,并将表示层保留在另一台服务器(总共3台服务器)中.如何从表示层引用业务和数据层dll(位于另一台服务器中)?有什么办法可以通过web.config做到这一点?我不想手动添加对项目的引用.任何输入将不胜感激.

在此先感谢

Hi,

I have a project in 3tier architecture. I need to keep the business and datalayer in a separate server and database in another server and my presentation layer in another server(Totally 3 servers). How do I refer to the business and data layer dll''s(which is in another server) from presentation layer? Is there any way that I can do this through web.config? I do not want to manually add reference to the project. Any inputs would be appreciated.

Thanks in advance

推荐答案

您始终可以使用WCF在两层之间进行通信.
You could always use WCF to communicate between the two layers.


这篇关于在3tier架构中引用DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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