Page 1 of 1

Using Identity with asp.net 5

Posted: Mon 13 Jun 2016 08:59
by Sagariouz
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.

Re: Using Identity with asp.net 5

Posted: Tue 14 Jun 2016 08:14
by Shalex
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

Posted: Mon 12 Jun 2017 12:09
by Shalex
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