Posted on: 3/20/2013 9:41:07 PM | Views : 696

I'm trying to to figure out the best approach to implement a completely custom membership system in MVC. Before I go any further I should state that I do not want to extend or derive from the existing membership provider models. Their design simply do not fit my needs.
Some quick facts about the architecture I'm working with:
The main entry point to the application is an MVC 4 web app that acts as a web portal. Several seperate Web APIs sit in a service layer for the portal app. One of the services willl be dedicated to handling the heavy lifting for authentication. My first thought was to create a custom controller base class that all controllers requiring authentication would inherit from, which would handle authentication logic (calls to the service, etc). After much consideration and reading, I decided this would be an inappropriate approach as it would add coupling that could be a problem in the future.
Aft ...

Go to the complete details ...