Identity.Dapper
Identity package that uses Dapper instead EntityFramework for use with .NET Core
File Explorer
Download Latest Version (.zip)- AccountController.cs
- HomeController.cs
- ManageController.cs
- CustomRole.cs
- CustomUser.cs
- ExternalLoginConfirmationViewModel.cs
- ForgotPasswordViewModel.cs
- LoginViewModel.cs
- RegisterViewModel.cs
- ResetPasswordViewModel.cs
- SendCodeViewModel.cs
- VerifyCodeViewModel.cs
- AddPhoneNumberViewModel.cs
- AddRoleViewModel.cs
- ChangePasswordViewModel.cs
- ConfigureTwoFactorViewModel.cs
- FactorViewModel.cs
- IndexViewModel.cs
- ManageLoginsViewModel.cs
- RemoveLoginViewModel.cs
- SetPasswordViewModel.cs
- VerifyPhoneNumberViewModel.cs
- launchSettings.json
- IEmailSender.cs
- ISmsSender.cs
- MessageServices.cs
- ConfirmEmail.cshtml
- ExternalLoginConfirmation.cshtml
- ExternalLoginFailure.cshtml
- ForgotPassword.cshtml
- ForgotPasswordConfirmation.cshtml
- Lockout.cshtml
- Login.cshtml
- Register.cshtml
- ResetPassword.cshtml
- ResetPasswordConfirmation.cshtml
- SendCode.cshtml
- VerifyCode.cshtml
- About.cshtml
- Contact.cshtml
- Index.cshtml
- AddPhoneNumber.cshtml
- AddRole.cshtml
- ChangePassword.cshtml
- Index.cshtml
- ManageLogins.cshtml
- SetPassword.cshtml
- VerifyPhoneNumber.cshtml
- _Layout.cshtml
- _LoginPartial.cshtml
- _ValidationScriptsPartial.cshtml
- Error.cshtml
- _ViewImports.cshtml
- _ViewStart.cshtml
- site.css
- banner1.svg
- banner2.svg
- banner3.svg
- banner4.svg
- site.js
- bootstrap-theme.css
- bootstrap-theme.min.css.map
- bootstrap.css
- glyphicons-halflings-regular.eot
- glyphicons-halflings-regular.svg
- glyphicons-halflings-regular.ttf
- glyphicons-halflings-regular.woff
- glyphicons-halflings-regular.woff2
- bootstrap.js
- npm.js
- .bower.json
- LICENSE
- jquery.js
- .bower.json
- LICENSE.txt
- additional-methods.js
- jquery.validate.js
- .bower.json
- LICENSE.md
- .bower.json
- jquery.validate.unobtrusive.js
- jquery.validate.unobtrusive.min.js
- _references.js
- favicon.ico
- .bowerrc
- appsettings.json
- bower.json
- gulpfile.js
- Identity.Dapper.Samples.Web.csproj
- package.json
- Program.cs
- runtimeconfig.template.json
- Startup.cs
- web.config
- IConnectionProvider.cs
- EncryptionHelper.cs
- DapperIdentityRole.cs
- DapperIdentityRoleClaim.cs
- DapperIdentityUser.cs
- DapperIdentityUserClaim.cs
- DapperIdentityUserLogin.cs
- DapperIdentityUserRole.cs
- ColumnsBuilderExtensions.cs
- DbConnectionExtensions.cs
- ReflectionExtensions.cs
- ServiceCollectionExtensions.cs
- SqlQueryParametersExtensions.cs
- StringReplaceExtensions.cs
- IQueryFactory.cs
- QueryFactory.cs
- AESKeys.cs
- ConnectionProviderOptions.cs
- DapperIdentityOptions.cs
- SqlConfiguration.cs
- AssemblyInfo.cs
- IDeleteQuery.cs
- IInsertQuery.cs
- IQuery.cs
- IQueryList.cs
- ISelectQuery.cs
- IUpdateQuery.cs
- DeleteRoleClaimQuery.cs
- DeleteRoleQuery.cs
- GetClaimsByRoleQuery.cs
- InsertClaimQuery.cs
- InsertRoleQuery.cs
- SelectRoleByIdQuery.cs
- SelectRoleByNameQuery.cs
- UpdateRoleQuery.cs
- DeleteUserQuery.cs
- GetClaimsByUserIdQuery.cs
- GetRolesByUserIdQuery.cs
- GetUserLoginByLoginProviderAndProviderKeyQuery.cs
- GetUserLoginInfoByIdQuery.cs
- GetUsersByClaimQuery.cs
- GetUsersInRoleQuery.cs
- InsertUserClaimQuery.cs
- InsertUserLoginQuery.cs
- InsertUserQuery.cs
- InsertUserRoleQuery.cs
- IsInRoleQuery.cs
- RemoveClaimsQuery.cs
- RemoveLoginForUserQuery.cs
- RemoveUserFromRoleQuery.cs
- SelectUserByEmailQuery.cs
- SelectUserByIdQuery.cs
- SelectUserByUserNameQuery.cs
- UpdateClaimForUserQuery.cs
- UpdateUserQuery.cs
- QueryList.cs
- IRoleRepository.cs
- IUserRepository.cs
- RoleRepository.cs
- UserRepository.cs
- DapperRoleStore.cs
- DapperUserStore.cs
- IUnitOfWork.cs
- UnitOfWork.cs
- Identity.Dapper.csproj
- MySqlConnectionProvider.cs
- MySqlConfiguration.cs
- AssemblyInfo.cs
- MySqlDateTimeOffsetHandler.cs
- Identity.Dapper.MySQL.csproj
- PostgreSqlConnectionProvider.cs
- PostgreSqlConfiguration.cs
- AssemblyInfo.cs
- Identity.Dapper.PostgreSQL.csproj
- SqlServerConnectionProvider.cs
- SqlServerConfiguration.cs
- AssemblyInfo.cs
- Identity.Dapper.SqlServer.csproj
- MySqlTest.cs
- PostgreSqlTest.cs
- SqlServerTest.cs
- EncryptDecryptTest.cs
- CustomDapperIdentityRole.cs
- CustomDapperIdentityUser.cs
- AssemblyInfo.cs
- MySqlRoleQueriesTests.cs
- MySqlUserQueriesTests.cs
- PostgreSqlRoleQueriesTests.cs
- PostgreSqlUserQueriesTests.cs
- SqlServerRoleQueriesTests.cs
- SqlServerUserQueriesTests.cs
- InsertQueryValuesFragmentTests.cs
- UpdateQuerySetFragmentTests.cs
- ReplaceDeleteQueryParametersTests.cs
- ReplaceInsertQueryParametersTests.cs
- ReplaceQueryParametersTests.cs
- ReplaceUpdateQueryParametersTests.cs
- Identity.Dapper.Tests.csproj
- docker-compose.yml
- Dockerfile
- IdentityTablesMySql.sql
- MySqlDatabaseFixture.cs
- Readme.txt
- restart.sh
- RoleManagerTests.cs
- TestStartupMySql.cs
- UserManagerTests.cs
- Dockerfile
- IdentityTablesPostgreSql.sql
- PostgreDatabaseFixture.cs
- Readme.txt
- restart.sh
- RoleManagerTests.cs
- TestStartupPostgreSql.cs
- UserManagerTests.cs
- Dockerfile
- IdentityTablesSqlServer.sql
- Readme.txt
- restart.sh
- RoleManagerTests.cs
- SqlServerDatabaseFixture.cs
- TestStartupSqlServer.cs
- UserManagerTests.cs
- connectionstringswithdefaultconnectionconfig.json
- connectionstringswithoutdefaultconnectionconfig.json
- dapperidentityconfig.json
- emptyconfig.json
- FakeAuthMessageSender.cs
- Identity.Dapper.Tests.Integration.csproj
- integrationtest.config.mysql.json
- integrationtest.config.psql.json
- integrationtest.config.sqlserver.json
- PrioritizedFixtureAttribute.cs
- ServiceCollectionTests.cs
- .gitattributes
- .gitignore
- .travis.yml
- Identity.Dapper.sln
- IdentityTablesMySql.sql
- IdentityTablesPostgreSql.sql
- IdentityTablesSqlServer.sql
- LICENSE
- README.md
- TODO.txt
# Installation Guide
1. Get the code
git clone https://github.com/grandchamp/Identity.Dapper
Downloads the entire project code from GitHub to your computer.
cd Identity.Dapper
Moves into the project folder you just downloaded.
2. .NET
Medium RecommendedPrerequisites
dotnet user-secrets set DapperIdentity:ConnectionString "Connection string of your database"
Type this command into your terminal and run it.
dotnet user-secrets set DapperIdentity:Password "123"
Type this command into your terminal and run it.
dotnet user-secrets set DapperIdentity:Username "user"
Type this command into your terminal and run it.
dotnet user-secrets set DapperIdentityCryptography:Key "Base64 32 bytes key"
Type this command into your terminal and run it.
dotnet user-secrets set DapperIdentityCryptography:IV "Base64 16 bytes key"
Type this command into your terminal and run it.
After dotnet run, check the message or address shown in the terminal.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
