entity framework - Proper Project Placement of ASP.NET Identity -


i struggling separate asp.net identity main mvc project. created class library , added identity nuget package, created new class, it's dbcontext has me confused. understanding have create dbcontext inherits identitydbcontext<applicationuser>, doing that, not require circular reference? below basic architecture , if explain this, appreciate it:

myapplication.security

applicationuser : identityuser {  } 

myapplication.dal (references myapplication.security applicationuser)

dbcontext : identitydbcontext<applicationuser> 

this project has reference security project able have access applicationuser in declaration of dbcontext. in , of breaks separation of concerns model since data layer dependent upon security project. layer(s) have wrong?

myapplication.ui.web.mvc (ui)
project has reference security project data project since requires definition of applicationuser (and corresponding profile) able authentication , authorize user specific controller/area/etc. misunderstanding?


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -