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.
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)
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.
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
🚀C# Progress Academy - Skyrocket your C# skills with the ultimate course bundle: academy.tutorials.eu/p/csharp-progress-academy
This was great. None of the other tutorials from other creators worked for me.
One of the Best C# MVC Tutorials I have ever seen!!
Awesome, short and simple to understand tutorial for MVC
The the best MVC demo I've seen so far
I'm glad you like it.
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! :)
lovely! this is a kind of tutorial... a beginner can start with!
I like this. Simple and straightforward. Learned tons. Thank you!
The best and latest course that I found on UA-cam . Thanks you for your amazing contribution for that. Thanks ❤
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?
What a great tutorial this is! Hat off to you! Keep up this great work!
Brilliant vid.
Keep it up bro
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 watched this video and replicated the same project.Awesome tutorial.Thank you
Thank you, was a great hour!
This was super helpful!
What if I want to use Mysql? Do I just need to change it at the program.cs?
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:)
Beginner friendly❤
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
Thanks for the tutorial, I have a regional issue which is I cannot enter comma delimited values, would you please advice?
tnx a lot, very beginner friendly
Waw.
Bro, you are awesome.
Really good tutorial.
Well done!
Excelent my friend, step by step, congratulations!!!!
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? :)
how to link oracle database to asp net 8?
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.
Thanks, I can't express my words, I was a great help to me.
The data is not saved?
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?
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.
I followed all your instructions but when I update it always adds another entry in the database
Thanks, I can now add ASP into my resume :)
Simplicity of mvc is beautiful
Nice crud app, thank you for the video
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:
ua-cam.com/video/gQ2yBG3-jKI/v-deo.html
Enjoy
@@tutorialsEU thanks 😊
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 ;)
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
Mindblowing surely will subscribe.
Glad to see you in our membership now 🚀
Great tutorial, thanks 👍
Do you have similar tutorial on storing data in SQL Server without using entity framework or may be using APIs or Store procedures?
Sure Shot tutorial 🙏
Damm legend
25:35
i like your style
49:23
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
Great
👉 *promosm*
Thanks a lot the Tutorial was on point and simple I like it thanks it was very helpful!
30:36