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

connect my ASP.NET web application's entity framework database to sql server

$
0
0

Hi guys, I am new to asp.net mvc.

I'm following this documentation and trying to do some learning.

https://docs.asp.net/en/latest/tutorials/your-first-aspnet-application.html

I found that the tutorial uses an integrated sql server express database to store data.

But I want to connect to my local sql server database.

The connection string is: Data Source=WAES-YAE;Initial Catalog=WebApp;Integrated Security=False;User ID=sa;Password=********;

What do I need to do if I want the entity framework to work with my local db?

just replace the ConnectionString property is appsettings.json file?

please help...

thank you.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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