文件名称:Identity.Dapper:使用Dapper而不是EntityFramework与.NET Core一起使用的身份包
文件大小:466KB
文件格式:ZIP
更新时间:2024-02-22 03:45:29
identity dotnet aspnetcore aspnet dotnetcore
身份识别器 查找适合您的DBMS的NuGet软件包(例如:Identity.Dapper.SqlServer)。 要配置DBMS连接,可以将DapperIdentity和DapperIdentityCryptography部分添加到配置文件中,如下所示: " DapperIdentity " : { " ConnectionString " : " Connection string of your database " , " Username " : " user " , " Password " : " 123 " }, " DapperIdentityCryptography " : { " Key " : " Base64 32 bytes key " , " IV " : " Base64 16 bytes key " } 例: 密钥:“ E546C8DF278CD5931069B522E695D4F2”(32字节) Base64编码的密钥:“ RTU0NkM4REYyNzhDRDU5MzEwNjlCNTIyRTY5NUQ0R