Question

Maybe this is a stupid question, but I dont know how to use Membership in sharp architecture template. I have seen how it is done in asp.net MVC (with AccountController, AccountView, and AccountModel / all of them autogenerated and binded to membeship provider).

I hope that my question is clear..

Thank you in advance.

Was it helpful?

Solution

You would need to implement your own membership provider and register in web.config, and then then have the required repository injected into your provider, or simply use the service locator to get the IRepository.

Mauricio Scheffer has written a post about injected membership provider using windsor which should help you get started.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top