Walk through an overview of the project we'll be building in this course and learn how to properly use the exercise files.
- [Instructor] This course comes with exercise files that, throughout the course, we'll be adding to in order to create a real Web API. The API we'll create is for the Explore California brand, a fictitious tourism brand for the State of California. Once you've downloaded the exercise file, unzipped it and opened it up, you'll see three items inside. The first is a .bak file, which is a SQL Server database backup. This particular file is a backup of a SQL Server 2016 Express LocalDB database, but it's compatible with other versions of SQL Server as well.
By the way, LocalDB, it's a free DBMS that comes with Visual Studio, but you can also use SQL Server Developer Edition, which is a free and fully functional version of SQL Server that runs on Windows. You're free to use it for all development purposes as long as you don't use it in any production environments. The next thing you'll see in the folder is a begin folder. This is the beginning point of the exercise files for the current video. I recommend downloading the code for each video. For some videos, I've added additional code files for you after the end of the previous video to help save you some time.
I'll call this out whenever it occurs. Once you've completed all the work in a video, your version of the project should now look a lot like the version of the project in the end folder that you downloaded. If you get stuck with anything along the way, you can always pause the video and look ahead at the solution in this version of the project to see how it's done and how it fits into the context of the entire application. To be able to compile and run the web project, you'll need to install at least the free Community Edition of Visual Studio 2017.
You can also use one of the paid versions of Visual Studio 2017, such as Professional or Enterprise. There are several popular tools that you can use to test APIs, but I'll be using a tool called Postman to test the endpoints in this course. If you'd like to follow along with the same tool, you can download a free copy from getpostman.com.
- Convention-based routing
- Binding your code to an HTTP request
- Validating models
- Using attributes to route requests
- Customizing attribute routes
- Data serialization and model binding
- Error handling
- Using exception filters and exception loggers
- API documentation and testing
- Securing your API