ASP.NET Core Web API CRUD With Entity Framework - Full Course ⭐ [.NET6 API]

preview_player
Показать описание
Full ASP.NET Courses 🚀

👉 Build ASP.NET Core Web API - Scratch To Finish

👉 ASP.NET Core Razor Pages - Scratch to Finish

👉 Complete ASP.NET MVC Course

👉 Build Amazing Apps With ANGULAR and ASP.NET Core REST API

Learn how to create and build an ASP.NET Core Web API From scratch using C# and .NET 6.

We will create a REST API in C# and we will use the latest version of ASP.NET i.e. ASP.NET 6.

In this video, we will go step by step and we will create an ASP.NET Core API that will perform CRUD operations in a SQL Server database.
CRUD stands for Create, Read, Update and Delete.

We will follow REST patterns while building our .NET API.

We will first install Entity Framework Core In-Memory Database and we will use this database to perform CRUD operations as we are building our ASP.NET Web API.

We will then change our implementation to use a SQL Server database and use Entity Framework Core (EF Core) to perform the CRUD operations in our ASP.NET Core API.

⭐️ Course Contents ⭐️
0:00:00 Introduction
0:00:45 Create ASP.NET Core API Project
0:01:29 Looking At The Project
0:03:43 Install Entity Framework Core In-Memory Database
0:04:30 Create Domain Model
0:05:45 Create DbContext Class
0:07:30 Inject DbContext To Services - In Memory Db
0:09:00 Create Controller
0:10:30 Create Get All Contacts Method
0:14:15 Create Add Contact Method
0:21:15 Create Update Contact Controller Method
0:30:30 Create Get Single Contact Method
0:33:10 Create Delete Contact Controller Method
0:39:00 Use EF Core SQL Server Database

Hope you like this ASP.NET Core Web API and it gives you a good idea of the .NET 6 API.
REST API C#.
We saw how easy it was to use Entity framework core along with the ASP.NET Web API ad we used both an In-memory database with Entity framework and also created a SQL Server database using EF Core migrations.
dotnet core web api tutorial.
If you loved this Web API using ASP.NET Core, please give the video a like and subscribe to my channel.

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

I don't usually leave comments, but decided to make an exception here. This is a fantastic video and helped me a lot! Thank you !

assignments
Автор

This tutorial was revelation for me. Right rhythm, explanations...all in all, it helped me to unlock the door of what I have been missing and what previous tutorials lacked. Great stuff man and you have one more subscriber! I will keep learning from you.

brankoprosic
Автор

I found this tutorial really great, considering I am not having any C# background. But your explanation made it very easier for me to understand the concepts. Thanks for your effort!!

PushpendraKrSingh
Автор

Seriously!! Precise content, great explanation and clear voice. I tried creating an api for the first time and I could do it... replaced ur connection string with an azure sql connection string and it still worked fine.

aartiraut
Автор

Thanks for posting. This is the most clear video I have seen on Web api and entity framework with out confusing viewers.

khalidsultani
Автор

It's Abstract point to point explanation to Web API not like other youtuber who just waste our time for no reason... Thank you so much...

prajwalbayaskar
Автор

Simple and direct to the point, amazing!

rossetti
Автор

Simple, precise and accurate! Great Explanation

gerardoramirezvillarreal
Автор

Hello, Sir,

Thank you so much for putting in the time and effort to create these tutorials. It's simply incredible. The best part is that it is simple to grasp and has a thorough explanation.

Thank you very much once more!❤

rajkapooryadav
Автор

Great tutorial, I had some hiccups following along but I managed to get it working. Thanks!

EriCKtheGeneric
Автор

Fantastic tutorial! I believe the logic for PUT method could have been more aligned to the standard wherein an upsert operation is performed: creation of a new entry in the database if an already existent is not found.

marflage
Автор

this is literally the best video explaining building an API I have ever seen, I have for days been trying to understand from different videos how are things done, and why they are done the way they are done.
you are the only one to explain in such a calm and good way with a fairly simple project and did not fill my head with 10000 other things that i dont need to know as a beginner.
Thank you so much!

Leo_Aranji
Автор

That was straightforwad, Forever greatful!🙏🙏🙏

tendainmupezeni
Автор

I rarely comment on youtube videos, but as someone who has struggled a lot with grasping basics of the .net architecture, I have to applaud you for making the most sensible and comprehensive guide I've come across (and trust me, I've been through MANY of them). Thank you, and I will make sure I come back to your channel for more in the future

PS: for people who encounter the "A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)" Error upon running the "Update-Database" command in NPM, add "TrustServerCertificate=True" at the end of your connection string. Peace

abdullahyousaf
Автор

Awesome tutorial. To the point and crystial clear. Thank you for making this video

myHandleNotAvailableYet
Автор

Great Tutorial Watched the Whole Video alone with implementation I learn a lot of new things Few things I did according to my way the way I like to do...But You are the Best
I would definitely Recommend everyone to Watch this video

Wi_KiJomPom
Автор

Thank you sir well spoken. The tutorial that actually worked. Others didn't for me.

pluto
Автор

You are a life saver! Thank you for this video and your step by step explanation!

llvkfir
Автор

No word for appreciation. Wonderful.
The presentation was superb.

biswadip
Автор

It was an excellent tutorial.
It was very precisely explained.
❤️

vaibhavvatsal