Building Web APIs with ASP.NET 7

Kista May 24, 2023, 9:00 AM - 5:00 PM

Chris Woodruff

Team Leader, Engineering at Rocket Homes

Web APIs drive the most popular and powerful Web and mobile apps—making the developer who can build a robust web API a developer that's in demand. Get started creating your own with ASP.NET 7, the open-source framework for Windows, macOS, and Linux.

First, learn about attribute routing, the preferred method of handling HTTP requests in ASP.NET 7. Then learn how to set up controllers, connect them to the data model, set up validation for incoming requests, and configure HTTP responses. Chris Woodruff also shows how to implement CRUD operations on the SQL database server where the data is stored. An advanced development section 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. Demonstrations 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.

Get inspiration & news from us

I agree that Cornerstone will send me news via e-mail