Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to add existing database to Web App in ASP.NET 5 using Entity Framework

$
0
0

Hi,

How do I add an existing SQL Server database to my ASP.NET 5 web app?  Some tutorials are talking about config.json file but I don't see it in my project.  I have appsettings.json.  Sorry...I'm new to this open-source-DNX stuff.  Still trying to find my way around.

I tried installing EF 6.1.3 and I got an error that it's not "compatible" with DNX Core 5.0; so I have to uninstall it.

With ASP.NET 4.5, all I have to do is add a new item (e.g, LINQ TO SQL, or Entity Framework) and I'm good to go.  How does one go about doing this in ASP.NET 5?

Appreciate any explanation/help.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>