SlideShare a Scribd company logo
1 of 16
#allaspnetidentity
Who I am 
• Microsoft MVP ASP.NET since 2014 
• Founder of SmartCore Tech 
• DotNetToscana Staff Member & Speaker 
• Speaker for various events 
• Trainer 
• SharePoint addicted from 2007 
• Enthusiast ASP.NET Developer 
• NopCommerce Contributor 
• MCPD Web applications, MCTS BING Applications, MCTS Silverlight, MCTS HTML5 & CSS3 
• Italian blog: www.emanuelebartolesi.com 
• English blog: www.geekswithblogs.net/emanueleb/ 
• Twitter enthusiast: @kasuken 
• Email: emanueleb@outlook.com
Agenda 
 Introduzione 
 Uno sguardo al passato 
 Migrare da Membership 
 Principali caratteristiche di ASP.NET Identity 
 Rilasci 
 Demo  
 Provider MySQL 
 Strumenti 
 Riferimenti
Uno sguardo al passato 
ASP.NET 1.1 
• N/A 
ASP.NET 2.0 
• Membership Provider 
ASP.NET 4.0 
• Simple Membership 
ASP.NET 4.5 
• Universal Providers 
One ASP.NET 
• ASP.NET Identity
Migrare dal passato 
http://www.asp.net/identity/overview/migrations 
• Migrare da SQL Membership a ASP.NET Identity 
• Migrare Universal Provider Data for Membership a 
ASP.NET Identity
Principali caratteristiche 
• Può essere utilizzato con tutti i framework ASP.NET, quindi: MVC, Web Forms, Web API e SignalR 
• Può essere anche utilizzato in applicazioni non web, come app per windows phone o windows 8 
• E’ facile aggiungere proprietà alle informazioni di profilo utente 
• Utilizza Entity Framework Code First e quindi è molto semplice aggiungere proprietà ed 
aggiornare il database 
• E’ possibile modificare lo schema del database 
• E’ molto semplice implementare un nuovo storage dei dati come SharePoint, database NoSQL o 
altro 
• E’ facile gestire i ruoli all’interno dell’applicazione e in fase di creazione dei ruoli stessi 
• E’ basato sui Claims, quindi è molto facile arricchire e utilizzare informazioni legate all’utente in 
qualsiasi momento 
• Essendo basato su OWIN, non è necessaria la dipendenza da System.Web 
• Rilasciato con NuGet
Rilasci 
• ASP.NET Identity 1.0 – Visual Studio 2013 
• ASP.NET Identity 2.0 – Visual Studio 2013 Update 2 
• ASP.NET Identity 2.1 – Visual Studio 2013 Update 3
DEMO
Provider MySQL
ThinkTecture IdentityManager
Riferimenti 
• http://www.asp.net/identity/ 
• http://www.asp.net/identity/overview/getting-started/aspnet-identity- 
recommended-resources 
• Migrating to ASP.NET Identity 
• http://www.asp.net/identity/overview/features-api/two-factor-authentication- 
using-sms-and-email-with-aspnet-identity 
• 2FA using Google Authenticator app 
• Web Admin using Thinktecture IdentityManager 
• For samples for Identity in general 
https://aspnet.codeplex.com/SourceControl/latest#Samples/Ide 
ntity/ 
• Raven Db ASP.NET Identity provider by Tugberk 
• ASP.NET Identity providers
Prossimi eventi 
 Corso Bootstrap giovedì 18/09 a Milano 
 https://www.eventbrite.it/e/biglietti-corso-bootstrap-3- 
12580270929 
 Evento DotNetToscana 
 ABC… Azure Best Contents – giovedì 9 ottobre Firenze - 
http://www.dotnettoscana.org/abc-azure-best-contents.aspx
#allaspnetidentity
Tutto su ASP.NET Identity

More Related Content

What's hot

Slide typescript - xe dotnet - Codemotion Rome 2015
Slide typescript - xe dotnet - Codemotion Rome 2015Slide typescript - xe dotnet - Codemotion Rome 2015
Slide typescript - xe dotnet - Codemotion Rome 2015
Codemotion
 
Mob01 mobile services e webapi
Mob01   mobile services e webapiMob01   mobile services e webapi
Mob01 mobile services e webapi
DotNetCampus
 

What's hot (20)

Corso 3 giorni Angular 2+
Corso 3 giorni Angular 2+Corso 3 giorni Angular 2+
Corso 3 giorni Angular 2+
 
Blazor per uno sviluppatore Web Form
Blazor per uno sviluppatore Web FormBlazor per uno sviluppatore Web Form
Blazor per uno sviluppatore Web Form
 
Disegnare Web Application orientate al Mobile con MVC 4 e jQuery Mobile (We W...
Disegnare Web Application orientate al Mobile con MVC 4 e jQuery Mobile (We W...Disegnare Web Application orientate al Mobile con MVC 4 e jQuery Mobile (We W...
Disegnare Web Application orientate al Mobile con MVC 4 e jQuery Mobile (We W...
 
Introduzione a Ruby On Rails
Introduzione a Ruby On RailsIntroduzione a Ruby On Rails
Introduzione a Ruby On Rails
 
Iefficiency 16-bigblue
Iefficiency 16-bigblueIefficiency 16-bigblue
Iefficiency 16-bigblue
 
Sviluppare Azure Web Apps
Sviluppare Azure Web AppsSviluppare Azure Web Apps
Sviluppare Azure Web Apps
 
Quick intro sul Source Control su SQL Server
Quick intro sul Source Control su SQL ServerQuick intro sul Source Control su SQL Server
Quick intro sul Source Control su SQL Server
 
Introduzione a Service Fabric e Actor Model
Introduzione a Service Fabric e Actor ModelIntroduzione a Service Fabric e Actor Model
Introduzione a Service Fabric e Actor Model
 
Sviluppo di applicazioni web in ambito mobile
Sviluppo di applicazioni web in ambito mobileSviluppo di applicazioni web in ambito mobile
Sviluppo di applicazioni web in ambito mobile
 
Cosa c'è di nuovo in asp.net core 2 0
Cosa c'è di nuovo in asp.net core 2 0Cosa c'è di nuovo in asp.net core 2 0
Cosa c'è di nuovo in asp.net core 2 0
 
Slide typescript - xe dotnet - Codemotion Rome 2015
Slide typescript - xe dotnet - Codemotion Rome 2015Slide typescript - xe dotnet - Codemotion Rome 2015
Slide typescript - xe dotnet - Codemotion Rome 2015
 
DotNETConf2022 - Creare un connettore personalizzato Power Automate con Minim...
DotNETConf2022 - Creare un connettore personalizzato Power Automate con Minim...DotNETConf2022 - Creare un connettore personalizzato Power Automate con Minim...
DotNETConf2022 - Creare un connettore personalizzato Power Automate con Minim...
 
Mob01 mobile services e webapi
Mob01   mobile services e webapiMob01   mobile services e webapi
Mob01 mobile services e webapi
 
Universal app ma universal per davvero
Universal app ma universal per davveroUniversal app ma universal per davvero
Universal app ma universal per davvero
 
Introduzione ad ASP.NET Core
Introduzione ad ASP.NET CoreIntroduzione ad ASP.NET Core
Introduzione ad ASP.NET Core
 
ARCHITETTURA DI UN'APPLICAZIONE SCALABILE
ARCHITETTURA DI UN'APPLICAZIONE SCALABILEARCHITETTURA DI UN'APPLICAZIONE SCALABILE
ARCHITETTURA DI UN'APPLICAZIONE SCALABILE
 
Costruire un Recommendation Engine con Cosmos DB
Costruire un Recommendation Engine con Cosmos DBCostruire un Recommendation Engine con Cosmos DB
Costruire un Recommendation Engine con Cosmos DB
 
.NET Core, ASP.NET Core e Linux per il Mobile
.NET Core, ASP.NET Core e Linux per il Mobile.NET Core, ASP.NET Core e Linux per il Mobile
.NET Core, ASP.NET Core e Linux per il Mobile
 
Crea servizi REST per la tua App con ASP.NET 5
Crea servizi REST per la tua App con ASP.NET 5Crea servizi REST per la tua App con ASP.NET 5
Crea servizi REST per la tua App con ASP.NET 5
 
REST API fantastiche e dove trovarle
REST API fantastiche e dove trovarleREST API fantastiche e dove trovarle
REST API fantastiche e dove trovarle
 

Similar to Tutto su ASP.NET Identity

Cert03 70-486 developing asp.net mvc 4 web applications
Cert03   70-486 developing asp.net mvc 4 web applicationsCert03   70-486 developing asp.net mvc 4 web applications
Cert03 70-486 developing asp.net mvc 4 web applications
DotNetCampus
 
Slide typescript - net campus
Slide typescript - net campusSlide typescript - net campus
Slide typescript - net campus
DotNetCampus
 
Asp.net web api reloaded
Asp.net web api reloadedAsp.net web api reloaded
Asp.net web api reloaded
Pietro Libro
 

Similar to Tutto su ASP.NET Identity (20)

Back to the Future: Migrare da WebForm ad ASP.NET Core gradualmente
Back to the Future: Migrare da WebForm ad ASP.NET Core gradualmente Back to the Future: Migrare da WebForm ad ASP.NET Core gradualmente
Back to the Future: Migrare da WebForm ad ASP.NET Core gradualmente
 
Web api 2.0
Web api 2.0Web api 2.0
Web api 2.0
 
Tesi8
Tesi8Tesi8
Tesi8
 
ASP.NET MVC: Andare oltre il 100% (Web@work)
ASP.NET MVC: Andare oltre il 100% (Web@work)ASP.NET MVC: Andare oltre il 100% (Web@work)
ASP.NET MVC: Andare oltre il 100% (Web@work)
 
Cert03 70-486 developing asp.net mvc 4 web applications
Cert03   70-486 developing asp.net mvc 4 web applicationsCert03   70-486 developing asp.net mvc 4 web applications
Cert03 70-486 developing asp.net mvc 4 web applications
 
SMAU Milano 2014 GAE 24/10/2014 - IWA Italy
SMAU Milano 2014 GAE 24/10/2014 - IWA ItalySMAU Milano 2014 GAE 24/10/2014 - IWA Italy
SMAU Milano 2014 GAE 24/10/2014 - IWA Italy
 
TYPESCRIPT, ANGULAR E BOOTSTRAP ASSIEME PER APPLICAZIONI REAL WORLD
TYPESCRIPT, ANGULAR E BOOTSTRAP ASSIEME PER APPLICAZIONI REAL WORLDTYPESCRIPT, ANGULAR E BOOTSTRAP ASSIEME PER APPLICAZIONI REAL WORLD
TYPESCRIPT, ANGULAR E BOOTSTRAP ASSIEME PER APPLICAZIONI REAL WORLD
 
Slide typescript - net campus
Slide typescript - net campusSlide typescript - net campus
Slide typescript - net campus
 
ASP.NET 4.6 e ASP.NET 5...l'evoluzione del web
ASP.NET 4.6 e ASP.NET 5...l'evoluzione del webASP.NET 4.6 e ASP.NET 5...l'evoluzione del web
ASP.NET 4.6 e ASP.NET 5...l'evoluzione del web
 
Swagger pertutti
Swagger pertuttiSwagger pertutti
Swagger pertutti
 
Asp.net web api reloaded
Asp.net web api reloadedAsp.net web api reloaded
Asp.net web api reloaded
 
Azure dayroma java, il lato oscuro del cloud
Azure dayroma   java, il lato oscuro del cloudAzure dayroma   java, il lato oscuro del cloud
Azure dayroma java, il lato oscuro del cloud
 
CDays15 - AZ08 - DocumentDB: il NoSql secondo Azure
CDays15 - AZ08 - DocumentDB: il NoSql secondo AzureCDays15 - AZ08 - DocumentDB: il NoSql secondo Azure
CDays15 - AZ08 - DocumentDB: il NoSql secondo Azure
 
Meetup Fluent Design e Progressive Web App
Meetup Fluent Design e Progressive Web AppMeetup Fluent Design e Progressive Web App
Meetup Fluent Design e Progressive Web App
 
Web app slots and WebAPI versioning
Web app slots and WebAPI versioningWeb app slots and WebAPI versioning
Web app slots and WebAPI versioning
 
Web app slots and webapi versioning
Web app slots and webapi versioningWeb app slots and webapi versioning
Web app slots and webapi versioning
 
ASP.NET Core Services e Linux per il Mobile - Pietro Libro - Codemotion Rome...
ASP.NET Core Services e Linux per il Mobile  - Pietro Libro - Codemotion Rome...ASP.NET Core Services e Linux per il Mobile  - Pietro Libro - Codemotion Rome...
ASP.NET Core Services e Linux per il Mobile - Pietro Libro - Codemotion Rome...
 
Alessandro Forte - ASP.Net 4.0
Alessandro Forte - ASP.Net 4.0Alessandro Forte - ASP.Net 4.0
Alessandro Forte - ASP.Net 4.0
 
Presentazione Unibo
Presentazione UniboPresentazione Unibo
Presentazione Unibo
 
Meetup Progressive Web App
Meetup Progressive Web AppMeetup Progressive Web App
Meetup Progressive Web App
 

More from Emanuele Bartolesi

Provarsi i vestiti con il kinect
Provarsi i vestiti con il kinectProvarsi i vestiti con il kinect
Provarsi i vestiti con il kinect
Emanuele Bartolesi
 
In-app purchase in Windows Phone 8
In-app purchase in Windows Phone 8In-app purchase in Windows Phone 8
In-app purchase in Windows Phone 8
Emanuele Bartolesi
 

More from Emanuele Bartolesi (18)

Creare PWA con Angular 5 e Visual Studio Code
Creare PWA con Angular 5 e Visual Studio CodeCreare PWA con Angular 5 e Visual Studio Code
Creare PWA con Angular 5 e Visual Studio Code
 
Asp.Net Core in Real World
Asp.Net Core in Real WorldAsp.Net Core in Real World
Asp.Net Core in Real World
 
ASP.NET Core 2.0 - Best Practices per le Web API
ASP.NET Core 2.0 - Best Practices per le Web APIASP.NET Core 2.0 - Best Practices per le Web API
ASP.NET Core 2.0 - Best Practices per le Web API
 
Visual Studio 2017 Saturday - Key note
Visual Studio 2017 Saturday - Key noteVisual Studio 2017 Saturday - Key note
Visual Studio 2017 Saturday - Key note
 
Build a daemon with ASP.NET and Graph API
Build a daemon with ASP.NET and Graph APIBuild a daemon with ASP.NET and Graph API
Build a daemon with ASP.NET and Graph API
 
Global Azure Bootcamp - ASP.NET Core & Azure in Real World
Global Azure Bootcamp - ASP.NET Core & Azure in Real WorldGlobal Azure Bootcamp - ASP.NET Core & Azure in Real World
Global Azure Bootcamp - ASP.NET Core & Azure in Real World
 
Works with ASP.NET Core on Linux and Mac
Works with ASP.NET Core on Linux and MacWorks with ASP.NET Core on Linux and Mac
Works with ASP.NET Core on Linux and Mac
 
DotNetCampus - Analizzare le performance di un'applicazione asp.net con Glimpse
DotNetCampus - Analizzare le performance di un'applicazione asp.net con GlimpseDotNetCampus - Analizzare le performance di un'applicazione asp.net con Glimpse
DotNetCampus - Analizzare le performance di un'applicazione asp.net con Glimpse
 
Analizzare le performance di un'applicazione ASP.NET con Glimpse
Analizzare le performance di un'applicazione ASP.NET con GlimpseAnalizzare le performance di un'applicazione ASP.NET con Glimpse
Analizzare le performance di un'applicazione ASP.NET con Glimpse
 
Azure Media Services & Azure Search
Azure Media Services & Azure SearchAzure Media Services & Azure Search
Azure Media Services & Azure Search
 
NTTsight Academy - App for Office 365 and SharePoint 2013
NTTsight Academy - App for Office 365 and SharePoint 2013NTTsight Academy - App for Office 365 and SharePoint 2013
NTTsight Academy - App for Office 365 and SharePoint 2013
 
Provarsi i vestiti con il kinect
Provarsi i vestiti con il kinectProvarsi i vestiti con il kinect
Provarsi i vestiti con il kinect
 
In-app purchase in Windows Phone 8
In-app purchase in Windows Phone 8In-app purchase in Windows Phone 8
In-app purchase in Windows Phone 8
 
WebAPI 2.0
WebAPI 2.0WebAPI 2.0
WebAPI 2.0
 
SignalR 2.0
SignalR 2.0SignalR 2.0
SignalR 2.0
 
Asp.Net MVC 5
Asp.Net MVC 5Asp.Net MVC 5
Asp.Net MVC 5
 
SQLite - Overview
SQLite - OverviewSQLite - Overview
SQLite - Overview
 
Visual Studio 2010 shortcut keys
Visual Studio 2010 shortcut keysVisual Studio 2010 shortcut keys
Visual Studio 2010 shortcut keys
 

Tutto su ASP.NET Identity

  • 1.
  • 3. Who I am • Microsoft MVP ASP.NET since 2014 • Founder of SmartCore Tech • DotNetToscana Staff Member & Speaker • Speaker for various events • Trainer • SharePoint addicted from 2007 • Enthusiast ASP.NET Developer • NopCommerce Contributor • MCPD Web applications, MCTS BING Applications, MCTS Silverlight, MCTS HTML5 & CSS3 • Italian blog: www.emanuelebartolesi.com • English blog: www.geekswithblogs.net/emanueleb/ • Twitter enthusiast: @kasuken • Email: emanueleb@outlook.com
  • 4. Agenda  Introduzione  Uno sguardo al passato  Migrare da Membership  Principali caratteristiche di ASP.NET Identity  Rilasci  Demo   Provider MySQL  Strumenti  Riferimenti
  • 5. Uno sguardo al passato ASP.NET 1.1 • N/A ASP.NET 2.0 • Membership Provider ASP.NET 4.0 • Simple Membership ASP.NET 4.5 • Universal Providers One ASP.NET • ASP.NET Identity
  • 6. Migrare dal passato http://www.asp.net/identity/overview/migrations • Migrare da SQL Membership a ASP.NET Identity • Migrare Universal Provider Data for Membership a ASP.NET Identity
  • 7. Principali caratteristiche • Può essere utilizzato con tutti i framework ASP.NET, quindi: MVC, Web Forms, Web API e SignalR • Può essere anche utilizzato in applicazioni non web, come app per windows phone o windows 8 • E’ facile aggiungere proprietà alle informazioni di profilo utente • Utilizza Entity Framework Code First e quindi è molto semplice aggiungere proprietà ed aggiornare il database • E’ possibile modificare lo schema del database • E’ molto semplice implementare un nuovo storage dei dati come SharePoint, database NoSQL o altro • E’ facile gestire i ruoli all’interno dell’applicazione e in fase di creazione dei ruoli stessi • E’ basato sui Claims, quindi è molto facile arricchire e utilizzare informazioni legate all’utente in qualsiasi momento • Essendo basato su OWIN, non è necessaria la dipendenza da System.Web • Rilasciato con NuGet
  • 8. Rilasci • ASP.NET Identity 1.0 – Visual Studio 2013 • ASP.NET Identity 2.0 – Visual Studio 2013 Update 2 • ASP.NET Identity 2.1 – Visual Studio 2013 Update 3
  • 12. Riferimenti • http://www.asp.net/identity/ • http://www.asp.net/identity/overview/getting-started/aspnet-identity- recommended-resources • Migrating to ASP.NET Identity • http://www.asp.net/identity/overview/features-api/two-factor-authentication- using-sms-and-email-with-aspnet-identity • 2FA using Google Authenticator app • Web Admin using Thinktecture IdentityManager • For samples for Identity in general https://aspnet.codeplex.com/SourceControl/latest#Samples/Ide ntity/ • Raven Db ASP.NET Identity provider by Tugberk • ASP.NET Identity providers
  • 13. Prossimi eventi  Corso Bootstrap giovedì 18/09 a Milano  https://www.eventbrite.it/e/biglietti-corso-bootstrap-3- 12580270929  Evento DotNetToscana  ABC… Azure Best Contents – giovedì 9 ottobre Firenze - http://www.dotnettoscana.org/abc-azure-best-contents.aspx
  • 14.