I need to start a new mvc project and as always I have issues about asp identity, never know where to put it!
I plan to organize solution like this:
- ProjectWebUI - mvc app with asp identity framework (made from internet template with authentication)
- ProjectDataAccessLayer - with repository classes that use
dapper
as database access technology - ProjectWebAPI - web service
But I have a little confusion and before start coding I need advice from someone more experienced (as until now all my projects were just one project with data access in it):
- Is it good idea to have asp identity inside WebUI project that use standard Entity Framework for data access and use dapper for other data access in separate assembly?
- If asp identity is inside WebUI project will I have some issues to receive authenticated access to WebAPI project?