Closed bradoyler closed 11 years ago
Hi Brad:
I'll try to put one together. 99% of the code would look the same as the existing EF sample, just instead of passing a DbContext derived class into things like the UserStore, you'd pass an IDocumentSession (and of course the project would reference the FlexProviders.Raven instead of .EF).
--s
On Sun, Dec 2, 2012 at 12:08 PM, brad oyler notifications@github.comwrote:
I'm a bit unclear how I should setup a project to use the RavenDb provider. Would it be possible to add a LogMeIn.RavenDb project to the solution?
— Reply to this email directly or view it on GitHubhttps://github.com/OdeToCode/Memflex/issues/19.
No worries. I got it working after fiddling with structure map. Cheers.
-- Brad Oyler
On Dec 3, 2012, at 9:12 AM, "K. Scott Allen" notifications@github.com wrote:
Hi Brad:
I'll try to put one together. 99% of the code would look the same as the existing EF sample, just instead of passing a DbContext derived class into things like the UserStore, you'd pass an IDocumentSession (and of course the project would reference the FlexProviders.Raven instead of .EF).
--s
On Sun, Dec 2, 2012 at 12:08 PM, brad oyler notifications@github.comwrote:
I'm a bit unclear how I should setup a project to use the RavenDb provider. Would it be possible to add a LogMeIn.RavenDb project to the solution?
— Reply to this email directly or view it on GitHub< https://github.com/OdeToCode/Memflex/issues/19>.
— Reply to this email directly or view it on GitHubhttps://github.com/OdeToCode/Memflex/issues/19#issuecomment-10953997.
I am able to login & register a user, but I get a "null" error within \FlexProviders.Raven\FlexMembershipUserStore.cs at line 91 whenever I hit the /Account/Manage action (child action: RemoveExternalLogins). This is happening because the the OAuthAccounts array is null after the user document is created. Not sure what the preferred way to resolve this might be.