Тёмный

Entity Framework Core + Blazor - Tutorial for Beginners 

Nick Proud
Подписаться 6 тыс.
Просмотров 20 тыс.
50% 1

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 74   
@aussieraver7182
@aussieraver7182 Год назад
I love the way you explain concepts with provided examples. Probably one of the best videos I've seen in years, cheers! Subbed
@nickproudprogrammer
@nickproudprogrammer Год назад
Awesome, thank you! Really kind and glad to have you!
@lamoskalibre
@lamoskalibre 3 часа назад
Totally agree I was a teacher of Databases and Computer Programming at College and I can totally agree with this. Nick you have really natural talent to teach! Clear explanation. Pre presentation of the goals of the class... review of what was shown... Great work!
@mihaiflorin4511
@mihaiflorin4511 Год назад
Love it! I had a very difficult time understanding EF, your video helped me a lot to understand the basics !
@nickproudprogrammer
@nickproudprogrammer Год назад
Glad it helped!
@klerpi
@klerpi 2 года назад
Great video! Really well explained and easy to follow. I had a hard time understanding videos from others creators because they skip explaining the boilerplate stuff. I love the you take your time building each file instead of scaffolding everything.
@nickproudprogrammer
@nickproudprogrammer Год назад
Glad it was helpful!
@pheonixman22
@pheonixman22 2 года назад
Great video really enjoyed your style and simple explanation of using ef in a blazor project 👍
@njilouis3752
@njilouis3752 Год назад
I just got admission to a Software company and surprisingly the use of core and Blazor sever app. And to be sincere this is the best video on the internet for a fresh start I watch a couple more but this 🔥🔥🔥. Please can you do more EFC AND BLAZOR CONTENTS 🙏🏼🙏🏼🙏🏼
@nickproudprogrammer
@nickproudprogrammer Год назад
Glad I could help! More EFC and Blazor to come!
@wightknuckle
@wightknuckle 4 месяца назад
This is a fantastic tutorial, thanks so much! I learned loads today.
@TheDuerden
@TheDuerden Год назад
Thanks for this, very clear instructions on EF that were very useful to me.
@nickproudprogrammer
@nickproudprogrammer Год назад
Glad it was helpful!
@premaider
@premaider Год назад
Very good video! You helped me to go forward with my masters thesis. Thank you very much :)
@nickproudprogrammer
@nickproudprogrammer Год назад
Ah amazing! Makes this worth it. Thanks 👍
@kell7689
@kell7689 11 месяцев назад
Things get a little spicy when dealing with objects that have complex relationships/navigations. Seems to be difficult to find educational content involving that type of thing.
@am-apps-games
@am-apps-games Год назад
Great Video! Thank you!
@nickproudprogrammer
@nickproudprogrammer Год назад
Glad you liked it!
@shifuteamendurance
@shifuteamendurance Год назад
Great video, thanks
@nickproudprogrammer
@nickproudprogrammer Год назад
Glad you liked it!
@FasilMeressi
@FasilMeressi 6 месяцев назад
Top man!
@codegeek-il5fm
@codegeek-il5fm Год назад
Thx Nick. This is useful as a beginner. One question about the CustomerService method AddCustomer. We could also do it as async and call it AddCustomerAsync, correct ? Of course, the method signature would change to public async Action AddCustomerAsync(), correct ? As a newbie, I am trying to understand when to use async/await and when not to.
@nickproudprogrammer
@nickproudprogrammer Год назад
Lots of arguments for and against async programming in different situations. This article has some good examples stackify.com/when-to-use-asynchronous-programming/
@torrvic1156
@torrvic1156 Год назад
Thank you so much sir! That was a short and sweet video explaining some very important concepts. Honestly before this video I didn’t understood what was the point of using of Services . And now I understood that this is for data access and not to do it directly.
@nickproudprogrammer
@nickproudprogrammer Год назад
You're very welcome!
@gagethornewell7497
@gagethornewell7497 Год назад
I really hope you can answer this questions. So in the tutorial you show how to insert a customer. But the questions is how do you insert a Order when you have that association or foreign key (class). I am trying to follow your tutorial but im struggling to do an insert statement with the orders class. Im wondering if there is something I am missing here. I gave the orders property customer a customer, but in the database it simply has an id so im not sure how that works.
@nickproudprogrammer
@nickproudprogrammer Год назад
Do you have the [Key] attribute on your DB classes? Check your migrations also, they should show you what relationships have been created in EF
@UnconventionalPotato
@UnconventionalPotato Год назад
Thanks for the video , i like how you can see the SQL query in the output window. Would be nice if you showed how to CRUD or atleast create with the order model since its a foreign key
@nickproudprogrammer
@nickproudprogrammer Год назад
Great suggestion!
@la-ki5wd
@la-ki5wd Год назад
Thank you!
@nickproudprogrammer
@nickproudprogrammer Год назад
Very welcome
@mdaslamknl
@mdaslamknl 2 месяца назад
Good Video Keep it up What exactly you are trying to achieve here Anything specific Thanks
@Kevin-kg6wd
@Kevin-kg6wd Год назад
Hi Nick! There is another question, when I click create first try after running, data can insert to database, but second time I tried create(The values are different), the error "Cannot insert explicit value for identity column in table 'Customers' when IDENTITY_INSERT is set to OFF."will be triggered, Do you have any idea?
@nickproudprogrammer
@nickproudprogrammer Год назад
Looks like you're trying to pass in a value for the 'id' column, but it is set to be managed on the SQL side. Take a look at the model you're inserting, and see if you've set a value for the id. If so, take it out and let SQL assign it.
@netrixtechie
@netrixtechie Год назад
@@nickproudprogrammer God bless you for this easiest EF with balzor, I have ever come across, but i continue to have the same SqlException: Cannot insert explicit value for identity column in table 'Customers' when IDENTITY_INSERT is set to OFF. and i have checked my code very well and im using the same Model you used. Pls what could be wrong.
@karldersoose7224
@karldersoose7224 Год назад
Very nice
@nickproudprogrammer
@nickproudprogrammer Год назад
Thanks!
@TommiLipponen
@TommiLipponen Год назад
Excellent stuff! A clear example how to use DbContext factory with Blazor Server as recommended by Microsoft. When you say "using (var context = _dbContextFactory...)" the DbContext instance will get disposed automatically as it should, right?
@nickproudprogrammer
@nickproudprogrammer Год назад
Thanks! Yes using will allow the object to auto dispose of it implements idisposable
@GavinWMoloney
@GavinWMoloney Год назад
Brilliant video, very helpful thank you! I'm just stuck on creating a method so I can output the input table data to a web page
@nickproudprogrammer
@nickproudprogrammer Год назад
Thanks Gavin! You'd want to take the entity collection you get from EF and loop over it, adding the relevant table rows in html for each row of data. If you want to go through your issue a bit more detail, get in touch with me here www.automationmission.com/contact/
@urbanguest
@urbanguest Год назад
Excellent video, very well explained!
@nickproudprogrammer
@nickproudprogrammer Год назад
Glad it was helpful!
@Tc-hs8rp
@Tc-hs8rp Год назад
just finished the video, what a video. Keep it up
@Tc-hs8rp
@Tc-hs8rp Год назад
I am a software engineer degree apprentice. This video is a gem, thank you mate!
@laloystechtv7323
@laloystechtv7323 Год назад
I just want to say thank you! Your video really helped me in the transition process in web app building.
@nickproudprogrammer
@nickproudprogrammer Год назад
You are so welcome!
@GSoftagon
@GSoftagon Год назад
Nick, this is really fantastic. I will definitely subscribe to your channel! Thank you so much!
@nickproudprogrammer
@nickproudprogrammer Год назад
Thanks gideon! Really appreciate it!
@nussberger
@nussberger Год назад
Fantastic. This helped a lot. Thank you!
@nickproudprogrammer
@nickproudprogrammer Год назад
Really glad it helped!
@dmzb
@dmzb 7 месяцев назад
You just saved me!! i am passing my blazor course thanks to you bless uu
@wieDASland
@wieDASland Год назад
Explained like a god! Thank you very much!!
@fou2flo
@fou2flo Год назад
Clearly under-rated video, good job!
@nickproudprogrammer
@nickproudprogrammer Год назад
Thanks!
@himanshi.j8953
@himanshi.j8953 Год назад
Tysm for such a great video, u r best
@nickproudprogrammer
@nickproudprogrammer Год назад
My pleasure 😊
@jozefpastucha652
@jozefpastucha652 Год назад
I got stuck when adding the initial migration with a "The specified deps.json [C:\Users\xxx\source epos\New folder\BlazorDemo\BlazorDemo\bin\Debug et7.0\BlazorDemo.deps.json] does not exist" error and did not find solution.
@nickproudprogrammer
@nickproudprogrammer Год назад
How did you create the project? Did you create it via the command line?
@남경만-o8d
@남경만-o8d Год назад
정말 좋은 내용이네요. 감사합니다.
@nickproudprogrammer
@nickproudprogrammer Год назад
네가 좋다 니 기쁘다! 시청 해주셔서 감사합니다.
@ryanorzolek9345
@ryanorzolek9345 9 месяцев назад
Very well done!
@nickproudprogrammer
@nickproudprogrammer 9 месяцев назад
Thanks!
@goverdhanjayaram3683
@goverdhanjayaram3683 10 месяцев назад
Thank you very much Nick! This is a very valuable video !
@nickproudprogrammer
@nickproudprogrammer 10 месяцев назад
My pleasure!
@twotinytrees9794
@twotinytrees9794 Год назад
This is an excellent tutorial on EF Core. Good work!
@nickproudprogrammer
@nickproudprogrammer Год назад
Glad it was helpful!
@456btpro8
@456btpro8 Год назад
thanks dude
@nickproudprogrammer
@nickproudprogrammer Год назад
You're welcome!
@456btpro8
@456btpro8 Год назад
@@nickproudprogrammer I got accepted for the internship thanks to you.
@nickproudprogrammer
@nickproudprogrammer Год назад
@@456btpro8 wow amazing! Congratulations I'm glad my video helped.
@Kevin-kg6wd
@Kevin-kg6wd Год назад
Hi Nick! Thanks for your guiding! I followed your code, but click create button no response, do you have any idea? Thanks a lot! I searched and tried several ways but no success
@nickproudprogrammer
@nickproudprogrammer Год назад
Hi! Did you define a method to handle the onclick event? If you want to send me you code, DM me on twitter. @nickproud
@Kevin-kg6wd
@Kevin-kg6wd Год назад
@@nickproudprogrammer Yeah, I added the OnInvalidSubmit="HandleSubmit" , I will send you the code, thanks a lot!
Далее
Entity Framework Migrations Explained
36:53
Просмотров 31 тыс.
How to use SQLite and Entity Framework Core in Blazor
1:49:51
Get started with ENTITY FRAMEWORK in C#!
15:57
Просмотров 19 тыс.
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
Просмотров 1,5 млн