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
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.
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)
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.
@@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.
This is the type of video that I miss nowdays in the internet, simple, straightfoward and efficient. Excellent work!
Appreciate your feedback! Thanks! 😊
Thanks man,
Very good video, simple and objective.
Thank a lot, Excelent Video, full CRUD in a nut shell. the expample that i was looking for ...
Awesome tutorial. Concise and very useful.
That's the best video on how to make a simple API.
Glad it was helpful!
Brackets is the UK word
Parenthesis is the US word
Both are correct.
Thank you! 😊
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
Can you please make a microservice video?? It would be really helpful. Thank you
Can this be connected to a database?
Thanks. Newbie question. Would a third party consuming the API know that this was minimal API as opposed to an controller (MVC) api?
@@glenthomas16 thanks.
but how do we consume this endpoints tho D:
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.
Hey Jim, Thanks for reaching out. I've got another video for that. Hope this helps: ua-cam.com/video/IkveZO9TZtU/v-deo.html
@@PatrickGod
Thanks for getting back to me!
I get:
Loading...
An unhandled error has occurred. Reload 🗙
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)
is it possible to add MapGets at runtime? i.e. Would it be possible to read a database and generate an API for it?
I don't understand why should one use minimal api instead of regular wer api core controller.
Hello world app to get started. Sometimes when things are too complex, it discourages newcomers from even starting.
@@Neolisk
🤔
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.
@@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.
There is a doubt regarding api, my problem is how to consume jwt token in controller for login, and etc.
This looks nice.
But İ dont where will i use this.
Wherever you used API controllers before.
Let me guess, all the classes you're trying to return should be Json Serilizable, and should have their properties decorated as such?
No, POCOs will just work.
Is it just me or this looks a lot like JavaScript syntax
Yes, it is similar to Express.
This is just for protoyping even Microsoft says this in there documentation
Using it in enterprise. Performance alone makes it worthwhile.
It’s not just for prototyping
every minimal api tutorial seems to be using only the program.cs file.. not practical
this is Laravel 😂
Except you don't have to use PHP.