我应该做什么类型的项目可以帮助我掌握有关应用程序不同层的这些主题?

问题描述:

大家好,



我最近一直在学习C#并涵盖所有基础知识。在我学习之旅的这个阶段,我正在努力应对架构的概念。各个层以及在哪一层发生的事情。

Hi All,

I have been studying C# recently and covered all the basics. At this stage of my learning journey I am struggling with the concepts of application architecture. The various layers and what happens at which layer.

对于ASP.net您可以创建以下图层



1)DAL层:用于数据库。所有与DB相关的操作只应在此处执行,否则应该访问DB。

2)BusinessLayer:您可以在哪里定义业务逻辑。

3)表示层:用户的UI显示。



您可以通过以下链接获取.net应用程序中图层的基本概念

C#.NET中的三层架构 [ ^ ]
For the ASP.net You can create following layers

1) DAL Layer: Which is used for the database. All the DB related actions should be performed here only, no where else DB should accessed.
2) BusinessLayer : where you can define the business logic.
3) Presentation Layer: UI display for the user.

You can go through following link for getting basic idea of layers in .net application
Three Layer Architecture in C# .NET[^]