Skip to content

Commit 9d98441

Browse files
authored
Merge pull request #36714 from dotnet/main
Merge to Live
2 parents f855028 + 1b6c703 commit 9d98441

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

aspnetcore/security/authentication/identity-custom-storage-providers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: ardalis
44
description: Learn how to configure custom storage providers for ASP.NET Core Identity.
55
ms.author: wpickett
66
ms.custom: mvc
7-
ms.date: 10/29/2024
7+
ms.date: 01/29/2026
88
uid: security/authentication/identity-custom-storage-providers
99
---
1010
<!-- ms.sfi.ropc: t -->
@@ -201,9 +201,9 @@ You can create a `RoleStore` class that provides the methods for all data operat
201201

202202
Once you have implemented a storage provider, you configure your app to use it. If your app used the default provider, replace it with your custom provider.
203203

204-
1. Remove the `Microsoft.AspNetCore.EntityFramework.Identity` NuGet package.
204+
1. Remove the `Microsoft.AspNetCore.Identity.EntityFrameworkCore` NuGet package.
205205
1. If the storage provider resides in a separate project or package, add a reference to it.
206-
1. Replace all references to `Microsoft.AspNetCore.EntityFramework.Identity` with a using statement for the namespace of your storage provider.
206+
1. Replace all references to `Microsoft.AspNetCore.Identity.EntityFrameworkCore` with a using statement for the namespace of your storage provider.
207207
1. Change the `AddIdentity` method to use the custom types. You can create your own extension methods for this purpose. See [IdentityServiceCollectionExtensions](https://github.com/aspnet/Identity/blob/rel/1.1.0/src/Microsoft.AspNetCore.Identity/IdentityServiceCollectionExtensions.cs) for an example.
208208
1. If you are using Roles, update the `RoleManager` to use your `RoleStore` class.
209209
1. Update the connection string and credentials to your app's configuration.

0 commit comments

Comments
 (0)