How to using EF6 with ASP.Net Core platform?


#1

Hi all, i need to using EF6 with ASP.Net Core with net452 framework only and Identity. But i can’t found any sample about it. So please help me :frowning:


#2

Hi @raymondle,

You can use EF6 with ASP.NET Core but it means that you have to target the full .NET Framework. You can find out more information and see code samples from this tutorial on the official ASP.NET Core documentation website.

– Toni


#3

As @tsolarin said, you should target to .Net Framework, otherwise you should use EF7 for .Net Core projects


.NET Foundation Website | Blog | Projects | Code of Conduct