ASP.NET Core MVC CRUD Operations using .NET 8 and Entity Framework Core - MVC For Beginners Tutorial

  Рет қаралды 184,947

Sameer Saini

Sameer Saini

Күн бұрын

Пікірлер: 192
@Lets_develop_it
@Lets_develop_it 8 ай бұрын
Everyone is creating content with automatic features, so many things remain misunderstood. However, you create everything from scratch, and I've been able to understand it all.
@samduss4193
@samduss4193 3 ай бұрын
indian people do have the power of imagination and they can actually make something basic very complicated as something complicated very deep detailed ;) I think it is just the genetics lol
@PM-xi4wl
@PM-xi4wl 8 ай бұрын
Excellent tutorial. Had difficulty finding a video that didnt just use automatic features. This has been so handy!
@MarcDunivan
@MarcDunivan 10 ай бұрын
A good start... so much more functionality to add...form value validation...storing phone number and email address in a standard formatting..storeing Subscribed as 'Y'|'N' values...have a different table name in the database from the Model name...paging/scrolling list when the Students records are bigger... Open Id Connect Azure authentication...foreign key values in the model...modals...popups...layout regions...the "Add""button" on the Students/List page and redirecting back to Students/List on the Add page after "Save"
@SohaibHasan
@SohaibHasan 6 ай бұрын
By far one of the best videos on CRUD operations in .NET Core 8.0 Awesome brother.
@jasnachktkl
@jasnachktkl 9 ай бұрын
Thank you Sameer, Your explanation is awesome. I am a beginner in .NET MVC. But I understood each and every point you explained. Great Job 👏
@ankithtiwari5397
@ankithtiwari5397 Ай бұрын
Great explanation sir, as I am a beginner in ASP. NET I got a better understanding after watching this video. Thank you very much.
@arnavgour506
@arnavgour506 9 ай бұрын
Thank you so much. I was looking for this video and finally landed here. Best explanation.
@pratikpanda889
@pratikpanda889 3 ай бұрын
I have been through lots of .Net Core MVC videos and this is by far the best best tutorial I have ever seen. Thankyou very much
@TechGuyHabib
@TechGuyHabib 7 ай бұрын
Excellent Explanation, I enjoyed my Weekend with your CRUD Tutorial Now I'm bit confident about, (1) Async Method (2) Entity FrameWork (3) dbContext (4) Razor View (5) ViewModel (6) RediretToAction Functionality (7) Controller.
@SameerSaini
@SameerSaini 6 ай бұрын
Glad you liked it
@matthewkk5087
@matthewkk5087 6 ай бұрын
as I know already, async method is that method doesnot wait for previous code it imediatelly starts working. entity framework is all abouth methods u dont need to use SQL Commands thats it i think. dbContext is simple connection. rezor view is html. dont know 5 and 6 :D . and controller is api endpoints (swagger). correct me if I am wrong it will be helpful
@pranjalpandey868
@pranjalpandey868 8 ай бұрын
Sir, You are very intelligent and knowledgeable person Respect++
@karolinamaka8929
@karolinamaka8929 8 ай бұрын
OMG I love this. This tutorial is so good! You explain everything step by step and you made it easy to learn!
@rypki
@rypki Ай бұрын
Thank you very much for this tutorial. I have one question to the situation that happens in 38 minute of the recording: why do you set the output type of the Add method to Task, why can you just leave the IActionResult...?
@JordanDelaCruz-f1t
@JordanDelaCruz-f1t 2 ай бұрын
Thank you for this wonderful tutorial, I learned a lot
@鄭海寅-s8d
@鄭海寅-s8d 3 ай бұрын
Hello. Thank you for your detailed and kind lectures. I am happy to study a lot with the lectures you provide. I think I need to buy paid lectures and study more. Thank you again for your lectures.
@SameerSaini
@SameerSaini 3 ай бұрын
You are welcome, glad you liked the video
@marcouitendaal985
@marcouitendaal985 26 күн бұрын
Very succint. Short and to the point. Without prior knowledge on MVC I wouldn't have been able to follow along, because all kinds of concepts remain implicit. However having stumbled my way through various videos and courses - just finished messing with OutputCache and ActionFilter - I can now just sit and watch this video and see that I properly grasp the basics of MVC interacting with a database through EF. btw I just purchased 3 of your courses on Udemy. looking forward to some more in depth there.
@ableballon8
@ableballon8 8 ай бұрын
This is very cool because it’s like creating a new database from Visual Studio, but not from SQL Server Management Studio.
@karthikn4510
@karthikn4510 4 ай бұрын
Good one😊😊As a Fresher able to understand it easily and build it. Explained in detailed manner. Thankyou Sir😇
@KopparapuTejaswi
@KopparapuTejaswi 2 ай бұрын
Excellent tutorial!! Is there any repo for above code?
@thinkdifferent5809
@thinkdifferent5809 7 ай бұрын
Very glad I found your video, concise and clear instructions sticking to the main topic.
@jaspreetmehra572
@jaspreetmehra572 13 күн бұрын
Hey Sameer, Thank you for the great video! I have one question, how to fetch data from Local DataBase? I did't make use of MS SQL External Database. Thank you!!
@AbdulazeezSule-w4e
@AbdulazeezSule-w4e 4 ай бұрын
Hello nice tutorial. I cannot find dependencies your visual studio is different.
@ableballon8
@ableballon8 7 ай бұрын
Thank you so much Sameer for this tutorial. I really needed it.
@aungyethu9743
@aungyethu9743 5 ай бұрын
Awsome beginner-friendly tutorial! I purchased the complete course on Udemy. Why not!
@SameerSaini
@SameerSaini 5 ай бұрын
Thank you 🙏
@30hi31
@30hi31 6 ай бұрын
Cool asf mate really good video, thank u a lot
@SameerSaini
@SameerSaini 6 ай бұрын
Cheers
@edsonferraz1
@edsonferraz1 11 күн бұрын
Excellent video, congratulations Sameer! Do you help me? A need include the photo of student in DB. You can give me an example code to make this, please.
@duvanm2483
@duvanm2483 8 ай бұрын
Thank you for the Tutorial. Very easy to follow
@SameerSaini
@SameerSaini 8 ай бұрын
Glad you like it!
@aerotheoreo2050
@aerotheoreo2050 8 ай бұрын
Does your full course include FHService, IFHService with the PortalDBContext as well as mapping?
@ShahzadAli-bb1ou
@ShahzadAli-bb1ou 20 күн бұрын
Simply Great !
@samolyuthpanha
@samolyuthpanha 2 ай бұрын
Thank you so muc for this useful video!
@IrinaTirikos
@IrinaTirikos 6 ай бұрын
Best explanation, very easy to understand. Thank you
@SameerSaini
@SameerSaini 6 ай бұрын
Glad it was helpful!
@jhenssenvega9784
@jhenssenvega9784 2 ай бұрын
thank you for this!!! It really helped me out.
@CodeMeet1
@CodeMeet1 5 ай бұрын
Excellent Tutorial Sir
@ayushikaithwas2957
@ayushikaithwas2957 5 ай бұрын
Best video I ever watch ❤
@helvecioguimaraes
@helvecioguimaraes 3 ай бұрын
Hey, Sameer, many thanks for this. I saw your Udemy courses. Assuming I learned the basic of C# and I want to be able to build web apps integrated with an online database (such as MongoDB), from which course I should start? Assume that I have covered the basics of HTML and CSS as well. Thanks.
@SameerSaini
@SameerSaini 3 ай бұрын
Hi, With all the above info, my MVC course should be a good start, it uses Microsoft sql server but once you understand the basics of the application. Swapping with Mongodb would not be a painful task
@SameerSaini
@SameerSaini 3 ай бұрын
Here's a coupon for you AUG2024
@luisfernandodeolazabalsche3317
@luisfernandodeolazabalsche3317 10 ай бұрын
Hello, thank you very much for the video, I wanted to ask you if you have any crud with pagination?
@alexandercereno4098
@alexandercereno4098 3 ай бұрын
may i ask why did you create another model which is the AddStudentViewModel but its the same in Student.cs?
@edsonferraz1
@edsonferraz1 11 күн бұрын
Sameer, this course do you ofert in Portugues Brazil language?
@Login-it9sq
@Login-it9sq 9 ай бұрын
video just completed it works nicely but i cannot edit phone number i might have made some errors there, but its alright , everything else works nicely, thanks nice view i mean video
@syedmubeenhussain6317
@syedmubeenhussain6317 8 ай бұрын
Thank you sir for creating this best tutorial
@seemahashim7000
@seemahashim7000 8 ай бұрын
Very Good Tutorial
@KuldeepBisht_KD
@KuldeepBisht_KD 8 ай бұрын
I need Database first approach with dapper in asp.net core. Any references please?
@Martin-g8h
@Martin-g8h 3 ай бұрын
Hi Sameer, thank you for the helpful video, I have had an issue with the delete button it was not passing the Id in the Controller simple fix by adding @Modul.Id in the Delete button tag asp-route-id="@Model.Id">Delete has fixed the problem under Edit.cshtml
@naurintanzilla
@naurintanzilla Ай бұрын
Thanks.I was also facing this issue.and solve it after reading your comment
@oyldrr
@oyldrr 6 ай бұрын
Dünkü etkinlik kötü olsa da ülkenin adını kurtardın. 👏
@deeptibaviskar6456
@deeptibaviskar6456 6 ай бұрын
Excellent tutorial,great explaination.
@SameerSaini
@SameerSaini 6 ай бұрын
Glad it was helpful!
@MAUIMS-m4g
@MAUIMS-m4g 8 ай бұрын
Thank you so much Sameer, great video!!!!!!!!!!!!
@starsonearth8952
@starsonearth8952 4 ай бұрын
please do a video on how to add validation in this form
@ruthokoduwa6837
@ruthokoduwa6837 4 ай бұрын
Great tutorial. Simple and well understood. Quick question: I passed the var student to the dbContext.Student.Remove(student); since the id was alread passed to it and it worked. Don't know if I'm actually doing the right thing
@teawithbubble4097
@teawithbubble4097 3 ай бұрын
What do I have to type in "public async Task add(AddTicketViewModel viewModel)" when I have to type in columns from different tables?
@bhaktipande4576
@bhaktipande4576 9 ай бұрын
Very easy to understand.
@scorpioboy2894
@scorpioboy2894 3 ай бұрын
Thanks for the wonderful video ❤🙏
@atirah14
@atirah14 10 ай бұрын
Can you do a tutorial in blazor server and webassembly or blazor web app
@saroshwadia
@saroshwadia 10 ай бұрын
Great video, please create something similar with Blazor .Net 8 using SSR Thx 🙂
@paulantonibriceno3023
@paulantonibriceno3023 9 ай бұрын
Thank you so much Sameer, you were incredible :')
@SameerSaini
@SameerSaini 9 ай бұрын
Thanks Paul
@BbSs-b1e
@BbSs-b1e 7 ай бұрын
Excellent tutorial.Thank you so much.
@SameerSaini
@SameerSaini 7 ай бұрын
You're welcome
@no-han
@no-han 3 ай бұрын
good video for beginer
@charleswanjohi1352
@charleswanjohi1352 6 ай бұрын
Goood Job. Can you provide a video on entity relationships?
@kundankumar0
@kundankumar0 5 ай бұрын
Great Explanation
@ronaldjohnson4470
@ronaldjohnson4470 10 ай бұрын
Sameer, thank you. I have purchased three of your Udemy courses and enjoyed all of them. Do you have any plans for the Blazor .NET 8 tutorials on Udemy?
@Suni777
@Suni777 6 ай бұрын
Really sir good explanation thank you for you valuable time
@JeyaKartheesanS
@JeyaKartheesanS 7 ай бұрын
Thank you! it's really nice content.
@SameerSaini
@SameerSaini 7 ай бұрын
Welcome!
@rajkumarkasaraveni
@rajkumarkasaraveni 8 ай бұрын
Nice Explanation...
@MohammedMisselmany
@MohammedMisselmany Ай бұрын
thx mate, realy good tutorial
@MohammedMisselmany
@MohammedMisselmany Ай бұрын
almost finished with my assignment coz of u, thanks a lot
@Caariin88
@Caariin88 8 ай бұрын
You are the best!
@赛尼木
@赛尼木 2 ай бұрын
thx I finished this.
@codingwalo9994
@codingwalo9994 7 ай бұрын
Sir create one video using database first approach
@chikalawrence8502
@chikalawrence8502 7 ай бұрын
Sir can you do a video on clean architect.
@mohdarwazali3743
@mohdarwazali3743 16 күн бұрын
I want to learn about migration and seeding data. With SQLITE
@yogiswara19
@yogiswara19 3 ай бұрын
Thank you brother!
@ascodes3461
@ascodes3461 4 ай бұрын
Thank You Very Much Man 😍😊
@muhammadyousufsaleem6149
@muhammadyousufsaleem6149 10 ай бұрын
SIr please make a video Blazor and dot net core 8
@sujantuladhar2055
@sujantuladhar2055 3 ай бұрын
https is not running on my laptop how to solve https to run can share making video on channel
@edsonferraz1
@edsonferraz1 11 күн бұрын
You Get more one subscriber.
@Noreply-NFAPReviewGr-3
@Noreply-NFAPReviewGr-3 3 ай бұрын
Is it the community version that you are using?
@SameerSaini
@SameerSaini 3 ай бұрын
Yes
@EricOnYouTube
@EricOnYouTube 5 ай бұрын
What does "InvalidOperationException: The source 'IQueryable' doesn't implement 'IAsyncEnumerable" mean?
@hsegol4257
@hsegol4257 6 ай бұрын
Why we are using http get and post even for updating and deleting. Why we didn't use put and delete http verbs
@mankim6354
@mankim6354 Ай бұрын
how to add another table in database?? sorry im still new with using mssql
@rjstudiocreation3437
@rjstudiocreation3437 9 ай бұрын
great explanation
@aspirees2945
@aspirees2945 8 ай бұрын
Thank you for the video
@ВалерияКудакова-г1й
@ВалерияКудакова-г1й 6 ай бұрын
Hi Sameer Saini ,thanks for explaining. I have trouble with 'edit' method(51:44). My model always empty. HttpPost method not implemented. where did I go wrong? thank you in advance [HttpGet] public async Task Edit(int SystemID) { var systems = await dbContext.MoV.FindAsync(SystemID); return View(systems); } [HttpPost] public async Task Edit(Systems viewModel) { var systems = await dbContext.MoV.FindAsync(viewModel.SystemID); if (systems is not null) { systems.Systema = viewModel.Systema; systems.PROD = viewModel.PROD; systems.PREPROD = viewModel.PREPROD; systems.TEST = viewModel.TEST; systems.V1 = viewModel.V1; systems.V2 = viewModel.V2; systems.V3 = viewModel.V3; systems.V4 = viewModel.V4; systems.V5 = viewModel.V5; systems.V6 = viewModel.V6; systems.V7 = viewModel.V7; systems.V8 = viewModel.V8; systems.V9 = viewModel.V9; systems.V10 = viewModel.V10; systems.V11 = viewModel.V11; systems.V12 = viewModel.V12; systems.V13 = viewModel.V13; systems.V14 = viewModel.V14; systems.V15 = viewModel.V15; systems.V16 = viewModel.V16; await dbContext.SaveChangesAsync(); } return RedirectToAction("List", "Add_System");
@rubinrodriguez6185
@rubinrodriguez6185 4 ай бұрын
Hello Sameer, I was getting a error while creating add method I tried to access dbContext.Students to call AddAsync method as you did but it says cannot find Students in dbContext can you help me?
@SameerSaini
@SameerSaini 4 ай бұрын
Check your dbcontext file if you have added the students property
@aymenbachiri-yh2hd
@aymenbachiri-yh2hd Ай бұрын
Thank you so much
@matsoft.oficial
@matsoft.oficial 6 ай бұрын
GRACIAS POR COMPARTIR TUS CONOCIMIENTOS ... LIKE
@ramaws013kumar
@ramaws013kumar 6 ай бұрын
Hi Sameer , first of thanks for explaining .net in very precise manner but i am stuck at 38:59 where i am hovering viewmodel but not getting the info back so that i can go ahead, can you please help me why i am not getting .
@SameerSaini
@SameerSaini 6 ай бұрын
Hi, Check if your View is properly configured and the Form tag is there, and the button has a submit attribute
@viralpatel5566
@viralpatel5566 5 ай бұрын
Hey ramaws I am stuck on the same page, please help me if your issue resolved ..
@yking3367
@yking3367 5 ай бұрын
@@viralpatel5566 same im also stuck at that instance only
@zhack2395
@zhack2395 Ай бұрын
How do I unit test? sorry just a beginner.
@gauravojha2551
@gauravojha2551 6 ай бұрын
hi we can use httpput for the edit then why you have used httppost?
@justnazmus8140
@justnazmus8140 10 ай бұрын
great video sameer.
@dawidolino9398
@dawidolino9398 10 ай бұрын
do you plan on creating a project using angular/react frontend?
@dawidolino9398
@dawidolino9398 10 ай бұрын
also we'd like to see one tutorial with authentication since there are not many good tutorials here on youtube
@masudp27
@masudp27 2 ай бұрын
Thanks!
@SameerSaini
@SameerSaini 2 ай бұрын
Appreciate your support 🙏
@MangeshGaikwad-u2u
@MangeshGaikwad-u2u 9 ай бұрын
Great Video ,thank you so much making .
@SameerSaini
@SameerSaini 9 ай бұрын
You're welcome 😊
@MarcinScholke
@MarcinScholke 8 ай бұрын
good example
@Chefrachida
@Chefrachida 10 ай бұрын
Great video, thank you. Is it possible to get the source code of this tutorial? Plus I would like to buy a coffee.
@geepy5708
@geepy5708 10 ай бұрын
I'm yet to see an mvc project with authentication
@hammodh500
@hammodh500 10 ай бұрын
u can select individual accounts when creating the project to have registration, login, logout, forgot password and email confirmation
@M_Tarenijr
@M_Tarenijr 20 күн бұрын
I creat that project but i lag some where i can't find out my problem. Sir can you guide me
@NaveedAhsan-po1wh
@NaveedAhsan-po1wh 6 ай бұрын
I want to Learn Complete Course , Can U Allow me , If i have no money to buy your tutorial
@user-fw1ld
@user-fw1ld 6 ай бұрын
Very helpful
@SameerSaini
@SameerSaini 6 ай бұрын
Glad it was helpful
@niahkustaa995
@niahkustaa995 4 ай бұрын
the best thank you
@codewithgilly
@codewithgilly 8 ай бұрын
can you create one course for microservices in udemy
@nurmuhammad2175
@nurmuhammad2175 7 ай бұрын
Thank you!
@jayjorneypua8174
@jayjorneypua8174 10 ай бұрын
I kept doing save but its not showing the details that I input to the form back to the viewModel. Why is that?
@amishasharma348
@amishasharma348 7 ай бұрын
add-migrarion m error aa rha hai...commandnotfound... What i do
@inshaqamar2680
@inshaqamar2680 4 ай бұрын
Please explain it. I also got a problem in migration
When u fight over the armrest
00:41
Adam W
Рет қаралды 32 МЛН
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,9 МЛН
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 6 МЛН
.NET and C# are in trouble. Here is what I'd do.
10:57
Ed Andersen
Рет қаралды 104 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 259 М.
Is Asp.NET Core Better than Node.js
13:35
Gavin Lon
Рет қаралды 9 М.
Clean Code - Uncle Bob / Lesson 4
1:30:36
UnityCoin
Рет қаралды 310 М.
C# tutorial for beginners - C# and ASP.NET from scratch with C# 12
1:08:35
When u fight over the armrest
00:41
Adam W
Рет қаралды 32 МЛН