如何在ASP.NET中实现三层应用程序 [英] How to Implement Three Tier application in ASP.NET

查看:53
本文介绍了如何在ASP.NET中实现三层应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是初学者,请帮我详细了解一下asp.net中的三层架构实现。

谢谢

Kumar Ravishankar


I am beginner , please help me to learn three tier architecture implementation in asp.net in detail with some example.
Thanks
Kumar Ravishankar

推荐答案

这个问题有点荒谬。如果您将客户端视为一个层而服务器端视为另一个层,则ASP.NET可以只有一层或两层,但是我可以将ASP.NET层称为服务器部分层,而不是考虑客户端作为其一部分的功能。除了ASP.NET之外,还应该有其他层。在整个解决方案中可能有多个ASP.NET层,这没关系;在所有情况下,这不是在ASP.NET中实现三层应用程序。



要了解多层体系结构,您可以从这里开始: https:/ /en.wikipedia.org/wiki/Multitier_architecture [ ^ ]。



-SA
This question is a kind of absurd. ASP.NET can be only one tier, or two, if you consider a client side as one tier and the server side as another one, but then I could call "ASP.NET" tier only the server-part tier, not considering client-side functionality as part of it. There should be other tiers, in addition to ASP.NET. There could be more then one ASP.NET tiers in the whole solution, it's just doesn't matter; in all cases, this is not "implementing of three-tier application in ASP.NET".

For understanding of multitier architecture, you can start here: https://en.wikipedia.org/wiki/Multitier_architecture[^].

—SA


三层由演示,业务,数据层组成。



表示层:应用程序中的这一层顶层。它为用户定义用户界面(UI)以执行其活动。



业务层:它是Presentation和Data层之间的中间层。它传达两个层。它从Presentation层获取输入并将其发送到Data层。然后将结果返回到表示层。



数据层:此层只是执行数据库操作系统。它包含应用程序数据。



请通过以下链接来了解可能有助于您了解击球手:



< a href =http://www.c-sharpcorner.com/UploadFile/4d9083/create-and-implement-3-tier-architecture-in-Asp-Net/>创建并实施3层 - architecture-in-Asp-Net [ ^ ]
Three Tier comprised of Presentation, Business, Data layer.

Presentation Layer: This layer top layer in an application. It defines User Interface(UI) to user for performing its activity.

Business Layer: It is middle layer between Presentation and Data layer. It communicates both layers. It takes input from Presentation layer and send it to Data layer. Then returns result to Presentation layer.

Data Layer: This layer is nothing but performs only database operatins. It holds application data.

Please go through below links that might help yo understand batter:

Create-and-implement-3-tier-architecture-in-Asp-Net[^]


这篇关于如何在ASP.NET中实现三层应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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