- 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.
推薦閱讀
- AutoCAD 2010中文版基礎教程(第2版)
- DotNetNuke 5.4 Cookbook
- 性能測試從零開始
- 使用AADL的模型基工程:SAE體系結構分析和設計語言入門
- 中文版Illustrator CC實用教程
- 計算機圖形圖像處理Photoshop CS6項目教程
- Excel公式、函數與圖表案例實戰從入門到精通(視頻自學版)
- Visio圖形設計從新手到高手(兼容版)
- 邊做邊學:Illustrator CS6平面設計案例教程(微課版)
- AutoCAD 2022中文版從入門到精通(標準版)
- 數碼攝影后期密碼Photoshop CC調色秘籍(第2版)
- AI繪畫精講:Stable Diffusion從入門到精通
- 夢幻森林Procreate童話風插畫繪制專業技法
- Learning Mambo: A Step/by/Step Tutorial to Building Your Website
- Photoshop移動UI設計