3 RESTful principles and guidelines
This chapter covers
- Reviewing the six REST guiding constraints
- Setting up and configuring CORS and caching techniques in ASP.NET Core
- Understanding the role of reverse proxies and CDN services
- Implementing code on demand with a use-case example
- Adopting a uniform interface with HATEOAS capabilities
- Adding API documentation and versioning with Swagger/OpenAPI
Now that we have a minimal web API boilerplate up and running, we’re ready to review the representational state transfer (REST) properties and constraints briefly introduced in chapter 1 and see how they can be implemented in ASP.NET Core. Specifically, we’ll add some built-in and third-party services and middleware to our existing MyBGList project to ...
Get Building Web APIs with ASP.NET Core now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.