多层ASP.NET C#Web应用程序ditribution [英] Multi tier ASP.NET C# web application ditribution

查看:100
本文介绍了多层ASP.NET C#Web应用程序ditribution的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在设计一个分布式系统。通常我把整个项目的不同部分放在不同的项目中。在这里我有一个问题是,我将每个项目划分为两个不同的项目是一件好事,比如我将接口放在一个项目中并将其他类放在另一个项目中?



我尝试了什么:



我已经完成了两种方式。我想知道哪一个更好。

Hi,

I'm designing a distributed system. usually I put different parts of the entire project inside different project. here I have a question is it a good thing that I divide each single project in two different projects like I put interfaces in one project and put the other classes inside another project?

What I have tried:

Well I've done it in both way. I wanna know which one is better.

推荐答案

取决于。如果您使用的是WCF,则可以在客户端上安装接口库,并将实现库保留在服务器上。
It depends. If you are using WCF, then you could install the interface libraries on the client and leave the implementation libraries on your server.


这篇关于多层ASP.NET C#Web应用程序ditribution的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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