Speaker: David Berry

Level: 300

APIs have become one of the most important components of modern application design. Yet most articles and tutorials on how to build APIs show code that looks much more like “exampleware” rather than well designed, enterprise-ready software. In this talk, we’ll move past the oversimplified examples and show the patterns and practices that go into building a sustainable, extensible API that is highly functional and easy to consume. We’ll start off by discussing how to effectively apply REST principles when creating the URLs for your APIs endpoints. We’ll then how to use view models to control the shape of the data into and out of your API and how to make decisions about what you to include in the payload for each endpoint. We’ll discuss how to keep your controllers clean by breaking out your business logic into separate classes. And then we’ll wrap up by discussing the facilities ASP.NET Core provides for versioning your API and how you can leverage these in your API. When we are finished, you will be ready to leave exampleware behind and begin building your own Enterprise Grade APIs.