From the course: Building Web APIs with ASP.NET Core 8
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
"Hello World," API style
From the course: Building Web APIs with ASP.NET Core 8
"Hello World," API style
- [Lecturer] Without any further ado, let's create our first web API with .NET, using Visual Studio. I have it installed right here. And then go to File, New, and then Project. That brings up the same wizard that you get when you use the pop-up window that shows up when you launch Visual Studio and say that you would like to create a new project. Here we go. On the left we see the project templates I've been recently been using. And you see quite a bit, I did quite some work. And on the right you get a complete list that you can filter. So for instance, all project types, there is API and there is Web API. And what you see here depends a little bit also on which versions of the .NET SDK you have installed. But basically when you filter for Web API or API, you will get a couple of templates, and the first one and the last one, they look very, very similar. Yes, there's one difference. The first one is C# and number three is F#. So you can also filter by language. And in the end, you…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.