문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top