-
Notifications
You must be signed in to change notification settings - Fork 131
Any sample of core 2.0 implementation? #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have the same problem when create a default aspnet core 2 project on VS 2017. By default the project uses Microsoft.AspNetCore.All and the Microsoft.AspNetCore.Identity conflict with Microsoft.AspNetCore.Identity.MongoDB Error Message: Error CS7069 Reference to type 'IdentityBuilder' claims it is defined in 'Microsoft.AspNetCore.Identity', but it could not be found |
I migrate the project to aspnetcore 2, using framework 4.6.1 and netstandard2.0 |
@alextochetto Have how do you resolve the stated Issue, I have been battling with it for quite a while now, but have not been able to resolve it |
Hi @huzaynbolt |
I tried it but am getting this error Unable to resolve service for type 'Microsoft.AspNetCore.Identity.UserManager`1[Microsoft.AspNetCore.Identity.IdentityUser] |
@huzaynbolt you need to download this package https://github.com/alextochetto/aspnetcore-identity-mongodb |
@alextochetto could you or @g0t4 host the updated package for dotnet core 2.0 on Nuget? It'll be really helpful. |
Hi @mykeels sorry for my late, I was travelling! |
I have the same issue |
@GODBS |
@alextochetto Tried on mac, but no success. I read ur blog can you elaborate more what needs to be done? I have same issue. |
Hi @rhlrajput I'll try on mac |
@rhlrajput I update the solution, and now it's working on mac too. |
Hi guys, after struggling to make it work core 2, i ended to write from scratch a new version for that framework. https://github.com/matteofabbri/Microsoft.AspNetCore.Identity.Mongo |
Hi @matteofabbri I already did it, look at: |
@alextochetto i checked it out and it looks great, it includes a lot of stuff that i missed in my implementation but is really buggy, it drove me crazy to use it in my website. Example:
I'm gonna try to find the time to investigate and fix those problem |
@alextochetto The solution worked like magic. Thanks |
@matteofabbri thank you aswell. Your implementation worked out in the end for me. |
@alextochetto The solution worked for me. Thanks a lot. |
Can see the sample linked is more than 1 year old, do you have an updated version based on the new code?
The text was updated successfully, but these errors were encountered: