O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.
Eduardo Pires 
Arquiteto de Sistemas – MCT – MCSD – MCPD 
Globalcode – Open4education 
www.eduardopires.net.br 
@EduardoPi...
Globalcode – Open4education
Globalcode – Open4education 
Evolução do Membership 
até o ASP.NET Identity 
ASP.NET 2.0 
Membership 
Provider 
ASP.NET 1....
Globalcode – Open4education 
ASP.NET Identity (V1.0) 
• Lançado com o ASP.NET MVC 5 
• Parte do ONE ASP.NET 
• Customizaçã...
Globalcode – Open4education 
ASP.NET Identity – Storage 
• MySQL 
• CodeFluent Entities 
• Azure Table Storage 
• CouchDB ...
Globalcode – Open4education 
ASP.NET Identity 
• Indentidade != Autenticação 
• Assíncrono 
• Desacoplado 
• Claims > Role...
Globalcode – Open4education 
ASP.NET Identity
Globalcode – Open4education 
ASP.NET Identity (V2.1) 
• Two Factor Authentication 
• Account Lockout 
• Account Confirmati...
Globalcode – Open4education 
ASP.NET Identity (V2.1)
Globalcode – Open4education 
Talk is cheap! 
Show me the CODE…
Globalcode – Open4education 
ASP.NET Identity 
http://www.asp.net/identity/overview/getting-started 
http://www.asp.net/id...
Globalcode – Open4education 
Muito Obrigado!!! 
Dúvidas? 
Eduardo Pires 
www.eduardopires.net.br 
@EduardoPiresBR
Próximos SlideShares
Carregando em…5
×

ASP.NET Identity - O Novo componente de Membership do ASP.NET

O ASP.NET Identity é o novo componente de Membership da Microsoft que já está na versão 2.1, conheça todos seus recursos e saiba aproveitar das funcionalidades já existentes.

  • Entre para ver os comentários

ASP.NET Identity - O Novo componente de Membership do ASP.NET

  1. 1. Eduardo Pires Arquiteto de Sistemas – MCT – MCSD – MCPD Globalcode – Open4education www.eduardopires.net.br @EduardoPiresBR
  2. 2. Globalcode – Open4education
  3. 3. Globalcode – Open4education Evolução do Membership até o ASP.NET Identity ASP.NET 2.0 Membership Provider ASP.NET 1.1 N/A ASP.NET 4/4.5 Universal Providers ASP.NET 4 Simple Membership ASP.NET 4.5 One ASP.NET Identity Migração? Verifique como: www.asp.net/identity/overview/migrations
  4. 4. Globalcode – Open4education ASP.NET Identity (V1.0) • Lançado com o ASP.NET MVC 5 • Parte do ONE ASP.NET • Customização do perfil do usuário simplificado (escrito em Code First) • Controle de persistência de dados (EF ou outros) • Totalmente testável (Unity Tests) • Role Provider (separação de acessos por perfil) • Claims Based (lindo) • Autenticação com redes sociais (FB, Twitter, Google+ e Microsoft Accounts) • Integraçao com Active Directory (On-Premisses e Azure) • Integração com OWIN (OWIN Middleware based) • Entregue via NuGet (Nuget Everywhere) • Facilmente Extensível
  5. 5. Globalcode – Open4education ASP.NET Identity – Storage • MySQL • CodeFluent Entities • Azure Table Storage • CouchDB • Elastic Identity • MongoDB • Nhibernate • RavenDB • Redis http://www.asp.net/identity/overview/extensibility/overview-of-custom-storage-providers-for-aspnet-identity#other
  6. 6. Globalcode – Open4education ASP.NET Identity • Indentidade != Autenticação • Assíncrono • Desacoplado • Claims > Roles (no vNext isso melhorou) • Autenticar não apenas ASP.NET MVC • Open Source!
  7. 7. Globalcode – Open4education ASP.NET Identity
  8. 8. Globalcode – Open4education ASP.NET Identity (V2.1) • Two Factor Authentication • Account Lockout • Account Confirmation • Password Reset • Security Stamp (Sign out everywhere) • Primary Key extensible for Users and Roles • Support IQueryable on Users and Roles • Delete User account • IdentityFactory Middleware – CreatePerOwinContext (UserManager, DbContext) • Enhanced Password Validator • SignInManager (V2.1 – Facilidade para aplicar features [Two Factor, account lockout, etc]) • *** ASP.NET Identity 2 disponível no template ASP.NET MVC no VS2013 Update 2
  9. 9. Globalcode – Open4education ASP.NET Identity (V2.1)
  10. 10. Globalcode – Open4education Talk is cheap! Show me the CODE…
  11. 11. Globalcode – Open4education ASP.NET Identity http://www.asp.net/identity/overview/getting-started http://www.asp.net/identity/overview/getting-started/aspnet-identity-recommended-resources http://www.asp.net/mvc/tutorials/mvc-5/create-an-aspnet-mvc-5-app-with-facebook-and-google- oauth2-and-openid-sign-on http://blogs.msdn.com/b/webdev/archive/2014/03/20/test-announcing-rtm-of-asp-net-identity- 2-0-0.aspx http://blogs.msdn.com/b/webdev/archive/2014/08/05/announcing-rtm-of-asp-net-identity- 2-1-0.aspx http://www.asp.net/identity/overview/features-api http://www.asp.net/identity/overview/extensibility http://www.asp.net/identity/overview/migrations http://www.asp.net/identity/overview/additional-resources
  12. 12. Globalcode – Open4education Muito Obrigado!!! Dúvidas? Eduardo Pires www.eduardopires.net.br @EduardoPiresBR

×