Hi,
Thanks for doing this project - as a RavenDB lover this is a huge step in the right direction when trying to handle everything without having to have a secondary database. :)
However, I have a problem. I have tried using the project in an MVC5 app (created in Visual Studio 2012 from the blank template, using elements from this article http://httpjunkie.com/2013/340/develop-mvc-5-with-asp-net-identity-in-visual-studio-2012/ to get somewhere). For development I run RavenDB on my local machine, port 8080. I have no problem accessing data or writing data.
When I try to use the /account/register method, it seems that RavenDB.AspNet.Identity checks for the presence of the username, but never actually creates it. I see the following in my RavenDB console log:
Request # 8: GET - 0 ms - TestDB - 404 - /docs/ApplicationUsers/RuneJ
So it checks to see if there is a user by the name I am trying to register, but it never actually creates the document - this is the only request passed to RavenDB for the duration of the register method.
I don't know for sure that the problem is in your code, it could be the UserManager that does it, but I get no errors or anything, so I wouldn't know where to start.
I'll be happy to provide anything from my project or try any suggestions.
If it matters, if I try to login, I get another request on the RavenDB server:
Request # 12: GET - 0 ms - TestDB - 404 - /docs/ApplicationUsers/RuneJ
Any hints?
Btw, here is my AccountController constructor, just in case you want to see it.
public AccountController(IDocumentSession session)
{
_session = session;
UserManager = new UserManager<ApplicationUser>(
new UserStore<ApplicationUser>(() => _session));
}