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

Опубликовано: 10 Июнь 2022
на канале: 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


Смотрите видео Build CRUD with .NET 6 Web API & Entity Framework Core онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Mohamad Lawand 10 Июнь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 11,918 раз и оно понравилось 347 людям.