I am currently creating an n-tier web application, mainly for working with new technologies and patterns - repositories, uow, services, ioc, ef4 and mvc3.
After a lot of hair pulling, I now have ef4 saving my objects through my service level using repositories.
Now I'm starting to define the methods that I need at the service level, and now I think it's time to start implementing authentication. As a rule, I refused my own authentication code, but a friend told me to ask for a membership provider.
Now, obviously, I'm going to use this in the mvc3 web application, but I wonder if I can use it in my service too? Can someone point me to any articles or blog posts?
NB. I apologize if I state the obvious, but I just wanted to be clear that when I talk about my level of service, I don't mean WCF; these are my own classes that respect the service layer template - http://martinfowler.com/eaaCatalog/serviceLayer.html . Having said that, I might want to expose this level of service through WCF services later.
I’ve been on the Internet for a couple of hours now and haven’t come up with anything!
Any help really appreciated.
source
share