Create Your First Web API Using Visual Studio With C# Beginners Guide
HTML-код
- Опубликовано: 13 июн 2024
- Watch the updated video here: links.thedevlife.co/youtube/w...
Important links
INSTAGRAM: links.thedevlife.co/instagram...
DISCORD: links.thedevlife.co/discord/t...
FACEBOOK: links.thedevlife.co/facebook/...
Learn how to create your first Web API project using ASP.NET in Visual Studio 2019. In this easy-to-follow video, we show how easily you can create your first RESTful API using Visual Studio with C#, taking advantage of .NET Core 3.1
0:00 Introduction
0:07 Install Visual Studio 2019
1:09 Create Visual Studio Project
3:30 Add Controller(s) in ASP.NET Project
4:09 Create Controller Action in ASP.NET Project
5:05 How Routing Works in ASP.NET
6:54 How to Manage Nuget Packages
8:42 How to Install Postman
9:09 How to Use Postman to Test
10:40 How to Use a Self-Signed Certificate with Postman
11:35 How to Make an HTTP Post Request using Postman
12:29 How to Accept JSON in your ASP.NET API
13:49 Conclusion
Music Credit to Pink Skies / user-363995690
#thedevlife #webapi #aspnet #netcore #restapi #rest #restful Наука
You might also be interested in learning the top reasons why self-taught developers fail -> ruclips.net/video/-_OQ8h9ts80/видео.htmlsi=9AZSIkZckVszMfCA
Thank you, man, this was a painless 30 minutes compared to a paifull 2 days of research prior to this. I can now get on with the project.
You are welcome. I’m glad the video helped you out. 👍
Thank you bro for this quick, short, easy to follow introduction which gives me a good idea about creating API. Keeeep going man.
Thank you, I appreciate the feedback. 🙏
Thank you, man, the best tutorial I've seen so far.
I appreciate it
Thank you so much... After wasting lot of my time finally got perfect video ...
I’m glad I was able to help.
I am really finding it useful and am able to learn C# really well
that's great. Keeps us motivated to create more content.
Thank you!! Painless and works.
I’m glad it worked for you.
Good video
In the future I think you can skip downloading visual studio since using API’s is already a more advance topic, so I think it’s safe to assume each person watching this video has visual studio downloaded
When I created the video I was debating whether that would make the video longer without adding any value. Thank you for your feedback.
thank you for this! it makes the understanding easier!
Thanks for letting me know, that motivates me to keep making more videos.
good work, very clear and concise. Thanks!
I’m glad you found this helpful.
Hahahha You had me on "Thanks for watching". That was original😂
Thanks Bro! It is a good video, I hope you can upload a video with a basic CRUD and a route as it you told us.
I’m planning to release that in the next week or two.
I learned more from your video than 4 hours of googling APIs
🙏🙏 thank you, you just made my day :)
thx, it is useful, i from Taiwan.
You mentioned that you may create a video that connects to a database. Has such a video been made using MS SQL Server? thanks.
Yes, here is the link to that video: ruclips.net/video/VtaBalFQcso/видео.html
Good and easy to follow, Thanks, one more thing, where one world is that very nice Desktop background?
its looks so easy how i see ;-; i learning my self 1.5 months and.. really see progress to understanding many things wow, its so cool!
It’s awesome that you are making progress. I love hearing that b
It’s awesome you are making progress. I like hearing that b
Cant believe the way you are perfect
Nice video. Looking forward to more API and backend related videos.
Thank you. We’ll be working on those 👍
Like the background music!
Thank you. The video quality should be higher so we can zoom in.
poggers tutorial broski
mine is not showing the controller folders. is this somthing i need to create? I cant even see it to click on it
Good one!. I would like to see to create Web API with basic Auth. If you can refer any video like, really appreciate
Good video 👍🏻
Thank you.
Thank you i did very good job!!!
I’m glad you liked the video.
Thank a lot. It's easy to understand. Please help me with this kind of short videos which is easy to follow and learn. God bless you.
Hi you have mentioned that we have to use api/hello. But controller name is api/HelloController right. How it is working with just api/hello. Kindly help me to understand. Thanks in advance.
That is part of the convention used in .NET. It automatically uses the word(s) before controller.
@@thedevlife Thanks :). how to understand and get the correct controller name.
This was a good tutorial, but it didn't work for me. I don't even have an Error. When i press "Send" nothing happens
I might be missing an installation but I don’t have the option to create a ‘ASP.NET Core Web Application’ when I create a new project
You might need to modify your visual studio installation.
It might be renamed to ASP.NET Core Web API. Choose that one. Basically any ASP.NET web application will do
It's probably just called ASP.NET Core Web Api
Hello thanks for the video. Very good. I have a question. How Can I deploy this kind of app in IIS Server?
Apologies for the late reply. Once you are ready you can deploy your API project/solution and you can copy and paste the files to the application you created in IIS.
Hallo, when I try to ‘run’ the weather application without Chaning anything it asks me: dontnets wants to enter key “…..” in your keychain. But where can I find this password?
idk why i always have this, i followed it and instantly at the start when searching for "web" I get a bit different things and once I click on the most upper one because that's the closest one I get different files. I don't get controllers, I get Pages and some other scripts...
Edit: I figured out how to make it work. Ty for the video!
You are welcome
great video
Thank you
Awesome
Thank you 🙏 the new 2021 version will be out soon with database connections.
Cool
What is postman for?
Thanks alot, this is truly for beginners like me :)
I’m glad it helped.
@@thedevlife do you have any more videos about post method to SQL server? the API will get any values from sensor and insert the values to database
@@hdwzidane watch my API series, there is a video where I show how to do CRUD
@@iamchesco thanks alot.
i dont see the weather api, could it be only on community?
Did you choose minimal API when creating the project?
mine didn't come with the controllers folder. I don't know what to do
Things have changed a bit, try again and notice a checkbox that says minimal apis. You don’t want minimal APIs.
@@thedevlife that doesn’t even show up as an option for me lol.
My visual studio version is 2019 if that helps
Me watching this and had no idea whats going on ...but i still watching this because i want to become dev someday and start studying com sci nxt year...
Nice!! Keep working at it.
jesus christ i understood the basic api in 14 minutes
I’m glad you found the video helpful 🙏
Shout up
Except for that "DAD" joke @ 3:24, this was a good video.
ha ha ....
Just trying to be funny LOL
@@thedevlife
Can you create a video to demonstrate creating an RESTful API using "Web Application (Model-View-Controller)" and Swagger?
That was the best part lol
To do 'Web_API Trial!,
It's time to hack pentagon 😎
This doesnt work for me, I put the api/hello in and cannot find the page.
Also my ASP project did not start with a weatherForecast.cs
Which version of Visual Studio are you running?
lose the music... good video other wise.