God bless you man for so long I have struggled with the simplest issue, you have finally explained it in a way for the penny to drop in my head. There is hope for me yet
Finished your course and it was great and easy! The database stuff has a lot of built in class names to wrap my head around, so some definitions that are simply explained would be welcomed. Thanks! :)
That was an hour well spent. Thanks. In the last few weeks I've watched a lot of mvc videos. And I'm now at a stage where I can predict where you're going. Got a couple of demo applications in my visual studio. Ready to move on. :-) One question if you please: where should I continue? razor, blazor or react?
I have an error System.ArgumentNullException: 'Value cannot be null. (Parameter 'entity')' on my _context.Expenses.Remove(expenseInDb); even as I checked multiple times and followed everything atleast as far as I know.
hi! you've probably solved it by now, but i got the same problem and fixed it by changing "asp-route-itemid" to "asp-route-id" in the table in Expense.cs. just writing in case it helps someone else out there:)
Nice video, i did run into a few minor problems. I diverted from the course and added my SQL database instead of InMemory db. This gave some problems on certifying the connection but i solved that. Using ID will let EF generate the table with IDENTITY_INSERT which means you can not provide the ID your self but have to let the database do that. I removed that by remaming Id to ExpenseId but EF will start every time from fresh and will try to insert the already existing 0 again so the code starts updating existing rows. I need to build in a check for that and get max(Id) n+ 1 at each newe run probably
If you're using a Data Folder when you start setting up the Database it might not recognize the Class unless you type it as Models.Class. So for example, DbSet would instead be DbSet Although if you even have a Data folder by default you've probably done something wrong lol.
i love u,wallah you are the best, i wish God help you too much, this world needs several expert like u; honestly i don't know how too thank u ; just know that i love you really
3 หลายเดือนก่อน
Excelent my friend, step by step, congratulations!!!!
If you correctly added asp-action and asp-controller to the form, then you should be able to add the breakpoint and hover over model, then hover over the tiny expand triangle in the dialogue that pops up, and the information you entered before hitting the submit button should be there.
Hello, Thanks for video, how to resolve this mistake? System.NullReferenceException: 'Object reference not set to an instance of an object.' Microsoft.AspNetCore.Mvc.Razor.RazorPage.Model.get returned null. in : foreach(var expense in Model)
🚀C# Progress Academy - Skyrocket your C# skills with the ultimate course bundle: academy.tutorials.eu/p/csharp-progress-academy
The the best MVC demo I've seen so far
I'm glad you like it.
One of the Best C# MVC Tutorials I have ever seen!!
I understood everything properly until 25:26 and then he just changed to hypersonic speed and went: "haha database goes brrrrr"
same..I got lost! curious to know if you found some resources that helped u better understand that part?
lovely! this is a kind of tutorial... a beginner can start with!
God bless you man for so long I have struggled with the simplest issue, you have finally explained it in a way for the penny to drop in my head. There is hope for me yet
Finished your course and it was great and easy! The database stuff has a lot of built in class names to wrap my head around, so some definitions that are simply explained would be welcomed. Thanks! :)
What a great tutorial this is! Hat off to you! Keep up this great work!
I like this. Simple and straightforward. Learned tons. Thank you!
Brilliant vid.
Keep it up bro
Thank you, was a great hour!
This was super helpful!
Beginner friendly❤
The best and latest course that I found on TH-cam . Thanks you for your amazing contribution for that. Thanks ❤
That was an hour well spent. Thanks. In the last few weeks I've watched a lot of mvc videos. And I'm now at a stage where I can predict where you're going. Got a couple of demo applications in my visual studio. Ready to move on. :-) One question if you please: where should I continue? razor, blazor or react?
tnx a lot, very beginner friendly
I have watched this video and replicated the same project.Awesome tutorial.Thank you
I have an error System.ArgumentNullException: 'Value cannot be null. (Parameter 'entity')' on my _context.Expenses.Remove(expenseInDb); even as I checked multiple times and followed everything atleast as far as I know.
hi! you've probably solved it by now, but i got the same problem and fixed it by changing "asp-route-itemid" to "asp-route-id" in the table in Expense.cs. just writing in case it helps someone else out there:)
Nice video, i did run into a few minor problems. I diverted from the course and added my SQL database instead of InMemory db. This gave some problems on certifying the connection but i solved that. Using ID will let EF generate the table with IDENTITY_INSERT which means you can not provide the ID your self but have to let the database do that. I removed that by remaming Id to ExpenseId but EF will start every time from fresh and will try to insert the already existing 0 again so the code starts updating existing rows. I need to build in a check for that and get max(Id) n+ 1 at each newe run probably
If you're using a Data Folder when you start setting up the Database it might not recognize the Class unless you type it as Models.Class. So for example, DbSet would instead be DbSet
Although if you even have a Data folder by default you've probably done something wrong lol.
Nice crud app, thank you for the video
Waw.
Bro, you are awesome.
Really good tutorial.
Well done!
Simplicity of mvc is beautiful
i love u,wallah you are the best, i wish God help you too much, this world needs several expert like u; honestly i don't know how too thank u ; just know that i love you really
Excelent my friend, step by step, congratulations!!!!
Thanks, I can't express my words, I was a great help to me.
thank you tutorialsEU, i got a .net dev interview tomorrow (not sure how i got it cause it said 3 YOE req and I got none) wish me luck ;)
Thanks for the tutorial, I have a regional issue which is I cannot enter comma delimited values, would you please advice?
Thanks, I can now add ASP into my resume :)
Can we get the whole project, since i have a bug in my code which i cant fix.....
Hello. I just finished without an error. What was the issue that you had with yours? :)
when i hover over the model it is not showing me the values i entered
If you correctly added asp-action and asp-controller to the form, then you should be able to add the breakpoint and hover over model, then hover over the tiny expand triangle in the dialogue that pops up, and the information you entered before hitting the submit button should be there.
Hello,
Thanks for video, how to resolve this mistake?
System.NullReferenceException: 'Object reference not set to an instance of an object.'
Microsoft.AspNetCore.Mvc.Razor.RazorPage.Model.get returned null.
in :
foreach(var expense in Model)
Got same error, how to fix it?
Great tutorial, thanks 👍
The data is not saved?
Mindblowing surely will subscribe.
Glad to see you in our membership now 🚀
I followed all your instructions but when I update it always adds another entry in the database
How do you connect a database to all this so that all these changes are reflected in it?
You can register an entity framework database context :-)
We have created a video on that here:
th-cam.com/video/gQ2yBG3-jKI/w-d-xo.html
Enjoy
@@tutorialsEU thanks 😊
Sure Shot tutorial 🙏
Do you have similar tutorial on storing data in SQL Server without using entity framework or may be using APIs or Store procedures?
Don't know if you've been already told about it, but you look just like Mitch Lucker from Suicide Silence. You just need to know that
Ironically I'm also lead singer in a rock band. RIP mitch
Damm legend
i like your style
25:35
49:23
Great
👉 *promosm*
Thanks a lot the Tutorial was on point and simple I like it thanks it was very helpful!
30:36