.NET 6 Minimal API vs. Web API 🚀 Complete CRUD with EF Core InMemory

Patrick God

🚀 .NET Jumpstart Course: https://www.udemy.com/course/net-core-31-web-api-entity-framework-core-jumpstart/?referralCode=CA390CA392FF8B003518
📧 Newsletter: https://mailchi.mp/364b891b448f/dotnetdev
❤️ Ko-fi: https://ko-fi.com/patrickgod
☕ Coffee: https://www.buymeacoffee.com/patrickgod
💻 GitHub: https://github.com/patrickgod/MinimalApiVsWebApi
🐦 Twitter: https://twitter.com/_PatrickGod
📓 Articles: https://medium.com/@patrickgod

🔥 Blazor E-Commerce Course: https://www.udemy.com/course/blazor-ecommerce/?couponCode=YOUTUBE
🔥 Blazor Bootcamp: https://www.udemy.com/course/blazor-webassembly/?referralCode=647B4EAACD6D8E4E6872

Table of Contents:
00:00 .NET 6 Minimal API vs. Web API
02:59 Create a Minimal API Project
05:24 Create a Controller (Web API)
06:54 Add a VideoGame Model
07:38 Enable Controllers in the Program.cs
08:54 Add Entity Framework Core InMemory
09:58 Implement the DbContext
11:32 Register the DbContext
12:41 Start implementing the CRUD operations (Web API)
14:17 GET Implementations (Minimal API)
15:24 Test GET Calls with SwaggerUI
16:24 POST Implementations (Web API)
17:35 POST Implementations (Minimal API)
19:02 Test POST Implementations
21:14 GET a Single Game (Web API)
22:37 GET a Single Game (Minimal API)
25:37 PUT Implementations (Web API)
27:54 PUT Implementations (Minimal API)
30:24 DELETE Implementations (Web API)
31:39 DELETE Implementations (Minimal API)
33:40 Quick Recap
35:23 Closing Words

🙏MANY THANKS TO THESE LOVELY PEOPLE:
Hermann Rösch
Jeff Sager
Dan Moyer
Mehmet Ali Ege
Jim McNeal
Kieron
@mgrainger231
Gerrit Esmeijer
Axel
Kareem Skinner
Joaquim
Alain Legrand
Per Rieland
@prodrigu75
Greg
Brendan Maunder
Stageoner
Andrew Campbell
pascalditzfeld
PovilasSimanskas
Ameet Jayawant
jenö
Marco Otilli
Mark
FastTrak
l33ter
alibux
g.dassel
Luke Vincent
mrcl
Alain Legrand
Thomas Werner
István Csibor
Grant Burdon
@gianluigiconti
Gerrit Esmeijer
Illia
Németh-Pók István
Michael Mel
Marko Zdilar
GerryB
@DADA_universe
Domen Hren
@heroesch
Carey
Peter De Tender
Baris Keskin
@Big_Bear_27390
Mathias
walter e watkins
Günther Dassel
Axel
Josh
Daniel Huber
Fredric Adell
Juan Carlos
Manolis
Pajani
P.
Jonas Granlund
Bobby
Kristina
@xamarin007

#DotNet #WebAPI #PatrickGod