- ASP.NET 3.5 Application Architecture and Design
- Vivek Thakur
- 147字
- 2021-05-28 17:47:09
Single Tier—Two Layer Model
In this type of solution, we will still have only one web project, but we will separate the UI code into one namespace, and the BL and DAL into another namespace.
ASP.NET Web Project that has two folders:
- Code: This folder will have class files containing business logic and data access code under a single namespace, say
MyApp.Code
- Web: This folder will have the user controls, ASPX pages, and other presentation-related code under the namespace, say
MyApp.Web
Here, as the business logic and data access code are logically separated from the presentation code, we have two layers. However, as all code files would still be compiling into assemblies under a single project's /bin
, we will have only one tier. We can use this model for projects that have little or no business logic but need to access a database for content.
推薦閱讀
- Enhancing Microsoft Content Management Server with ASP.NET 2.0
- 中文版3ds Max 2016/VRay效果圖制作實戰基礎教程
- 下一代空間計算:AR與VR創新理論與實踐
- 數字創意大師:Alias二維與三維概念設計工作流淺析
- SPSS統計分析
- OpenCart 1.4 Template Design Cookbook
- Learning the Yahoo! User Interface library
- Choosing an Open Source CMS: Beginner's Guide
- Photoshop CC 2018基礎教程(第3版)
- Photoshop CC入門與提高
- 剪映:從零開始精通短視頻剪輯(電腦版)
- Premiere Pro基礎與實戰教程
- Instant Apache Sqoop
- 零基礎學Procreate萌物繪
- Cinema 4D R20完全學習手冊