如何在asp.net中使用3层架构? [英] how to work with 3-Tier Architecture in asp.net?

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

问题描述

如何使用3层体系结构以及在Web应用程序中使用3层体系结构有什么用?

解决方案

N层架构的想法是与ASP.NET没有直接关系。 如何在asp.net中使用3层架构?不太正确。比方说,其中一个层可能是使用ASP.NET服务器端技术的Web应用程序,顺便说一下,(ASP.NET技术)可以帮助您使用其他层,例如,使用一些Web服务或一些其他服务,或使用ADO.NET直接使用数据库服务,而不将其暴露给用户或其他层。



您可以在此处阅读此类架构的动机: http://en.wikipedia.org/wiki/N-tier [ ^ ]。



-SA

how to work with 3-Tier architecture and what is the use of using 3-tier architecture in webapplications?

解决方案

The idea of N-tier architecture is not directly related to ASP.NET. The question "how to work with 3-Tier Architecture in asp.net?" is not quite correct. Let's say, one of the tiers could be a Web application using ASP.NET server-side technology, which (ASP.NET technology), by the way, can help you to work with other tiers, for example, consume some Web service or some other service, or consume database service directly using ADO.NET, without exposing it to the user or other tiers.

You can read about motivation of such architectures here: http://en.wikipedia.org/wiki/N-tier[^].

—SA


这篇关于如何在asp.net中使用3层架构?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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