Skip to content
0:00 / 0:00

#dapper#dotnet#minimalapis

Building a Dapper CRUD API From Scratch In .NET 7 - For Beginners

Milan Jovanović

169K subscribers • 11 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Milan Jovanović
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Beginner. No background in the topic needed.

35K views3 years ago1 recommendation

Databases and dataWeb developmentC# and .NETSQLHTTP, REST and GraphQL

Milan Jovanović demonstrates how to build a complete CRUD Minimal API using Dapper and .NET 7.

☄️ Master the Modular Monolith Architecture: bit.ly/3SXlzSt 📌 Accelerate your Clean Architecture skills: bit.ly/3PupkOJ 🚀 Support me on Patreon to access the source code: patreon.com/milanjovanovic Dapper is a micro-ORM for SQL databases. It provides simple querying capabilities, and it's also one of the fastest ORMs in the market. Dapper is often compared to EF, but I consider them complementary tools. In this video, I'll show you how to build a complete CRUD API using Dapper and .NET 7. This will be a beginner-friendly video. Join my weekly .NET newsletter: milanjovanovic.tech Read my Blog here: milanjovanovic.tech/blog Subscribe for more: youtube.com/@MilanJovanovicTech Chapters: Creating a Minimal API with .NET 7 Installing Dapper and adding the connection string Adding a class to represent the database table Creating the GET endpoint to fetch all customers Moving Minimal API endpoints to a static class Implementing the SqlConnectionFactory Creating the GET endpoint to fetch a single customer Adding the POST endpoint for creating customers Implementing the PUT endpoint for updating a customer Creating the DELETE endpoint for deleting a customer Using a Route Group to simplify Minimal APIs

Why it's here

1 person recommends this

What people say. Recommended as a helpful tutorial for getting started with Dapper without Entity Framework.

u/UnremarkabklyUselessin r/dotnet • Recommends

On “.NET without Entity Framework”

There are a few tutorials on YouTube about getting started with Dapper. You could sample them and follow the one you like. link to this video link to this video link to this video link to this video link to this video link to this video