Build CRUD API with Dapper in .NET 9 | ASP.NET Core Web API Tutorial with SQL Server

Publié le: 29 janvier 2025
sur la chaîne: Poorna Soysa
4,868
141

🐢 Is EF Core slowing you down?
Speed up your inserts by up to 14x and reduce saving time by 94% with Entity Framework Extensions. Enhance performance with support for Bulk Insert, Update, Delete, and Merge — all fully integrated into EF Core. Trusted by 5,000+ developers since 2014.
👉 Check it out here: https://entityframework-extensions.net

In this ASP.NET Core tutorial, you'll learn how to build a CRUD API with Dapper in .NET 9. We’ll walk you through creating a fully functional API using Dapper as the micro ORM, leveraging SQL Server for the database. This video covers key topics like creating endpoints, fetching data, inserting new records, updating products, and deleting records. We’ll also touch on best practices, such as using parameterized SQL queries for security and performance. Don't miss this chance to improve your API development with Dapper and take your ASP.NET Core projects to the next level.

📚 Learn More:
➤ .NET 9 - Implementing Repository Pattern with Minimal API & SQLite | Entity Framework Core Tutorial:    • .NET 9 - Implementing Repository Pattern w...  

➤ New LINQ Methods in .NET 9: CountBy, AggregateBy, Index | Beginner-Friendly .NET Tutorial:    • New LINQ Methods in .NET 9: CountBy, Aggre...  

Connect with me 👋:

► GITHUB: https://www.github.com/poorna-soysa
► LINKEDIN:   / poorna-soysa  
► TWITTER:   / techpoorna  

👉 Support my work:
https://www.buymeacoffee.com/poorna.s...

Don't Forget to:
👍 Like this video if you found it helpful
🔔 Subscribe for more coding tutorials
💬 Comment if you have any questions or suggestions

Chapters:
0:00 Intro
0:12 What is Dapper?
0:45 Setting up Projects
0:54 Install NuGet packages
1:20 Implement CRUD Endpoints
1:50 Implement the GetAllProuducts Endpoint
4:50 Implement the CreatProduct Endpoint
6:50 Implement the ProductDbContext
8:54 Implement the GetProductById Endpoint
10:44 Implement the UpdateProductById Endpoint
12:50 Implement the DeleteProductById Endpoint

#aspnetcore #dotnetcore #dapper #dotnet #csharptutorial #aspdotnetcore #csharp


Sur cette page du site, vous pouvez voir la vidéo en ligne Build CRUD API with Dapper in .NET 9 | ASP.NET Core Web API Tutorial with SQL Server durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Poorna Soysa 29 janvier 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,868 fois et il a aimé 141 téléspectateurs. Bon visionnage!