In This Section We will learn database connection using ASP.NET Core MVC.
22 Comments
Leave a Reply
You must be logged in to post a comment.
In This Section We will learn database connection using ASP.NET Core MVC.
You must be logged in to post a comment.
Thank you, greetings from Turkey.
If you define a connect sting in the controller it means that every time a request occurs, a connection occurs and this is dangerous if the request is in a busy system
Amazing tutorial bro, cannot thank you enough.
its good info but the music made me sleepy :d
Hello
I can't find firstcontroller.cs, However, I have only homecontroller.cs in my controller folder.
I have windows autentication… This change on the appsettings.json? I have this error on the
"connection.Open();"
it say
"provider: Shared Memory Provider, error: 0"
Thank u bro… Awesome video
Thanks a Ton……
Cool. Thanks for showing that it is still possible to connect to a database in somewhat the same way as we are used to EVEN in .NET core. Great video.
Thanks very much You help me
Fuck you
You didn't mention what packages did you use? How are you connecting to the Database? I don't see you are using Entity Framework. So what are you using then? please mention that. I am looking for ways to connect to DB without using Entity Framework.
FirstControler.cs – how did you get that? – I don't have it in mine project…
why you connect the database into controller why not in Startup.cs file
I have a serious problem with this music
Big Thank you, its so simply explained..
thank you!!
Is this a good practice?
Ok but the port?
Hi there thank you for the video. but in connection string i am getting null value. what can be the reason for the same ?
Thanks can you make web api core with dapper
Hi, please, I want to use the MSSQL Database Connection using ASP.NET Core MVC to display the list of data in a bootstrap view. Help me please