- 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.
推薦閱讀
- 剪映短視頻剪輯零基礎一本通
- 穿越Photoshop CC
- 中文版Premiere Pro CC入門教程
- 3ds Max & Unreal Engine 4:VR三維建模技術實例教程(附VR模型)
- iPhone Applications Tune/Up
- ASP.NET 3.5 Application Architecture and Design
- SOA Patterns with BizTalk Server 2009
- NetSuite OneWorld Implementation 2011 R2
- 3D打印輕松實踐:從材料應用到三維建模
- 中文版Photoshop 2023從入門到精通
- Plone 3 Theming
- FLUENT 15.0流場分析實戰指南
- 從零開始:Photoshop CS6中文版基礎培訓教程
- C# 2008 and 2005 Threaded Programming: Beginner's Guide
- 短視頻拍攝、剪輯、調色與特效制作:剪映專業版+Premiere Pro 2024(全彩微課版)