ASP.NET Core MVC CRUD - .NET 6 MVC CRUD Operations Using Entity Framework Core and SQL Server

preview_player
Показать описание

In this video, we are going to create an ASP.NET MVC CRUD app using Entity Framework Core and SQL Server. We will use .NET 6 MVC template in Visual Studio 2022 to create this CRUD app.

This is a Model View Controller pattern which is a very famous architecture pattern in software design and is equally popular when clubbed together with the ASP.NET framework

We will use Bootstrap 5 in this ASP.NET MVC website to style our pages.

We will install EF Core packages and use the code-first approach to create our SQL Server database.

This will be a great ASP.NET Core MVC Tutorial for beginners and for those who have already worked in ASP.NET MVC before, this video would be a great refresher.

⭐ Video Timeline
00:00:00 Introduction
00:00:30 Demo
00:01:20 Create New ASP.NET 6 MVC App
00:04:10 Install Entity Framework Core (EF Core)
00:16:40 Create New Controller - Add Action Method (MVC)
00:32:16 Create Employee List Action Method
00:41:40 Create View/Edit Employee Page
00:54:30 Delete Employee Controller Action Method and View

#aspnetcore #net6 #mvc

Рекомендации по теме
Комментарии
Автор

I used this tutorial to refresh my memory.
And i loved it.
This is a great tutorial!
Thanks for your time and afford!

suleymanyavas
Автор

The CRUD example is really easy to understand and intuitive. Thanks for the guide!

huywarrior
Автор

The first EF core in visual studio 2022 I have benefited from. Thank you very much.

abdelmonemabdelkhalek
Автор

Cám ơn b nhé, tôi đang học tại cao đẳng fpt, ngày mai tôi thi môn này (C#4 ), Tôi đã bỏ cả kì, may mắn khi tôi đã tìm được video của b và tôi đã xem, tôi đã lấy lại tự tin sau khi xem lại video của bạn hơn 20 lần, cám ơn vì đã tạo ra video này <3

worldwideart
Автор

thank you. it was a nice practice of MVC, forms and model binding. people can develop it adding repository pattern, automapper etc. looking forward to seeing more!

caneriko
Автор

Thank you. I was working my project since 2 days. I had a CRUD operations problem . I watched this video and I solved the problem.

cmL
Автор

Hey thanks for this tutorial. I had real issues connecting to the database with other tutorials but once I found yours I was able to learn everything I needed and connecting became a snap.

damionmccoy
Автор

Wow, This is a really great tutorial. You made connecting the DB connection part really easy. Explained why we write each code clearly. Thank you☺

shehan.akalanka
Автор

Great tutorial i needed this to refresh my memory. Its been a year since i graduated from cs but i forgot about these. Thanks for everything

pizzalover
Автор

As I am yet to migrate to Visual Studio 2022, I had some confusions about setting up the dbcontext part for .Net Core 5.0. Once done, I was able to create the whole solution using Visual Studio 2019 community edition. Thank you Sameer, I wish I had access to a video like this one couple of years back! Now, I am restarting a project that was suspended because I couldn't get my head around the .Net Core stack two years back. Thanks once again.

Windowsbugs
Автор

Everything is par excellence. Keep up the good work. You are collecting tons of blessings.

ramanujasawa
Автор

I spent more than 8 hours looking this type of cream. imagine the garbage loaded on youtube that is blocking us from getting this great of the greatest cream. this is full cream nothing less.

donavan
Автор

This is the first EF core in visual studio 2022 I have got benefit from. Thank you very much.

govindsharma
Автор

12:38 thank you man, everyone else was confusing and the documentation was not straight forward on how to create a db and table on my local db visually shown on the "SQL Server Object Explorer". You solved my problem in a few minutes after one hour of searching the web.

jimba
Автор

I am very impressed with the details that he gives I literally understood everything ...every second is worth watching

darshanshah
Автор

This is a great tutorial. I found it pace at the right speed and explain with sound illustrations. And it is done in VS 2022.

ivysoftTube
Автор

📢📢Attention Udemy Business Users:
I have created this lovely 13+ hour course on Udemy but Udemy has changed their policies for a course to be selected for Udemy Business.
I know that a lot of you use Udemy for Business but you won't be able to access this course there 😥.
But you can help me and many others get this course on Udemy Business. 😃


All you have to do is to suggest this course to Udemy by following this link and filling a form:

It's a simple contact form where you have to submit this course to Udemy and if Udemy gets enough suggestions, they then consider it for Udemy business,
➡This is the link for the course

I would ask you to please use the link and do suggest this course to Udemy and if you could also ask your friends and colleagues to do the same, then it will help this course get listed on Udemy Business.

Thanks,
Sameer

SameerSaini
Автор

You are the only person who made a clear easy to understand example of how to create a database and add data to it. Thank you man

darioes
Автор

Thanks for the wonderful lesson. Everything became very clear.

wwjeccj
Автор

Too good to be real! Thanks a lot, my dude!

fray