I usually create dataset as DAL, and BLL INSIDE the original project.
After I learned Entity Framework, I know that business logic layer are commonly created in separated project(class library).
However, ASP.NET site has no corresponding tutorial.
For this reason, I'm quite confused when I create BLL especially during referencing.
- In order to complete the BLL classes, am I supposed to directly add reference like this?
and then access to the entity with USING statement:
However, the presentation layer in main project which accesses BLL might need to reference back to BLL project. I saw some of the samples putting the entire BLL project's DLL file in the main project.
What's the correct way to reference BLL and Main project, or just reference as above?
Are there any good tutorial I can study from?