Industry Level REST API using .NET 6 - Tutorial for Beginners

  Рет қаралды 280,344

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер: 218
@mz1710
@mz1710 Жыл бұрын
So many negative comments. As a lead dev who has been building apis for a long time even I picked up some new stuff here. Look beyond the specific implementations and see the concepts. Good demo and talk, thanks.
@srdjus4064
@srdjus4064 7 ай бұрын
Finally a video with nice pace, and without spending too much time on explaining basic stuff.
@ipoop4359
@ipoop4359 Жыл бұрын
This tutorial is more for people who have experience in building RESTFULL applications. I used to make them in javascript and now I switched to C# so its more like a refresher for the syntax
@memoryleakerz
@memoryleakerz 6 ай бұрын
Hell yeah! same here, from TypeScript to C#, which feels a bit more natual than JS -> C#, but I cannot believe how rich the .NET Framework is! And how is it from the first line of code, has the feeling to that it was built for industry standards. Just a great way of building APIs
@sepi4
@sepi4 Жыл бұрын
Wow that teacher is in a hurry! Would nice to see this without copilot and with more explanations.
@csilipo
@csilipo 2 жыл бұрын
Hi, I like the way you quickly go thru the tutorial. Some presenters spend hrs on just one concept. Tks Carlo
@amantinband
@amantinband 2 жыл бұрын
This was a fun one to make. Really eager to hear what you think! 🤙🏼
@jan0195
@jan0195 2 жыл бұрын
This is the best video on the topic that I've seen.
@TuanAnhVan-z2j
@TuanAnhVan-z2j 8 ай бұрын
please, can i have the extension that open a window and you select options to generate code for Constructors,.. and other action sir? thank you
@TuanAnhVan-z2j
@TuanAnhVan-z2j 8 ай бұрын
FOund it guys. I think it is the IntelliCode hotkey that he used which is Ctrl + .
@broutality
@broutality 2 жыл бұрын
Copilot is fun and all, but on a tutorial for beginners it's really annoying pausing the video all the time to go back and check what you wrote because it suggested it and you moved on :) Really nice tutorial!!
@aronreis
@aronreis 2 жыл бұрын
I actually had to open his repository to know what exactly was on the screen because he doesn't use word wrap
@mikicerise6250
@mikicerise6250 Жыл бұрын
Yeah. You can follow if you're just beginner with REST API stuff, not C#, but basically a lot of namespaces and boilerplate code gets generated for him very fast by his AI assistant. Personally I think it's better to write it all out yourself when you're doing katas like this. It's kind of worth it though to hear him say "yeeeessssssss" every time he approves of some AI suggestion. 😍
@zZzlBoredlzZz
@zZzlBoredlzZz Жыл бұрын
You can still pause and type the block. The video would be quite a bit longer if he had to type it all out every time. It's not as bad as a time skip where suddenly there's 50 extra lines of code.
@andregraes
@andregraes 2 жыл бұрын
it's the first time I set the speed of the video to 75%! But it's a great content! Thank you!
@romanemul1
@romanemul1 2 жыл бұрын
I think this video is only for refresher purposes. Nothing new can be learned since nothing is explained.
@pritpalsingh5927
@pritpalsingh5927 Жыл бұрын
all i will remember from this tutorial is that every time the code get suggested, he says YES!!! , but its good for beginner point of view, thanks for the video
@overcadostudios
@overcadostudios Жыл бұрын
Thank you so much. I was looking for this exact topic and now I have an API I can use for my game studio. It's not breakfasts but the concept is exactly the same. It's definitely a good amount of work to get this much done and we haven't even talked about the database part or securing the endpoints. Looking forward to that.
@tgfhtgfh4309
@tgfhtgfh4309 2 жыл бұрын
Learning APIs from Tyson Fury himself! What a day!
@obinnailoanya8730
@obinnailoanya8730 2 жыл бұрын
Lmfao 😂😂😂😂😂😂😂
@sandipgupta4506
@sandipgupta4506 6 ай бұрын
I am new here .. And everything is just keep on going.... nothing is explained properly.... Most useful for experienced ones.
@ItsMePhoebe
@ItsMePhoebe 2 жыл бұрын
The timing on this is perfect, thank you!
@brcdube
@brcdube 2 жыл бұрын
.Net 6 and Spring Boot are my favourite backend frameworks
@fieryscorpion
@fieryscorpion 2 жыл бұрын
.NET is much more enjoyable to develop with compared to Java/ Spring tbh.
@kingofhiskingdom4616
@kingofhiskingdom4616 2 жыл бұрын
Congratulations on 6M subscribers . The family is getting bigger day after day 🌹😍😍
@DivyaGuda
@DivyaGuda 7 ай бұрын
Thank you so much for this tutorial. It was great creating my first api and i enjoyed it alot. The way you explained was very nice and on to the point.❤
@Artemisexe-gx4rt
@Artemisexe-gx4rt Жыл бұрын
I think it would have been helpful if he went over the extensions he had installed first, or at least listed them in the description, because his files have some code auto generated in them and it would have been helpful to be able to have a similar experience instead of cutting a pasting from the repo files each time.
@luanassis9842
@luanassis9842 Жыл бұрын
Agree
@robertguzman6462
@robertguzman6462 Жыл бұрын
Look for his youtube channel. He has already made a video dedicate to the extensions he uses
@ibrahim-SO
@ibrahim-SO Жыл бұрын
Reminder for 21:52: if you create a class named :Breakfast then name the class Breakfast, this can cause compiler error. I get the error and fixed by changing the class name
@私はBRです
@私はBRです 2 жыл бұрын
My congratulations to 6 million subscribers. Your channel is so cool🔥❤️
@seanmui8772
@seanmui8772 2 жыл бұрын
I've just seen real software engineering bare naked.. Thanks for the efforts to make this video.
@amantinband
@amantinband 2 жыл бұрын
Thanks, Sean 😊
@seanmui8772
@seanmui8772 2 жыл бұрын
@@amantinband Following you via your KZbin Channel.
@gabriel-torres3077
@gabriel-torres3077 2 жыл бұрын
What extensions do you use on vscode?
@LegitoTV
@LegitoTV 2 жыл бұрын
Thank you for another great video, can't wait to finish it!
@AveN7ers
@AveN7ers 2 жыл бұрын
It's a bit fast not gonna lie. I find myself pausing and rewinding every 5 seconds just to keep up. Either explain more what you're doing and why or label it as an intermediate/advanced course not a beginners course.
@hervinsonsamson1531
@hervinsonsamson1531 2 жыл бұрын
I agree
@ameykulkarni8165
@ameykulkarni8165 2 жыл бұрын
Absolutely true.
@christian.mar.garcia
@christian.mar.garcia 2 жыл бұрын
Well, the title says industry level, so I think that is not beginner level.
@AbdullahWins
@AbdullahWins 9 ай бұрын
people will complain even if it's free.😅 just slow down the video, take notes, research what you don't understand. this is how you self learn. and first of all, learn to appreciate what you get for free. 🙆🏻
@thewalrusdragon9579
@thewalrusdragon9579 8 ай бұрын
@@AbdullahWinsit’s a fair criticism of the lesson though. You think freeCodeCamp puts all this time putting these together but don’t care about the user feedback just because they provide it for free? They still make money off of site traffic and views, so they definitely care to make sure their target audience happy with their product. If it’s not “too fast” for you then great, that’s good for you, doesn’t mean you get to be the gatekeeper of criticism on their platform.
@bakihz7997
@bakihz7997 2 жыл бұрын
Great video. Although I can't follow your shortcuts. Which shortcuts do you use? Can you point me to where I can learn these shortcuts? Which extension?
@vasiliskarvelas5488
@vasiliskarvelas5488 2 жыл бұрын
Do you mean vim?
@NotAHomelessGamer
@NotAHomelessGamer Жыл бұрын
What template are we suppose to use for these projects in visual studio 2022? Why are you pasting the code for the api in a tutorial video for creating an api at 6:57?
@piertFB
@piertFB 2 жыл бұрын
dudes whats the name od that extension that autocomplete properties or constructors? :/ PD. I like this course
@digitalfragrant
@digitalfragrant 11 ай бұрын
it is autopilot I guess
@shockin95
@shockin95 10 ай бұрын
Well, I guess this one is more appropriated for those who are already familiar with high-typing languages like Java for example. I've been building a few RESTful apps in Java using Spring and it really shocked me how similar both syntaxes actually are.
@RealValkor
@RealValkor 9 ай бұрын
Same here, started learning java recently and it's shocking how similar it is to C# lol.
@n.o.s.e.-nostressenglish4556
@n.o.s.e.-nostressenglish4556 2 жыл бұрын
good, thanks! I need to learn REST API
@sharecodecamp
@sharecodecamp 2 жыл бұрын
Awesome work !.. 🥰🥰
@amantinband
@amantinband 2 жыл бұрын
Thanks! 🥰
@Roads_india
@Roads_india 2 жыл бұрын
Industry level. Thats what i need
@phunguyentrong722
@phunguyentrong722 2 жыл бұрын
best, hope someday php also have industry-level tutorials like this
@fieryscorpion
@fieryscorpion 2 жыл бұрын
.NET is much more enjoyable to develop with compared to PHP, Java, Python etc.
@name_less227
@name_less227 2 жыл бұрын
@@fieryscorpion .NET is a framework, not a language.
@CloudNey
@CloudNey 2 жыл бұрын
Amazing!!
@amantinband
@amantinband 2 жыл бұрын
Thanks, CloudNey!
@JuniorMayhe
@JuniorMayhe Жыл бұрын
Thanks for sharing this. My concern here is that you have developed a tightly coupled solution heavily dependent on your ErrorOr package. If there arises a need to remove or replace this package, it could impose a substantial workload on developers. Additionally, adding this package appears to complicate the solution, making it harder to maintain. It is essential to notify viewers at the beginning of the video that the solution presented relies entirely on a third-party package. 😓😓
@sebastianmedina5106
@sebastianmedina5106 Жыл бұрын
agree, It is sad to know that it did not conform to a standard and that we will not see a code like this outside.
@rsemihkoca
@rsemihkoca Жыл бұрын
24:04 how did you get that list of Unwrap arguments etc ?
@mikicerise6250
@mikicerise6250 Жыл бұрын
You say the sexiest "yes" I've ever heard. It's practically ASMR. 😂
@ildefonsocastro5219
@ildefonsocastro5219 2 жыл бұрын
Love the video i just encounter a problem, when trying 18:10 request i get "HTTP/1.1 500 Internal Server Error" why could it be?
@weizhao7896
@weizhao7896 2 жыл бұрын
me too, but i get an error 404...
@rayankhan12
@rayankhan12 2 жыл бұрын
I really want to follow this course but it doesn't mention the prerequisites (which every course should) so as a beginner to programming, I don't want to waste my time watching something I don't understand :)
@amantinband
@amantinband 2 жыл бұрын
Ooh, that's great feedback. Thanks, Rayan! Tech prerequisites: C#/.NET, JSON, HTTP, client-server communication Software prerequistes: .NET 6 SDK, VSCode I have a tutorial for setting VSCode similar to what I have in the video: kzbin.info/www/bejne/o2qrp6Z4ZpKbd9E
@bakihz7997
@bakihz7997 2 жыл бұрын
@@amantinband Thank you so much
@sohammahi7621
@sohammahi7621 2 жыл бұрын
Very Good Knowledge
@amantinband
@amantinband 2 жыл бұрын
Thanks, Soham 🙏
@dhanviakash726
@dhanviakash726 2 жыл бұрын
Can I know from where can I learn .net for web development in vs code not visual studio, because my lapy does not support visual studio
@loryteck
@loryteck Жыл бұрын
Sacrificing a lot of readability over some fancy sophisticate code, which make sense to people who use c# for a long time(maybe) but not for begginers or even intermediate developers, sometimes the best code is the way the whole team write code, not because you wrote 5 lines less is better. Just my opinion, discovered a lot of thing that I didn't know about but after all not sure I will implement them, as took me time to understand them while I want my code to be understood in 5 seconds when you read it.
@andtv1992
@andtv1992 Жыл бұрын
Do you how to use that syntax? VSCode highlights all the code as error when I use that syntax and I haven't found a way to fix it. Am I missing any extension or something?
@Hemecan.
@Hemecan. 2 жыл бұрын
Hello from Turkey 🇹🇷
@Omerfr31
@Omerfr31 2 жыл бұрын
Great tutorial!
@faris.abuali
@faris.abuali Жыл бұрын
Much informative! Thanks
@Furki4_4
@Furki4_4 2 жыл бұрын
I love you freeCodeCamp, just... just wanted to say that 😊
@IcedCupcakes
@IcedCupcakes Жыл бұрын
Not for complete beginner programmers but for C# and .NET beginners with other programming experience. I have frontend experience and I'm pausing a lot to google stuff lol
@mariadelosangeleshernandez2698
@mariadelosangeleshernandez2698 2 жыл бұрын
Thank you, it works perfect!
@ofio
@ofio Жыл бұрын
Do yourself a favor and put playback speed back to normal @ 0.75.
@tika8134
@tika8134 2 жыл бұрын
33:00 I failed in upserting and deleting. I have used NoContent(), but the status is still 200 not 204. And when I get the same id, the data is still not updated. Kindly need your help. Many thanks!
@bijianwu5124
@bijianwu5124 Жыл бұрын
simply amazing! thanks for it
@suzanahmedgalal4149
@suzanahmedgalal4149 2 жыл бұрын
0:50 There's 'f' missing in the header of the video
@rohan-san8148
@rohan-san8148 6 ай бұрын
thank you so much for this tutorial. can you make a tutorial, about how can we undo and redo the deleted and updated function in c# .net.
@dylan-j-gerrits
@dylan-j-gerrits 2 жыл бұрын
The video is good, but it lacks of explanation about why and what you are doing something.
@invictuz4803
@invictuz4803 2 жыл бұрын
I know it's not important but I really don't get the use case of this app. Private breakfast events?
@ruslanlevkov7484
@ruslanlevkov7484 2 жыл бұрын
What terminal do you use? Please share the settings for it.
@bobsort
@bobsort 2 жыл бұрын
With windows 95, everyone was so excited that they don't have to stare into a black screen of text and don't have to write an entire line of commands to do a simple task like openning an editor. These days, seems developers are going retro all the way, and like to type in every command to do things that you can do with just a right click or a keyboard shortcut. Also I wouldn't suggest surrounding blocks of code with braces unless it is really necessary, you are teaching a thing to new developers that will cause days of headache for seniors to debug. As for data store, when I teach juniors, I always put the data in a different class that does the crud internally (DAL concept), then call methods of that class instead to avoid distracting them from what actually are trying to learn. (your storage is inside your service code
@oziousmegasus9201
@oziousmegasus9201 2 жыл бұрын
personally, knowing how buttons of IDEs do the works is nessesary. Juniors then can use IDEs without questioning what lays under the hood. Furthermore, devs should know how to use terminal.
@raykoone
@raykoone 2 жыл бұрын
For me MatchFirst() accepts a single error, not a List, thus not matching the Problem() arguments you have in your example. What am I missing?
@sydguitar99
@sydguitar99 Жыл бұрын
So what program is he using when creating the project and solution?
@justinallen3037
@justinallen3037 Жыл бұрын
Command line
@adelajami8731
@adelajami8731 Жыл бұрын
Thanks a lot for the valuable information, it is really nice. i would say as i am coming from php Laravel background, Laravel is more advanced in terms of how it is ready to handle and map the request using FormRequest Class for data validation, data rules, and check user authorization, same goes for handling RestFul results, for instance, 404 error, Laravel ORM Eloquent has findOrFail() to return 404 directly. Thanks again and looking forward to a new video. Happy to do joint video to compare between asp and laravel
@felixliles9389
@felixliles9389 7 ай бұрын
Well done
@TheStringBreaker
@TheStringBreaker 2 жыл бұрын
*Phenomenal video!*
@davidhoong3817
@davidhoong3817 2 жыл бұрын
what's your used extension for IntelliSens ecode completion? It is pretty cool! I want it.
@sreejithshaji6542
@sreejithshaji6542 2 жыл бұрын
did u got it ??
@MrCalletennis
@MrCalletennis 7 ай бұрын
Where is the definition of the api that just randomly gets pasted out of nowhere?
@dtnguyen75
@dtnguyen75 10 ай бұрын
How do you get the PowerShell commandline to show the .NET core version?
@aalbero
@aalbero 2 жыл бұрын
This video was amazing, I learned so much, thank you! I have one question regarding the From factory methods. Are they breaking the "correct" dependency direction? where your Model only needs to know about itself? These seem very handy as you reuse code of creating a breakfast form a request. But now your Model needs to know about the Create and Upsert request records. And if you keep adding more types to create a breakfast from, your model needs to keep adding factory methods and have dependencies on all those external types. Could that be a problem? If so, what coudl be a solution to it?
@dev0_018
@dev0_018 2 жыл бұрын
very well explained, thax for sharing
@Roy-h2q
@Roy-h2q 10 ай бұрын
I'm starting to learn C# , does anyone what is the IDE for the Models that auto fill in the getter and setter?
@nesa6582
@nesa6582 Жыл бұрын
So if i was doing some project following this architecture and i was to implement Ef core, i would install it in BBF.Contracts folder??????
@virajkerkar
@virajkerkar 4 ай бұрын
which tool do you use to show the flow?
@XeronosKuro
@XeronosKuro 2 жыл бұрын
So I am having several issues trying to get the test ID to respond on the Upsert, Get, and Delete breakfast http pages It's giving me a 405 method not allowed error message after i click on Send Request. Am I using the wrong localport, or is there an actual setting that I've overlooked?
@matheusdeandrade6135
@matheusdeandrade6135 2 жыл бұрын
Did you solve it ?
@mau9175
@mau9175 2 жыл бұрын
my vscode doesnt add namespaces automatically as yours. why is that? tried a lot of related stuff i found on internet and nothing worked =/
@sravanthipulakhandam-l3h
@sravanthipulakhandam-l3h Жыл бұрын
Very good content, I have a question- why design patterns not implemented
@fieryscorpion
@fieryscorpion 2 жыл бұрын
Amazing content. Thanks!
@Duelweb
@Duelweb 2 жыл бұрын
Great video !! Thank you!!
@quachhengtony7651
@quachhengtony7651 Жыл бұрын
Haha love the "....yes"
@ajbali
@ajbali 2 жыл бұрын
What code completion extension are you using? It is so cool!
@sreejithshaji6542
@sreejithshaji6542 2 жыл бұрын
u find it ?
@automationguy5600
@automationguy5600 2 жыл бұрын
downloaded, it worked, the author ty
@rdothl5
@rdothl5 Жыл бұрын
Couldnt you just save statusCode number to Error class along with its string representation?
@shanthi22820
@shanthi22820 Жыл бұрын
I am getting 404 on CreateBreakfast request, please help
@bernardoapelt
@bernardoapelt Жыл бұрын
Amazing!!!, thank a lot
@pranavtallewar6551
@pranavtallewar6551 Жыл бұрын
How do you write unit test for controllers written?
@ToMontrond
@ToMontrond Жыл бұрын
Thank you for sharing your knowledge. I have one question - why did you create a new entity (breakfast) using the PUT method?
@sbortizp
@sbortizp 2 ай бұрын
what is this awesome auto-code completion extension!!! I need it :) thank you in advance
@StemLG
@StemLG 2 жыл бұрын
this just makes me appreciate express js more
@FakeAssHandsomeMcGee_
@FakeAssHandsomeMcGee_ 2 жыл бұрын
Same here lmao. It is a whole process to do the same thing in the end.
@obinnaokafor6252
@obinnaokafor6252 2 жыл бұрын
Except the performance and robustness of the underlining platform
@timalk2097
@timalk2097 Жыл бұрын
@@obinnaokafor6252 cope, "performance" isn't that significant for tiny apps such as the one in the video and it's 2023 : nodejs is no longer as slow as it used to be.
@thatcipher
@thatcipher Жыл бұрын
Totally offtopic and dont know if its already asked here But how do you setup the terminal like that?
@shoebsd31
@shoebsd31 2 жыл бұрын
are you using Github Co-pilot for the intellisense ? or is it some extension ?
@exodia1181
@exodia1181 2 жыл бұрын
I was wondering the same thing.
@liordagan5098
@liordagan5098 2 жыл бұрын
GitHub copilot 👍🏼 he has a vid on his channel explaining all his vscode setup where he talks about it
@ArmoFreekickerz
@ArmoFreekickerz Жыл бұрын
which terminal is he using ? looks really nice
@edjogu
@edjogu 2 жыл бұрын
Maravilloso!!!! One question, in which application did you make the Backend Service Architecture diagram? Thanks :)
@mr.bezlimix3207
@mr.bezlimix3207 9 ай бұрын
bro, u best
@drakata27
@drakata27 2 ай бұрын
ErrorOr package doesnt work with .net 8
@GermansLikeBeer
@GermansLikeBeer 8 ай бұрын
This tutorial is terrible. I can't follow anything after about 16 minutes because it won't build. It has 7 different errors, and there's no contingency for this in the video. I've followed along and done everything exactly as the video described and nothing's working.
@brijeshmorya9737
@brijeshmorya9737 2 жыл бұрын
Good content
@amantinband
@amantinband 2 жыл бұрын
Thanks, Brijesh 🤙
@keshav.mishra
@keshav.mishra 2 жыл бұрын
Pleasure that we have freecode camp xD
@alexanlp
@alexanlp 2 жыл бұрын
Simple and objetive. Which extension you used to auto complete the code?
@aalbero
@aalbero 2 жыл бұрын
I believe it's GitHub copilot
@alexanlp
@alexanlp 2 жыл бұрын
@@aalbero really, have a robot int the footer of vs code
@AveN7ers
@AveN7ers 2 жыл бұрын
Visual Studio 2022 has that feature interestingly
@DKHStudios
@DKHStudios 2 жыл бұрын
What do you use for code completion?
@marcoitalia97
@marcoitalia97 2 жыл бұрын
Thanks mate. 💌
@Michael-it2jz
@Michael-it2jz 2 жыл бұрын
Can anyone help me understand the naming choice of the "requestToBreakfastResult" variable?
@Spirittism
@Spirittism 2 жыл бұрын
Why do you use Visual studio code instead of VS2022?
@HelloWorld-th9vb
@HelloWorld-th9vb 2 жыл бұрын
Vs code is faster than vstudio
@prabuddhadas935
@prabuddhadas935 4 ай бұрын
strange my controller file wasn't created
@YBXtreminal
@YBXtreminal 2 жыл бұрын
יוחאי ימלך
@mohsinafzal3852
@mohsinafzal3852 2 жыл бұрын
After watching 15 minutes i am like.. kehna kya chahte ho.. however it's a good work sir but should be more descriptive.. especially for shortcuts
APIs for Beginners - How to use an API (Full Course / Tutorial)
2:19:33
freeCodeCamp.org
Рет қаралды 4,5 МЛН
ASP.NET 8 REST API Tutorial - The "Sweet Spot" Architecture
11:30
Amichai Mantinband
Рет қаралды 24 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
ASP.NET Core Full Course For Beginners
3:43:18
Julio Casal
Рет қаралды 567 М.
ASP.NET Core 8 Web API in Clean architecture from scratch
2:12:25
Fullstack Dev
Рет қаралды 35 М.
Advanced C# - LINQ Tutorial
3:07:24
freeCodeCamp.org
Рет қаралды 174 М.
REST API Crash Course - Introduction + Full Python API Tutorial
51:57
RESTful API with .NET Core (.NET 7) - Full Course for Beginners
2:32:39
DotNetMastery
Рет қаралды 206 М.
APIs for Beginners - How to use an API (Full Course / Tutorial)
3:07:07
freeCodeCamp.org
Рет қаралды 3,1 МЛН
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,6 МЛН
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 317 М.
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
freeCodeCamp.org
Рет қаралды 1,6 МЛН
167. Should I Create A Minimal API Or Full API?
7:40
IAmTimCorey
Рет қаралды 41 М.
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19