Build CRUD with .NET 6 Web API & Entity Framework Core

Published: 10 June 2022
on channel: Mohamad Lawand
11,918
347

In this video we will be going to be creating a .NET 6 Web API with EF Core.

Support me on Patreon to access the source code:
  / mohamadlawand  

00:00 intro
00:10 Course Overview
01:03 Creating the application and overview
07:04 Creating Models
10:08 Creating the Controller
19:32 Creating the First Get Action
22:51 Creating an InMemory-Db
28:18 Creating a Get Action for specific Item
32:59 Creating Post Action
41:19 Creating Patch
44:18 Creating Delete Action
46:29 Install EF Core tools
47:25 Install EF Core nuget packages
50:54 Adding Database Connection String
52:58 Creating App Db Context
53:58 Configuring Program.cs with EF Core
56:13 Update the App Db Context
01:01:43 Creating first database migration script
01:03:37 Creating the database and implementing the migration script
01:06:41 Adding AppDbContext to the controller
01:07:48 Updating actions to utilise Database rather then In-Memory Database

Some helpful videos
.Net Middleware:    • Asp.Net Core - Middleware  
Dependency Injection:    • Asp.Net Core - Dependency Injection -...  

Let us connect:
🌍 My website - https://mohamadlawand.com
📸 Instagram -   / mohamadlawand087  
🐦 Twitter -   / moe23  
♯ Github - https://github.com/mohamadlawand087
🎫 LinkedIn -   / mlawand  
💥 LinkTree - https://linktr.ee/mohamadlawand

Gear I use (affiliate link): https://amzn.to/3EbT8Jw

Support my work:
  / mohamadlawand  
https://www.buymeacoffee.com/mohamadl...

Hire Me:
https://transactions.sendowl.com/prod...

WHO AM I:
I'm Mohamad, a Enterprise Architect working in Manchester, UK. I make videos about web, cloud, desktop and mobile development.

GET IN TOUCH:
If you’d like to talk, I’d love to hear from you. Tweeting @moe23 directly will be the quickest way to get a response, but if your question is very long, feel free to email me at [email protected].

#WebApi #dotnet #CRUD


Watch video Build CRUD with .NET 6 Web API & Entity Framework Core online without registration, duration hours minute second in high quality. This video was added by user Mohamad Lawand 10 June 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 11,918 once and liked it 347 people.