I am creating a new MVC application. Usually I always have a project structure that looks like this:
- DAL level (objects and repositories
- Service Level (business oriented service calls that coordinate between api / Frontend and DAL)
- Frontend, it can be a web API or an MVC application.
My problem is that I always get a dirty implementation for user management. I used membership providers and thus made this part not as enjoyable as it should be. Now I saw a new implementation of Identity, and I really liked it. I did some hot searches to distract him to the backend, but with no result.
I found this post on project structuring, but it didn’t give a real answer: ASP.NET MVC 5 decoupling Identification, allowing to implement a multi-level application
I was hoping that someone could provide me with some hints or a white paper on how to abstract all input and authentication into a backend slot.
c # asp.net-mvc asp.net-identity
Patrick
source share