Workshop: Building Web APIs with ASP.NET 6 with Chris Woodruff
Kista May 18, 2022, 9:00 AM - 5:00 PM
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 6, the open-source framework for Windows, macOS, and Linux.
First, learn about attribute routing, the preferred method of handling HTTP requests in ASP.NET 5. 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.
Strongly recommended that you have some knowledge of the following:
• C# and .NET Core or .NET Framework
• Entity Framework
• Microsoft SQL Server
• ASP.NET MVC
You will need the following software installed on your machine.
• Your favorite .NET IDE
• .NET and ASP.NET 6
• Microsoft SQL Server or Windows Azure or AWS account for MSSQL
• An HTTP debugging tool like Fiddler or Postman