问题描述
嘿伙计们,
我对3层架构有疑问。我开发了一个应用程序和
它有3个项目,一个asp.net项目和两个类库(BLL,DAL)。
BLL正在使用直接引用(添加来自DAL和UI的对DLL的引用是使用来自BI的直接引用。
当我正在托管时,我将这一切都放在一台服务器上,而DB放在另一台服务器上。
我的应用程序可以被称为3层还是3层?
如果它们被放置,我该如何引用这些DLL(DAL和BLL)在一台单独的机器上?或者它们应该是Web服务吗?
在此先感谢!!
Hey guys ,
I have this doubt relating to 3 tier architecture. I have developed an application and
its having 3 projects in it an asp.net project and two class libraries (BLL,DAL).
BLL is using direct reference(adding reference to the DLL) from DAL and UI is using direct reference from the BI.
When I am hosting , I am placing this all on one server and DB is on another server.
So can my application be refereed as 3 tier or is it 3 Layer?
Also how can I reference these DLL (DAL and BLL) if they are placed on a separate machine? Or Should they be web services?
Thanks in advance!!
推荐答案
这篇关于在3层体系结构中,DAL,BLL和UI必须位于不同的系统中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!