I was trying to connect my database for 2 days now and was unable to do it. Then i found this gem of a video. Thank you so much for making our lives easy sir.
Great video! Thanks!. Could you create a part two where you add a couple of child tables in the databasse and then show how you update the code so it can use the child tables?
Thank You so much i was trying from the past 1 week to connect my database but every time error was occurring during the process then i found this video i my problem is solved so thank you soo much! ❤
very good bro I have a problem, I have my database but I have a column of dates so it shows me the time and date and what I want is only to have the date in my table I wanted to modify it in models but it does not work since net 6 It already has added as DateOnly if you can help me
Thanks for creating this video. Definitely it's a great video with clean code. Could you please create a video how can we add another or multiple table and also update models in existing project?
Just in case you try to use with packages version 7.0.0, the ConnectionStrings have to include "Encrypt=false;". I wasted almost one day to get to this, because the ConnectionStrings like the video didn't work.
show error message- A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.) Pls help me
Just in case you haven't figure it out try something like this: Scaffold-DbContext "Server=DESKTOP-2VRJKGU\MSSQLSERVER_VF; Database=ComprasISO810;Trusted_Connection=True; TrustServerCertificate=True" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models Hope it helps you man!
why my Program.cs is different from yours? public class Program { public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup(); }); }
why i have show this A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted After this comand Scaffold-Dbcontext "Server=.\SQLExpress;Database=HumenResourece;Trusted_Connection=True;"Microsoft.EntityFrameworkcore.SqlServer -OutputDir Models
Please subscribe to the channel and like the video. I hope you will have a great career ahead 😊.
I was trying to connect my database for 2 days now and was unable to do it. Then i found this gem of a video. Thank you so much for making our lives easy sir.
Thanks for your kind words
Thanks man, you saved my semester!
You are welcome
One of the most amazing video i have ever vatched
Thanks for your kind words
Very Help Full Video For Me Thanks A lot
You are welcome
Thanks alot man!! great video!!!
Thank you
Magical. So well Done. Thanks.
Glad you enjoyed it!
Great tutorial, I have entered to dotNETCore Developer community, Thank you so much
You are welcome
The best and shortest video
Thank you
Great video! Thanks!. Could you create a part two where you add a couple of child tables in the databasse and then show how you update the code so it can use the child tables?
Thank you. Very concise and informative.
Super well done and informative. Thank you.
Thank you so much.Your tutorial is the only one perfect for me , sir;
You are welcome
Really Helpful, Thank you.
You're welcome!
Great video thank you!
My pleasure!
Very good explanation, thank you!!!
You are welcome
Thanks so much. This video is really helpful.
You're very welcome!
Thanks, this tutorial vid really helped me a ton
Thank You so much i was trying from the past 1 week to connect my database but every time error was occurring during the process then i found this video i my problem is solved so thank you soo much! ❤
Glad that it helped. Thanks for the kind words.
Thank you bro ☺
You are welcome😊
Thank you for your tutorial. I am confuense how to use db connection string, but your video is show how to use. thank you again.
Thank you so much. It's working fine.
You are welcome
Neat and clean tutorial.. Thank you so much. Please make more tutorial covering complete dot net core 6 with entity framework
Sure. Thanks for your feedback.
Thank you
very good bro I have a problem, I have my database but I have a column of dates so it shows me the time and date and what I want is only to have the date in my table I wanted to modify it in models but it does not work since net 6 It already has added as DateOnly if you can help me
Thanks. In the get and set of your property you need to format the date.
Thanks for creating this video. Definitely it's a great video with clean code. Could you please create a video how can we add another or multiple table and also update models in existing project?
Good,but what if I want to change the structure of the DB?
Just in case you try to use with packages version 7.0.0, the ConnectionStrings have to include "Encrypt=false;". I wasted almost one day to get to this, because the ConnectionStrings like the video didn't work.
New versions of packages get released frequently so the behaviour may differ a bit. Thanks for your feedback.
video is so helpful sir, but i have one query what if i add any column then where we have to make changes in visual studio
You have to refresh the entity framework
Need Get Data from Multiple Tables with join Query, DB First Approach, MVC, Not Repository Parrten
show error message- A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.) Pls help me
How did u fix it?
Just in case you haven't figure it out try something like this:
Scaffold-DbContext "Server=DESKTOP-2VRJKGU\MSSQLSERVER_VF; Database=ComprasISO810;Trusted_Connection=True; TrustServerCertificate=True" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
Hope it helps you man!
Please upload the video on Export data in excel file by using ASP.NET core 6.0 Web API
why my Program.cs is different from yours?
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup();
});
}
You should use Visual studio 2022 for the latest program.cs template
Kindly make the video with Add Photos and cascading
Ok. Thanks for your comment.
Create a new project and write a API for Export data in Excel
source code please
github.com/tutorpraveen/Core6DBFirstCountryApp
why i have show this
A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted
After this comand
Scaffold-Dbcontext "Server=.\SQLExpress;Database=HumenResourece;Trusted_Connection=True;"Microsoft.EntityFrameworkcore.SqlServer -OutputDir Models