Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jon Whitter 2 posts 32 karma points
    Nov 20, 2014 @ 09:58
    Jon Whitter
    0

    Using MembersMembershipProvider outside of the Umbraco Application

    Is using the new MembersMembershipProvider possible outside of the Umbraco Application?

    Curently attempting to setup a third party application that uses Membership, Role and Profile providers.  But switching over to Umbraco's providers causes problems.  I get an object reference within the constructors on the providers.  When looking at the source code of the providers it looks like they are depended on the Umbraco ApplicationContext to gain access to the MembersService etc... which when not running in side the Umbraco installation this context does not exist.  Is there a way to inject/initalise the context inside another website?

    Cheers

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Nov 20, 2014 @ 12:09
    Jeroen Breuer
    101

    Hello,

    There is a console app that shows what's possible to do outside of Umbraco: https://github.com/sitereactor/umbraco-console-example

    Maybe that helps.

    Jeroen

  • Jon Whitter 2 posts 32 karma points
    Nov 25, 2014 @ 16:51
    Jon Whitter
    0

    Brilliant!  If you were local you'd of earned a pint. :D

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Nov 25, 2014 @ 17:17
    Jeroen Breuer
    0

    Glad I could help. Please mark a post as the answer if it helped you.

    Jeroen

Please Sign in or register to post replies

Write your reply to:

Draft