Skip to content

Conversation

@rammicz
Copy link

@rammicz rammicz commented Dec 13, 2024

Mongo driver 2.4.4
Microsoft.AspNet.Identity.Core 2.2.1

Mongo driver 2.4.4
Microsoft.AspNet.Identity.Core 2.2.1
@rammicz
Copy link
Author

rammicz commented Dec 13, 2024

just contributing my updates, even they are already old.

rammicz and others added 2 commits January 24, 2026 11:14
- Convert to SDK-style project format targeting .NET 8.0
- Replace Microsoft.AspNet.Identity.Core with Microsoft.Extensions.Identity.Core 8.0
- Update MongoDB.Driver to 2.28.0
- Rewrite UserStore for ASP.NET Core Identity interfaces with CancellationToken support
- Add new interfaces: IUserPhoneNumberStore, IUserAuthenticationTokenStore, IQueryableUserStore
- Update IdentityUser with NormalizedUserName, NormalizedEmail, ConcurrencyStamp, LockoutEnd
- Add IdentityUserLogin and IdentityUserToken classes
- Remove obsolete files: packages.config, nuspec, AssemblyInfo.cs, Utils.cs
- Package renamed to Rammi.MongoDb.AspNet.Identity version 2.0.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add RoleStore with IRoleStore and IQueryableRoleStore implementation
- Add IdentityRole entity with NormalizedName support
- Add MigrationHelper for automatic legacy database migration:
  - Migrates UserName/Email to NormalizedUserName/NormalizedEmail
  - Converts LockoutEndDateUtc to LockoutEnd (DateTimeOffset)
  - Adds missing fields (ConcurrencyStamp, PhoneNumberConfirmed, Tokens)
  - Creates indexes (unique on NormalizedUserName/NormalizedEmail)
- Add 57 unit tests with Testcontainers for MongoDB
- Add SampleWebApp demonstrating all Identity features:
  - User registration, login, password reset
  - Role and claims management
  - Modern UI with sidebar navigation
- Add docker-compose.yml for local MongoDB development

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant