3层架构 [英] 3 layer Architecture

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

问题描述

我正在asp.net开始一个3层架构的项目。我应该计划

来编写项目并将工作划分为3层?

I am starting a project in 3 layer architecture in asp.net.how should i plan
to code the project and divide the work in 3 layers?

推荐答案

这一切都取决于你。但对于3层,您需要一个表示层,所有的.aspx页面。您可能还需要一个业务逻辑层,其中包含许多功能。然后你可以有一个数据库层,其中实际连接到Sql。
It all depends on you. But for 3 layers you'll like want a presentation layer, all your .aspx pages. You may also want a business logic layer where many of your functions will go. Then you can have a database layer where the actual connection to Sql is.


查看下面的链接。你会对asp.net中的3层架构有所了解



http://forums.asp.net/t/1667628.aspx [ ^ ]



http://www.dotnetfunda.com/articles/show/71/3-tier-architecture-in-aspnet-with-csharp [ ^ ] < br $> b $ b

http://www.c -sharpcorner.com/uploadfile/paulabraham/building3tierapppa11282005053625am/building3tierapppa.aspx [ ^ ]
Have a look in bellow links. you will get some idea about 3 tier architecture in asp.net

http://forums.asp.net/t/1667628.aspx[^]

http://www.dotnetfunda.com/articles/show/71/3-tier-architecture-in-aspnet-with-csharp[^]

http://www.c-sharpcorner.com/uploadfile/paulabraham/building3tierapppa11282005053625am/building3tierapppa.aspx[^]


除了表示层,业务逻辑层,数据访问层,您可以添加一个层类来声明所有实体。实体层。
Other than Presentation Layer, Business Logic Layer, data Access layer you may add one more layer class for to declare all the entities. Entity Layer.


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

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