CRUD Operations using ASP.NET Core MVC, Entity Framework and SQL Server | Create Read Update delete

  Рет қаралды 53,623

Codinblue

Codinblue

Күн бұрын

How to perform CRUD operations using ASP.NET MVC and Entity Framework Core. How to connect to SQL Server using Entity Framework and ASP.NET Core Web Application (Model-View-Controller). How to perform CRUD operations using EF and SQL Server Database. How to upload images to ASP.NET.
###########################
Source Code on Patreon : / crud-operations-99301298
Full MVC Course on Udemy : www.udemy.com/course/aspnet-c...
Other Udemy Course :
ASP.NET with Razor Pages : www.udemy.com/course/aspnet-c...
ASP.NET Web API : www.udemy.com/course/build-as...
React JS Course : www.udemy.com/course/build-co...
#########################
Video Content
(00:00) Introduction
(01:15) Create Project and Database
(04:11) Install EF Packages
(06:04) Create and Register ApplicationDbContext
(08:50) Create Product Model
(10:35) Create and Fill the Database Table
(14:07) Read Products
(23:22) Create ProductDto Model
(25:44) Create Products - Create the form
(31:39) Create Product - Save Product
(38:02) Update Product - Read Details
(44:43) Update Product - Update Details
(49:07) Delete Product

Пікірлер: 43
@olusegunadeoye6257
@olusegunadeoye6257 2 ай бұрын
Wow, kudos to you. This is short, precise, and beginner-friendly. Touching the area of how to upload & manipulate images makes this tutorial outstanding. I love it.
@aadhiganegoda7298
@aadhiganegoda7298 4 ай бұрын
Really Useful. This was the only video I found that explained Image Uploading that simple. Thank you
@riadhabaidi4534
@riadhabaidi4534 4 ай бұрын
Many thanks from Tunisia for your nice explanation
@maviyomathobela8837
@maviyomathobela8837 Ай бұрын
This was extremely helpful. Much appreciated.
@reachoutrads_1921
@reachoutrads_1921 Ай бұрын
Hats off to you Sir. It was extremely useful and helped me to take a decision if I could switch my career .Net core. Thanks a Lot Sir.
@haiangho927
@haiangho927 Ай бұрын
Thank you. The lecture is so good!
@chernirayen8020
@chernirayen8020 Ай бұрын
best description zeyd m3ana 😍
@sulagnapriyadarsinisahoo406
@sulagnapriyadarsinisahoo406 Ай бұрын
Thank you .This video helps me alot thank for your effort 🎉🎉🎉
@waleilulu
@waleilulu 4 ай бұрын
Vey useful!!! It helps a lot. I am expecting you to make another video by using scaffold to do CRUD.
@garrychauhan7592
@garrychauhan7592 2 ай бұрын
thanxx sir this task will be completed now next
@saurabhmagar08
@saurabhmagar08 18 күн бұрын
Good Explanation Thanks
@ali_murat_plt
@ali_murat_plt 3 ай бұрын
thanks for all bro.
@nitro-boy09
@nitro-boy09 Ай бұрын
It would be great to include Repository classes, Dependency Injection and Unit Test class in the future.
@lulu-xp7mf
@lulu-xp7mf 22 күн бұрын
thank you man
@Zola2010
@Zola2010 5 ай бұрын
Thank you for the work you do . Can you please make an example with the relationship between the tables of the database?
@mejdikarmani7249
@mejdikarmani7249 Ай бұрын
Very Interesting... Would it be possible to prepare a video on Blazor?
@charansg2551
@charansg2551 5 күн бұрын
Any body knows which IDE is used here VS Code or Visual Studio ?
@ramzanboatofficial5203
@ramzanboatofficial5203 23 күн бұрын
Actual image element cannot display on create view ?
@lokeshbomma1731
@lokeshbomma1731 25 күн бұрын
Unable to edit the image when image is updated the image pic not reflected indicating blank
@bishambashir3915
@bishambashir3915 5 ай бұрын
hello brother how are you will you help in my asp . net project?
@PauloRogerioFreire
@PauloRogerioFreire 3 ай бұрын
Blazor Server ???
@ibnurayhan4165
@ibnurayhan4165 11 күн бұрын
How to fill data base with sql query?
@ramzanboatofficial5203
@ramzanboatofficial5203 23 күн бұрын
Validation is not working for me
@KakashiHatake-wy9on
@KakashiHatake-wy9on 15 күн бұрын
23:41
@Moon-nc9xd
@Moon-nc9xd 3 ай бұрын
Im not able to upload the image, can someone help me.
@mijan-karim
@mijan-karim 3 ай бұрын
Use this - string imageFullPath = Path.Combine(environment.WebRootPath, "products", newFileName); using (var stream = new FileStream(imageFullPath, FileMode.Create));
@itz_rahul_172
@itz_rahul_172 Ай бұрын
kya problem hai
@UmarKhan-mv6zs
@UmarKhan-mv6zs 3 ай бұрын
Hi sir i have followed all the way but sitl getting erors can you please provide me the source code of this project am waiting Thanks
@codinblue1
@codinblue1 3 ай бұрын
source code link in the description
@adasoftsorkari
@adasoftsorkari 6 күн бұрын
new video plz
@AliRaza-zy1zk
@AliRaza-zy1zk 2 ай бұрын
How did it pass id in edit ??? Submit will send dto but where is id parameter? Also update call should be put
@codinblue1
@codinblue1 2 ай бұрын
it is already in the url
@AliRaza-zy1zk
@AliRaza-zy1zk 2 ай бұрын
​@@codinblue1 Oh ok got it.... Thanks :)
@kakamoora7874
@kakamoora7874 7 күн бұрын
i think it's unwant steps to create ProducrDto
@KakashiHatake-wy9on
@KakashiHatake-wy9on 16 күн бұрын
13:11
@no-han
@no-han 22 күн бұрын
can u give me sql file ?
@miguelhenriquemartinscarva3019
@miguelhenriquemartinscarva3019 4 ай бұрын
Hi Bro, I Dont Know Why, But This Code Didnt Return anything , Didnt Saved the Product : [HttpPost] public IActionResult Create(ProductDto productdto) { if(productdto.ImageFileName == null) { ModelState.AddModelError("Imagem", "Imagem obrigatória"); } if(!ModelState.IsValid) { return View(productdto); } return RedirectToAction("Index","Products"); }
@user-nb6xg8jo2h
@user-nb6xg8jo2h 3 ай бұрын
Your code is wrong
@miguelhenriquemartinscarva3019
@miguelhenriquemartinscarva3019 3 ай бұрын
@@user-nb6xg8jo2h Ok, Wich line is wrond
@miguelhenriquemartinscarva3019
@miguelhenriquemartinscarva3019 3 ай бұрын
Please
@gearedup01
@gearedup01 3 ай бұрын
You didnt add the line of code to actually save the product
@miguelhenriquemartinscarva3019
@miguelhenriquemartinscarva3019 3 ай бұрын
@@gearedup01 Ok, Thanks
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 118 М.
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 28 МЛН
Best Toilet Gadgets and #Hacks you must try!!💩💩
00:49
Poly Holy Yow
Рет қаралды 22 МЛН
Это реально работает?!
00:33
БРУНО
Рет қаралды 1,9 МЛН
Wait... PostgreSQL can do WHAT?
20:33
The Art Of The Terminal
Рет қаралды 191 М.
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
freeCodeCamp.org
Рет қаралды 1,5 МЛН
CRUD Operation in ASP.NET Core using Visual Studio 2022
8:04
Code With Yousaf
Рет қаралды 88 М.
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 28 МЛН