ASP.NET Identity系列教程
- 13 Getting Started with Identity13 Identity入门
- 13.1 Preparing the Example Project
13.1 准备示例项目 - 13.2 Setting Up ASP.NET Identity13.2 建立ASP.NET Identity
- 13.2.1 Creating the ASP.NET Identity Database
13.2.1 创建ASP.NET Identity数据库 - 13.2.2 Adding the Identity Packages
13.2.2 添加Identity包 - 13.2.3 Updating the Web.config File
13.2.3 更新Web.config文件 - 13.2.4 Creating the Entity Framework Classes
13.2.4 创建Entity Framework类
- 13.3 Using ASP.NET Identity13.3 使用ASP.NET Identity
- 13.3.1 Enumerating User Accounts
13.3.1 枚举用户账号 - 13.3.2 Creating Users
13.3.2 创建用户 - 13.3.3 Validating Passwords
13.3.3 验证口令 - 13.3.4 Validating User Details
13.3.4 验证用户细节
- 13.4 Completing the Administration Features13.4 完成管理特性
- 13.4.1 Implementing the Delete Feature
13.4.1 实现Delete特性 - 13.4.2 Implementing the Edit Feature
13.4.2 实现Edit特性
- 13.5 Summary
13.5 小结
- 14 Applying ASP.NET Identity14 运用ASP.NET Identity
- 14.1 Preparing the Example Project
14.1 准备示例项目 - 14.2 Authenticating Users14.2 认证用户
- 14.2.1 Understanding the Authentication/Authorization Process
14.2.1 理解认证/授权过程 - 14.2.2 Preparing to Implement Authentication
14.2.2 实现认证的准备 - 14.2.3 Adding User Authentication
14.2.3 添加用户认证 - 14.2.4 Testing Authentication
14.2.4 测试认证
- 14.3 Authorizing Users with Roles14.3 以角色授权用户
- 14.3.1 Adding Support for Roles
14.3.1 添加角色支持 - 14.3.2 Creating and Deleting Roles
14.3.2 创建和删除角色 - 14.3.3 Creating the Views
14.3.3 创建视图 - 14.3.4 Testing Creating and Deleting Roles
14.3.4 测试创建和删除角色 - 14.3.5 Managing Role Memberships
14.3.5 管理角色成员 - 14.3.6 Testing Editing Role Membership
14.3.6 测试编辑角色成员 - 14.3.7 Using Roles for Authorization
14.3.7 使用角色授权
- 14.4 Seeding the Database
14.4 种植数据库 - 14.5 Summary
14.5 小结
- 15 Advanced ASP.NET Identity15 高级ASP.NET Identity
- 15.1 Preparing the Example Project
15.1 准备示例项目 - 15.2 Adding Custom User Properties15.2 添加自定义用户属性
- 15.2.1 Defining Custom Properties
15.2.1 定义自定义属性 - 15.2.2 Preparing for Database Migration
15.2.2 准备数据库迁移 - 15.2.3 Performing the Migration
15.2.3 执行迁移 - 15.2.4 Testing the Migration
15.2.4 测试迁移 - 15.2.5 Defining an Additional Property
15.2.5 定义附加属性
- 15.3 Working with Claims15.3 使用声明(Claims)
- 15.3.1 Understanding Claims
15.3.1 理解声明(Claims) - 15.3.2 Creating and Using Claims
15.3.2 创建和使用声明 - 15.3.3 Authorizing Access Using Claims
15.3.3 使用声明授权访问
- 15.4 Using Third-Party Authentication15.4 使用第三方认证
- 15.4.1 Enabling Google Authentication
15.4.1 启用Google认证 - 15.4.2 Testing Google Authentication
15.4.2 测试Google认证
- 15.5 Summary
15.5 小结
树立目标,保持活力,gogogo!
















