Using Identity with asp.net 5

Using Identity with asp.net 5

Postby Sagariouz » Mon 13 Jun 2016 08:59

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.
Sagariouz
 
Posts: 1
Joined: Mon 13 Jun 2016 08:37

Re: Using Identity with asp.net 5

Postby Shalex » Tue 14 Jun 2016 08:14

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.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44

Re: Using Identity with asp.net 5

Postby Shalex » Mon 12 Jun 2017 12:09

Devart is glad to announce the release of dotConnect for PostgreSQL 7.9 with support for .NET Core: http://forums.devart.com/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
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for PostgreSQL