First, learn about attribute routing, the preferred method of handling HTTP requests in ASP.NET Core 2. Then learn how to set up controllers, connect them to the data model, set up validation for incoming requests, and configure HTTP responses. Instructor Chris Woodruff also shows how to implement CRUD operations on the cloud-based Azure SQL Server where the data is stored. An advanced development chapter provides insights on using a repository layer and dependency injection to make your API more abstract, and testing projects with tools such as MSTest and xUnit. Chapters on optimization and caching show how to improve the performance of your APIs.
Follow along with Chris to learn all these concepts and more, and complete the web API shown in the course: an ecommerce engine for creating and viewing customer orders and assigning orders to sales reps.
- Setting up the database on Azure
- Creating and setting up your Web API project
- Configuring Entity Framework
- Modeling binding and validation
- Inspecting and optimizing your API performance
- Using the repository pattern
- Testing the web API
- Deploying the web API on Azure
- Caching data
Skill Level Intermediate
- [Chris] Hi I'm Chris Woodruff, but everyone calls me Woody. And I've been designing and developing enterprise web APIs for over four years. Web APIs connect the modern internet and drive both web applications and mobile apps. The skill of creating robust web APIs that other developers can consume is in high demand. In this course, we'll be developing web APIs for an imaginary company called H Plus Sports. We're going to be developing this API with ASP.NET Core 2.0.
Just so you know, this is an open-source, cross platform framework for Windows, Mac OS, and Linux. During this course, we're going to be setting up the new Web API project. We're going to implement CRUD operations to connect the APIs to an Azure SQL database in the cloud. Our Web APIs will allow full access to business data, including viewing customer orders, creating new orders, and assigning those orders to a sales person. I'm super excited to share this information with you.
So, let's get started.