Hi
I'm struggling to get Identity to work with dotConnect, asp.net 5, entity framework 6. The support docs is written for asp.net 4.5 and with all the googling I couldnt get a correlation to hack it to work.
Could you please help me in the right direction.
Using Identity with asp.net 5
Re: Using Identity with asp.net 5
dotConnect for PostgreSQL does not support ASP.NET 5. We will investigate the possibility of implementing support of ASP.NET 5, but we can't tell any timeframe at the moment.
Re: Using Identity with asp.net 5
Devart is glad to announce the release of dotConnect for PostgreSQL 7.9 with support for .NET Core: viewtopic.php?f=3&t=35438.
Simple walkthrough for using ASP.NET Core Identity:
* create File > New > Project > Installed > Visual C# > Web > ASP.NET Core Web Application (.NET Core), select Web Application and set Authentication: Individual User Accounts
* run command via Package Manager Console
PM> install-package Devart.Data.PostgreSql.EFCore -Source:"https://www.nuget.org/api/v2/"
* replace
options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
with
options.UsePostgreSql(Configuration.GetConnectionString("DefaultConnection")));
in Startup.cs
* set your DefaultConnection for PostgreSQL in appsettings.json
* execute command via Package Manager Console
PM> update-database
Simple walkthrough for using ASP.NET Core Identity:
* create File > New > Project > Installed > Visual C# > Web > ASP.NET Core Web Application (.NET Core), select Web Application and set Authentication: Individual User Accounts
* run command via Package Manager Console
PM> install-package Devart.Data.PostgreSql.EFCore -Source:"https://www.nuget.org/api/v2/"
* replace
options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
with
options.UsePostgreSql(Configuration.GetConnectionString("DefaultConnection")));
in Startup.cs
* set your DefaultConnection for PostgreSQL in appsettings.json
* execute command via Package Manager Console
PM> update-database