From the course: Building and Securing Restful APIs in .NET

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Creating the API project

Creating the API project

- [Instructor] We've cloned our repository down to the local machine. I'm going to go into a new terminal here, and we are in branch chapter one, movie two, the B meaning we're at the beginning, or the start state, for the first chapter and the first movie. When we get done, all the work that we do, you're going to find in branch chapter one, movie two of the Git repository. So for each of these movies, you'll find both the beginning and end state. We want to create a new web API in my folder here in the repo, so I'm going to .NET command line tool here, new, and then I have to give it a template, so that'll be web API, and I'm going to tell it I want to use controllers rather than a controller list model, and I'm going to give it a name. I'm going to call it LinkedIn Learning time tracking. So that's going to use the .NET SDK that we've got installed. It's going to go out and create me a new web API, and we can see here, I've got a new folder. I've got controllers underneath there…

Contents