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

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

Poorna Soysa

55 лет назад

1,623 Просмотров

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: https://youtu.be/bOJLgzU4M74

➤ New LINQ Methods in .NET 9: CountBy, AggregateBy, Index | Beginner-Friendly .NET Tutorial: https://youtu.be/unqWxgUmDAY

Connect with me 👋:

► GITHUB: https://www.github.com/poorna-soysa
► LINKEDIN: https://www.linkedin.com/in/poorna-soysa/
► TWITTER: https://twitter.com/TechPoorna/

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

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

Тэги:

#dotnet #.net #dotnet_tutorials #.net_tutotials #dotnet_for_beginners #c# #c#_tutorial #asp.net #dotnet_core #asp.net_core #asp.net_core_tutotrial #csharp #asp.net_core_web_api_tutorial #asp.net_core_web_api #dapper #dapper_tutorial #dapper_c# #dapper_orm #dapper_crud_in_.net_core_web_api #building_restful_api_with_asp.net_core_and_dapper #c#_dapper_tutorial #dapper_crud_operations_in_asp.net_core_web_api #dapper_orm_.net_tutorial #asp.net_core_dapper_tutorials #dapper_sql
Ссылки и html тэги не поддерживаются


Комментарии: