I am working on splitting an existing working application that I have in order to better understand n-level structures. This application uses custom membership providers and forms authentication roles.
All data access and business logic are part of the same ASP.Net solution.
I built a Business Logic Layer (BLL) and a Data Access Layer (DAL), and I am extracting business logic. I am afraid where MembershipProvider classes should exist.
Do membership provider classes need to live at the presentation level due to the tight connection of the built-in user interface controls (logon, create user wizard, etc.) that use these classes?
Can they exist in BLL? If so, how can I refer to them from the presentation? Is it just a matter of changing web.config to point to BLL.membershipprovider after the BLL link to the user interface?
Just trying to find a sanity check before going the wrong way. Unfortunately, I could not find any examples of this through Google. Any hints / pointers appreciated.
source share