This is the easiest three-layer recipe to make!
Tools: vs 2005
Name: Log in to the third level. The following are the specific configuration steps for the project:
First, create a new project selection solution - blank solution. Secondly, add a project selection class library named MOD, data model layer, then add a project selection class library named DAL data access layer, then add a project selection class library named BLL business logic. At the end of the layer, add a web application, then right-click DAL, select Dependency MOD, and add reference, select project, and select MOD.
Right-click BLL and select Dependency MOD DAL to add reference MOD DAL.
Finally the web references BLL
In this way, we have set up the environment and then when we start coding and testing, pay attention to modifying the database physical path of DAL/DBHelper.cs and compiling it.
Expand