Frage

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.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top