.NET 7 Minimal API for Beginners 🚀 Full CRUD in 10 Minutes!

Поділитися
Вставка
  • Опубліковано 5 січ 2025

КОМЕНТАРІ • 38

  • @edsonrodrigues8143
    @edsonrodrigues8143 Рік тому +13

    This is the type of video that I miss nowdays in the internet, simple, straightfoward and efficient. Excellent work!

    • @PatrickGod
      @PatrickGod  Рік тому +1

      Appreciate your feedback! Thanks! 😊

  • @DanielTadeu
    @DanielTadeu 8 місяців тому +1

    Thanks man,
    Very good video, simple and objective.

  • @miguelcalderon3549
    @miguelcalderon3549 Рік тому +3

    Thank a lot, Excelent Video, full CRUD in a nut shell. the expample that i was looking for ...

  • @horizon6309
    @horizon6309 Рік тому +2

    Awesome tutorial. Concise and very useful.

  • @Niter88
    @Niter88 Рік тому +3

    That's the best video on how to make a simple API.

  • @bobbastian760
    @bobbastian760 3 місяці тому +2

    Brackets is the UK word
    Parenthesis is the US word
    Both are correct.

  • @xxxxxx5754
    @xxxxxx5754 8 місяців тому

    why should someone use dotnet core mvc compared to the minimal api anymore? if i render everything on the server like the mvc stuff does it comes with lower performance

  • @sayedbintaher2664
    @sayedbintaher2664 2 роки тому +1

    Can you please make a microservice video?? It would be really helpful. Thank you

  • @chisangamumba2961
    @chisangamumba2961 2 роки тому +1

    Can this be connected to a database?

  • @AthelstanEngland
    @AthelstanEngland Рік тому

    Thanks. Newbie question. Would a third party consuming the API know that this was minimal API as opposed to an controller (MVC) api?

  • @sebastianmantelli533
    @sebastianmantelli533 2 роки тому

    but how do we consume this endpoints tho D:

  • @chezchezchezchez
    @chezchezchezchez 2 роки тому

    Patrick! I need help. I’m making my first Web assembly app, and I’m trying to figure out how to deploy it. Do I put the API/server/wasm components under the same folder on my server or not? Thanks so much.

    • @PatrickGod
      @PatrickGod  2 роки тому +1

      Hey Jim, Thanks for reaching out. I've got another video for that. Hope this helps: ua-cam.com/video/IkveZO9TZtU/v-deo.html

    • @chezchezchezchez
      @chezchezchezchez 2 роки тому

      @@PatrickGod
      Thanks for getting back to me!
      I get:
      Loading...
      An unhandled error has occurred. Reload 🗙

    • @chezchezchezchez
      @chezchezchezchez 2 роки тому

      Failed to load resource: the server responded with a status of 404 (Not Found)
      blazor.webassembly.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
      favicon.ico:1 Failed to load resource: the server responded with a status of 503 (Service Unavailable)
      app.css:1 Failed to load resource: the server responded with a status of 404 (Not Found)

  • @kurtnelle
    @kurtnelle 2 роки тому +1

    is it possible to add MapGets at runtime? i.e. Would it be possible to read a database and generate an API for it?

  • @abdullahm.3363
    @abdullahm.3363 2 роки тому +1

    I don't understand why should one use minimal api instead of regular wer api core controller.

    • @Neolisk
      @Neolisk 2 роки тому +3

      Hello world app to get started. Sometimes when things are too complex, it discourages newcomers from even starting.

    • @abdullahm.3363
      @abdullahm.3363 2 роки тому

      @@Neolisk
      🤔

    • @mistymu8154
      @mistymu8154 Рік тому +1

      It reduces boilerplate and overhead which is useful for micro services. You would still use Dtos, Models, Repository and put the routes in a separate file rather than putting everything in the Program.cs.

    • @abdullahm.3363
      @abdullahm.3363 Рік тому

      @@mistymu8154
      Thanks for the explanation
      I later on found out the same, namely that they are to be used in areas where there are limited resources in cpu, memory etc.
      I just think the guys at Microsoft should do a better job in explaining when minimal api is relevant.

  • @hetshah4616
    @hetshah4616 2 роки тому +1

    There is a doubt regarding api, my problem is how to consume jwt token in controller for login, and etc.

  • @testg4andmmm129
    @testg4andmmm129 Рік тому

    This looks nice.
    But İ dont where will i use this.

    • @krccmsitp2884
      @krccmsitp2884 Рік тому

      Wherever you used API controllers before.

  • @kurtnelle
    @kurtnelle 2 роки тому

    Let me guess, all the classes you're trying to return should be Json Serilizable, and should have their properties decorated as such?

  • @new-anointingaremu3597
    @new-anointingaremu3597 Рік тому +2

    Is it just me or this looks a lot like JavaScript syntax

    • @mistymu8154
      @mistymu8154 Рік тому

      Yes, it is similar to Express.

  • @dotnetdevni
    @dotnetdevni 2 роки тому

    This is just for protoyping even Microsoft says this in there documentation

    • @allannielsen4752
      @allannielsen4752 2 роки тому +3

      Using it in enterprise. Performance alone makes it worthwhile.

    • @davidfowl
      @davidfowl 2 роки тому +4

      It’s not just for prototyping

  • @zimcoder
    @zimcoder Рік тому

    every minimal api tutorial seems to be using only the program.cs file.. not practical

  • @kellvivar
    @kellvivar Рік тому

    this is Laravel 😂

    • @mistymu8154
      @mistymu8154 Рік тому +1

      Except you don't have to use PHP.