Minimal API in .NET 6 Using Dapper and SQL - Minimal API Project Part 2

preview_player
Показать описание
Minimal APIs are a new feature in .NET 6 and we are in the process of exploring them. In this two-part series, we are building a complete application that consists of a SQL database, a data access layer using Dapper, and a Minimal API on the front-end. This is part 2, where we wire up our Minimal API for full CRUD access. If you missed part 1, go back and check it out.

Рекомендации по теме
Комментарии
Автор

a part 3 will be good to see some advance things for example pagination or lazy loading and many to many, one to many thank you

mohamaddjelouah
Автор

It's not often I look at code and say to myself, "That is a beautiful solution."
I usually think, "There has got to be a better way" (e.g. whenever I look at Entity Framework or nHibernate code).
This is a beautiful solution.

CharlesBurnsPrime
Автор

This two part series is awesome. I especially appreciate that you showed us everything using Dapper. You have a gift of making complex topics understandable. Thank you so much for sharing your talent with all of us.

travisleroy
Автор

Tim is the stepdad who came back and actually cares about our mom! Thank you

Reapermk
Автор

You have consistently won my trust that the first thing I open your video is a thumb up.

thepianist
Автор

Yet again amazing stuff man. It would be nice to see authorization and roles or claims working with the mapping methods. Or any newer security features that net 6 comes with

IamPali
Автор

I appreciate your presentation style immensely. The asides to talk about why you use Dapper for instance and your reasoning for why you put things in separate files as just two examples of many, adds a significant amount of value.

ronsmith
Автор

First of all, love your videos! Few people are able to explain these things as succinctly as you. I would probably have stuck with the Controller way with this example but this is great way of covering all of the bases with minimal APIs.

JoshuaYates
Автор

I very much like these 2 minimalAPI videos. Really very good Tim.

georgetuccio
Автор

Thanks Tim .. i am such a huge fan of your work and efforts for making such great videos.

I cannot thank you enough. I learnt a lot from your tutorials..

To be very honest with you .. Your tutorials give me two things

1. A whole lot of learning knowledge
2. It also does the ASMR thing when watching your tutorials really late..


So thank you much more..

Stay happy and blessed

khanfaizan
Автор

Thank you for all of your great work, Tim! You're helping out alot and I'm so happy everytime I see your name among the suggestions when I'm searching for a tutorial. Love from Sweden!

emmaleegunnari
Автор

So stoked for this. It’s perfect for a project I’m doing at work, and I was waiting for this to publish 🙂

bensmith
Автор

Hey Tim, I hope you see this comment! I think it would be awesome to see a part 3 or part 4 that goes over writing tests for this minimal setup! Thanks!

airsoftbros
Автор

Originally, I ignored Dapper since I found ORMs to be more of a pain than their worth (e.g. Entity Framework.) However, I just completed your Blazor course that used Dapper and it seemed very good. I am now using Dapper in one of my own (quick and dirty console app) projects and I have to admit, I am very impressed. It was VERY easy to implement and it is very intuitive. They did a really good job putting it together. So yeah, I will be using it going forward.

Oh as an aside, your courses are EXCELLENT! Definitely worth the money.

arnotek
Автор

Thanks Tim! As always, the best tutorials on YouTube.

bob_parr
Автор

Wonderful. Amazing how simple it seems to keep it simple while at the same time do complex things.

Otonium
Автор

Thank you, I appreciate the fact that you provide detailed information and that you take time to explain everything!

Antimatteryogurt
Автор

cool api example.
Suggestion - you could have made the manual testing at the end as unit tests - perhaps part 3 ?

johnnyserup
Автор

This series was fantastic, thanks Tim!

pietsmitsa
Автор

I liked the startup.cs idea too. seemed like a clean separation even if it was busy work.

MADCookieTube