what's new in asp.net identity - trinug sept 2014
DESCRIPTION
An overview of ASP.NET Identity. Presented at the Triangle .NET User Group.TRANSCRIPT
![Page 1: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/1.jpg)
ASP.NETIDENTITYTRINUG: SEPTEMBER 10, 2014
@SMITHDEREKM
![Page 2: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/2.jpg)
![Page 3: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/3.jpg)
atoms bits
![Page 4: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/4.jpg)
![Page 5: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/5.jpg)
![Page 6: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/6.jpg)
![Page 7: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/7.jpg)
![Page 8: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/8.jpg)
![Page 9: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/9.jpg)
![Page 10: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/10.jpg)
AUTHENTICATION
AUTHORIZATION
![Page 11: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/11.jpg)
https://www.flickr.com/photos/124857260@N08/
![Page 12: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/12.jpg)
HISTORY
Roll your Own ASP.NET Membership
![Page 13: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/13.jpg)
THIS HAPPENED…
![Page 14: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/14.jpg)
THEN THIS HAPPENED…
![Page 15: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/15.jpg)
HISTORY
Roll your Own ASP.NET Membership
ASP.NET Identity
![Page 16: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/16.jpg)
DESIGN GOALS
One ASP.NET
Improved Persistence
Improved User Profiles
OWIN integration
Social Login Azure Active Directory
![Page 17: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/17.jpg)
RELEASES
1.0 October 2013 VS 2013
2.0 March 2014
NuGet Only Adds 2FA
2.1 Aug 2014 VS 2013 Update 3
Adds SignInManager
![Page 18: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/18.jpg)
DEMOFILE; NEW PROJECT;
![Page 19: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/19.jpg)
SOCIAL LOGIN1. Enable Provider
2. Set up app on Social Network
• https://apps.twitter.com• https://developer.facebook.com
3. Set keys
4. Build and run.
![Page 20: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/20.jpg)
DEMOSOCIAL LOGIN
![Page 21: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/21.jpg)
PROFILE DATA1. Enable-Migrations
2. Add properties to ApplicationUser class
3. Update Database schema
4. Capture from User Interface
5. Persist
![Page 22: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/22.jpg)
DEMOUSER PROFILE
![Page 23: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/23.jpg)
CONVERTING TO ASP.NET IDENTITY• Update Data Schema
• Script copying of user records in to new schema
• Update ApplicationUser object
• Add PasswordHasher to handle existing passwords. Register with UserManager
• Write migration code to retrieve profile data and save to user.
• Test and verify
• http://www.asp.net/identity/overview/migrations
![Page 24: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/24.jpg)
RESOURCES• http://www.asp.net/identity/overview/getting-started
• http://www.asp.net/identity/overview/migrations
• https://aspnetidentity.codeplex.com/
• http://www.hanselman.com/blog/AddingTwoFactorAuthenticationToAnASPNETApplication.aspx
![Page 25: What's New in ASP.NET Identity - TRINUG Sept 2014](https://reader035.vdocument.in/reader035/viewer/2022062419/557562fcd8b42a2e248b461b/html5/thumbnails/25.jpg)
@smithderekm
www.codeovereasy.com
DEREK SMITH
DSMITH-14 for free trial