mourad2032
New Member
I'm built a website using Asp.net MVC 4.0 with LocalDB. I want to create a separated class lib project for service layer which accesses database. And I need to integrate the default Account/authentication tables with my own tables. Question: [*]Should I put the Sql server LocalDB files under the service project folder?[*]If the answer is not for (1), how can the service project access the LocalDB files under the MVC project?[*]Do I need to modify the system generated code for Account login if I put the LocalDB file under service project. How about let the authentication code access the database via the service layer instead of the default DBContext?