在.net中使用架构有什么用? [英] What is the use of architecture in .net

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

问题描述

您好我是.net的新手并且想了解3层架构解释(仅使用c#)和示例吗?



以及如何使用它?

Hi i am new to .net and want to know about 3 tier architecture explain (use c# only) with example?

And how to use it?

推荐答案

无论何时用c#或任何其他语言或平台创建程序,都有一个架构。它可以是 [ ^ ],< a href =http://johnryanrecabar.files.wordpress.com/2011/04/banaue-brick-house1.jpg> haphazard [ ^ ]或纯粹意外的 [ ^ ]。




如果你认真对待软件开发阅读:

面向模式的软件架构:模式系统,第1卷 [ ^ ]


面向模式的软件架构:并发和联网对象的模式,第2卷 [ ^ ]


面向模式的软件架构:模式资源管理,第3卷 [ ^ ]


面向模式的软件架构:分布式计算的模式语言,第4卷 [ ^ ]



要开始使用.Net平台,请阅读:

.Net Components [ ^ ] - 它将为您提供完美的.Net基础知识。 Pro C#2010和.NET 4 [ ^ ]提供了很好的概述 - 也许是最好的书,因为它也会向你介绍c#。



最好的问候

Espen Harlinn
Anytime you create a program, in c#, or any other language or platform – you have an architecture. It can be good[^], haphazard[^] or purely accidental[^].


If you are serious about software development read:
Pattern-Oriented Software Architecture: A System of Patterns, Volume 1[^]

Pattern-Oriented Software Architecture: Patterns for Concurrent and Networked Objects, Volume 2[^]

Pattern-Oriented Software Architecture: Patterns for Resource Management, Volume 3[^]

Pattern-Oriented Software Architecture: A Pattern Language for Distributed Computing, Volume 4[^]

To get started on the .Net platform read:
.Net Components[^] - it will provide you with a good undestanding of the basics of .Net. Pro C# 2010 and the .NET 4[^] provides a nice overview - and is perhaps the best book to start with as it will also introduce you to c#.

Best regards
Espen Harlinn


我已经适当考虑了CP Seniors提供的答案。

分层架构有很多内容,上面的答案已经提供了很多指针。



我想对3层架构进行一般性的描述。

从广义上讲,3层架构将应用程序划分为3层或层作为数据层,业务层和表示层或GUI层。

目的是维护松散耦合的系统。例如,表示层是用Windows Forms开发的,后来你想要实现ASP.NET Web Forms,你可以在表示层中轻松地用ASP.NET创建一个项目,并且可以将业务和数据层与新创建的一起使用ASP.NET Web表单。类似地说,最初MS Access用于数据访问,之后你想切换到SQL Server,它可以通过干扰业务和演示或GUI层来实现。



我认为以下文章可能有用

3- C#中的层架构 [ ^ ]
I have due regard to the answers provided by CP Seniors.
There is a lot to the tiered architecture for which lot of pointers were already provided in the above answers.

I want to give a general description of 3 Tier Architecture.
Broadly speaking 3 Tier Architecture is to divide the application into 3 tiers or layers as Data layer, Business layer and Presentation or GUI layer.
The purpose is to maintain a loosely coupled system. For example the presentation layer is say developed with Windows Forms and later you want to implement ASP.NET Web Forms, you can easily create one more project with ASP.NET in presentation layer and the Business and Data Layers can be used with the newly created ASP.NET web forms. Similary, say initially MS Access is used for Data access and later you want to switch to SQL Server, it can be achieved with out disturbing the Business and Presentation or GUI layers.

I think the following article may be useful
3-tier architecture in C#[^]


这里给出了有关创建具有3层体系结构的应用程序的分步教程。

使用ASP.NET 2.0进行体系结构 [ ^ ]

我认为这也可能有所帮助。
A step by step tutorial on creating an application with 3 tier Architecture is given here.
3-tier Architecture with ASP.NET 2.0[^]
I think this may also be helpful.


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

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