Refactoring Minimal APIs with Carter

added by DotNetKicks
8/9/2022 5:29:13 PM

224 Views

In the previous post, we saw what are Minimal APIs and how we can create them in ASP.NET Core 6. In this post, we'll see how we can refactor our Minimal APIs using Carter framework. We had UserRepository in our previous post, I'm using the same repository for this example as well so that I don't have to re-create UserRepository again.


0 comments