Open RajivCodeLab opened 6 years ago
Hmm... I am working on trying to get everything moved around, and will look into this within my fork of the repository. Once everything is stabilized, I'll be pushing everything into this repo and killing off my working repo. The cheese may have moved in 2.1.0+ and we will need to account for this.
Given the delay with this, and that asp.net core 2.2 is now out, i'm going to base decisions on asp.net core 2.2 instead of 2.1
I converted to asp.net core 2.2 and am not experiencing this. This may be due to the fact that with recent PRs, we have the IUserTwoFactorStore<> implemented now. Will conclude changes so everything is setup for asp.net core 2.2 and push up for review @devrajeev. HTH
Code is pushed. Please review the check-in and see if that works. We need to prepare a new nupkg for testing within your solution.
Code is pushed. Please review the check-in and see if that works. We need to prepare a new nupkg for testing within your solution.
Hi! Its not working:(
@AdiletB can you please be more specific? I believe I encoded/tested this already, and if there is something specific, I'd like to patch it.
Please keep in mind, we need to push a new nuget package to use the updates.
@dealproc Hi Guys, I am going to start a new ASP.NET Core 2.2 project. And I am considering to use your library or AspNetCore.Identity.Mongo. So I would like to know when are you going to publish new nuget package that supports Identity 2
@sashafencyk -
As I recall, this should be supporting Microsoft.AspNetCore.Identity v2.2.0... Can you send me a link on Identity 2.2 if this is a different project? If it's something that is that much more valuable, a PR against this project may be a better option rather than establishing a new project/nuget package.
I dropped a message to @tugberkugurlu to find out how to push the latest updates into NuGet, but haven't heard back. He and I had one 30 minute discussion on the project overall, but we didn't get into the last parts of publishing it to nuget, which is new to me at this point. I would like to try the library myself (and others do the same) before it can be called a final RTW version, then begin the work on other items.
I will have a look at giving you a push access @dealproc, sorry for the delay 😞
@tugberkugurlu , does its supports .net core 2.2 and 3.0
Hi, I have the same kind of error (using netcore 2.2 although no longer supported by Microsoft because I have no choice on that matter, infortunately).
Using this line of code :
return MongoUserStore<MongoIdentityUser>.CreateAsync(db).GetAwaiter().GetResult();
I get this error:
class AspNetCore.Identity.MongoDB.MongoIdentityUser
Reference to type 'IdentityResult' claims it is defined in 'Microsoft.AspNetCore.Identity', but it could not be found
But there is more : for some reason it seems that the non-static CreateAsync
method (which is for users) is to be called :
public Task<IdentityResult> CreateAsync(TUser user, CancellationToken cancellationToken);
The static CreateAsync
that accepts a IMongoDatabase
(my db
variable) does not seem to exist.
I am using this: <PackageReference Include="AspNetCore.Identity.MongoDB" Version="1.0.0-rc3" />
Hi, Throwing below error at Startup.cs ~/Identity.Api/Startup.cs(17,17): Error CS7069: Reference to type 'IUserTwoFactorStore<>' claims it is defined in 'Microsoft.AspNetCore.Identity', but it could not be found (CS7069)